LIMS Printer Troubleshooting Guide¶
Category: Healthcare IT & Troubleshooting Tags: LIMS, printer, troubleshooting, QZ-tray, Windows, healthcare
Printer User-Specific Issues¶
Issue 1: Printer Only Works When Specific User Logged In¶
Check Device Manager¶
- Press
Windows + R - Type
devmgmt.mscand press Enter - Expand "Printers" or "Print queues"
- Right-click your problem printer → "Properties"
- Click "Driver" tab
- Look at driver file path - if it contains a username folder, it's user-specific
Check Printer Properties & Permissions¶
- Press
Windows + R - Type
control printersand press Enter - Right-click your problem printer → "Properties"
- Click "Security" tab
- Check if "Everyone" has "Print" permissions
- If not: Click "Add" → type "Everyone" → "Check Names" → OK → check "Print" box
Check Print Spooler Service¶
- Press
Windows + R - Type
services.mscand press Enter - Find "Print Spooler" → Right-click → "Properties"
- "Log On" tab → make sure "Local System account" is selected
- Click "Apply" if you changed anything
Check Registry (Advanced)¶
- Press
Windows + R - Type
regeditand press Enter - Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers - Look for your printer - if it's here, it's system-wide
- Also check:
HKEY_CURRENT_USER\Printers- if only here, it's user-specific
Check Printer Sharing¶
- Press
Windows + R - Type
control printersand press Enter - Right-click problem printer → "Properties"
- Click "Sharing" tab
- Check "Share this printer" box
- Give it a simple share name (no spaces or special characters)
Check LIMS Service Account Permissions¶
- Press
Windows + R - Type
services.mscand press Enter - Find your LIMS service → Right-click → "Properties"
- Note the account it runs under ("Log On" tab)
- Go back to printer properties → "Security" tab
- Add that service account with "Print" permissions
Issue 2: QZ Tray Intermittent Printing (Random Success/Failure)¶
Check QZ Tray Status¶
- Look for QZ Tray icon in system tray (bottom-right corner)
- If not visible, click small up arrow to show hidden icons
- Right-click QZ Tray icon → "About" to check if running properly
- Note version number
- If not running: Start Menu → find QZ Tray → launch it
Restart QZ Tray Service¶
- Right-click QZ Tray icon → "Exit" or "Quit"
- Press
Windows + R - Type
services.mscand press Enter - Look for "QZ Tray" service (if installed as service)
- Right-click → "Restart"
- If no service, manually restart from Start Menu
Check Windows Firewall¶
- Press
Windows + R - Type
firewall.cpland press Enter - Click "Allow a program or feature through Windows Defender Firewall"
- Find QZ Tray in the list, make sure both "Private" and "Public" boxes are checked
- If not listed: Click "Allow another app" → "Browse" → navigate to QZ Tray installation folder
- Also check for "Java" entries and ensure they're allowed
Clear Print Queue¶
- Press
Windows + R - Type
control printersand press Enter - Double-click your label printer to open queue
- If jobs are stuck: Click "Printer" menu → "Cancel All Documents"
- Close queue window
Test QZ Tray Connection¶
- Open any web browser
- Type in address bar:
localhost:8181(or trylocalhost:8182) - Should show QZ Tray demo page
- Click "Print Test" button to test printer response
- If page doesn't load, QZ Tray isn't communicating properly
Check QZ Tray Logs¶
- Press
Windows + R - Type
%appdata%and press Enter - Look for "qz" folder → open it → open "logs" folder
- Open the most recent log file with Notepad
- Look for errors related to certificates, WebSocket connections, or printer communication
Check Certificates (Common QZ Issue)¶
- Open QZ Tray demo page:
localhost:8181 - Look for certificate warnings in browser
- If certificate errors: Close QZ Tray completely
- Delete certificate files (usually in QZ Tray installation folder)
- Restart QZ Tray - it will regenerate certificates
Advanced Print Queue Reset¶
- Press
Windows + R - Type
services.mscand press Enter - Find "Print Spooler" → Right-click → "Stop"
- Press
Windows + R - Type
%windir%\System32\spool\PRINTERSand press Enter - Delete all files in this folder
- Go back to Services → Right-click "Print Spooler" → "Start"
Check Network Printer Connection (if applicable)¶
- Press
Windows + R - Type
cmdand press Enter - Type:
ping [printer-ip-address]and press Enter - Should get replies - if timeouts, network issue
- Also try:
telnet [printer-ip-address] 9100(common printer port)
LIMS-Specific Checks¶
- Open LIMS software
- Go to printer/label settings (location varies by LIMS)
- Verify correct printer is selected as default
- Check if there's a "Test Print" option in LIMS
- Try printing directly from LIMS vs through browser
- Check LIMS logs for print job errors
Browser-Specific Troubleshooting¶
- Try different browsers (Chrome, Firefox, Edge)
- Clear browser cache and cookies for LIMS site
- Disable browser extensions temporarily
- Check if browser is blocking WebSocket connections
- Add LIMS site to trusted sites if using Internet Explorer/Edge
Port and Communication Check¶
- Press
Windows + R - Type
cmdand press Enter - Type:
netstat -an | find "8181"and press Enter - Should show QZ Tray listening on port 8181
- If not, QZ Tray isn't running properly or port is blocked
Reinstall QZ Tray (Last Resort)¶
- Download latest QZ Tray from official site
- Close QZ Tray completely
- Uninstall current version from Control Panel
- Delete remaining QZ Tray folders
- Install new version as Administrator
- Reconfigure printer settings in LIMS
Advanced Troubleshooting Scenarios¶
Multiple QZ Tray Instances Running¶
- Press
Ctrl + Shift + Escto open Task Manager - Click "Details" tab
- Look for multiple "java.exe" processes or "qz-tray.exe"
- End all QZ Tray related processes
- Restart QZ Tray once
Java Version Conflicts (QZ Tray uses Java)¶
- Press
Windows + R - Type
cmdand press Enter - Type
java -versionand press Enter - Note Java version (QZ Tray requires specific Java versions)
- If wrong version, update Java or reinstall QZ Tray with bundled Java
Windows Updates Breaking Printer Drivers¶
- Press
Windows + R - Type
appwiz.cpland press Enter - Click "View installed updates"
- Look for recent Windows updates around the time printing stopped working
- Try uninstalling recent printer-related updates
- Reinstall printer drivers after
Antivirus Blocking QZ Tray¶
- Open your antivirus software
- Look for "Quarantine" or "Blocked items"
- Check if QZ Tray files were quarantined
- Add QZ Tray installation folder to antivirus exclusions
- Restore quarantined files and restart QZ Tray
Group Policy Restrictions¶
- Press
Windows + R - Type
gpedit.mscand press Enter (if available) - Navigate to: Computer Configuration → Administrative Templates → Printers
- Check for policies restricting printer installation or usage
- Also check: User Configuration → Administrative Templates → Control Panel → Printers
USB vs Network Printer Port Switching¶
- Press
Windows + R - Type
control printersand press Enter - Right-click printer → "Properties"
- Click "Ports" tab
- Note if port changed (USB001 vs IP address vs LPT)
- Select correct port or add new port if needed
Printer Going to Sleep/Offline Mode¶
- Press
Windows + R - Type
control printersand press Enter - Right-click printer → "Properties"
- Click "Advanced" tab
- Uncheck "Enable bidirectional support" if checked
- Check printer's network settings for sleep/power saving modes
IP Address Changes (Network Printers)¶
- Press
Windows + R - Type
control printersand press Enter - Right-click network printer → "Properties"
- Click "Ports" tab → "Configure Port"
- Verify IP address matches printer's actual IP
- Print network config page from printer to confirm IP
Browser Popup Blockers Interfering¶
- Open browser settings
- Find "Pop-ups and redirects" or "Notifications"
- Add LIMS website to allowed sites
- Also check browser extensions that might block content
- Try browser in incognito/private mode to test
Certificate Expiration Issues¶
- Open QZ Tray demo:
localhost:8181 - Check browser developer tools (F12) for certificate errors
- Look at certificate expiration date
- Press
Windows + R - Type
%appdata%\qzand press Enter - Delete "auth" folder to regenerate certificates
Multiple Users Printing Simultaneously¶
- Press
Windows + R - Type
control printersand press Enter - Right-click printer → "Properties"
- Click "Advanced" tab
- Set "Priority" to higher number for important users
- Enable "Print spooled documents first" option
Terminal Services/Remote Desktop Issues¶
- Check if printing works locally vs through RDP
- Press
Windows + R - Type
gpedit.mscand press Enter - Navigate to: Computer Configuration → Administrative Templates → Windows Components → Remote Desktop Services
- Check printer redirection policies
- May need to install printer drivers on RDP server
Label Stock/Size Mismatch¶
- Press
Windows + R - Type
control printersand press Enter - Right-click label printer → "Printing Preferences"
- Check paper size settings match actual label stock
- Verify print density/darkness settings
- Check if printer needs calibration
Time Synchronization Issues¶
- Press
Windows + R - Type
timedate.cpland press Enter - Click "Internet Time" tab → "Change settings"
- Ensure time sync is enabled and working
- LIMS and QZ Tray may fail if system time is wrong
LIMS Database Connection Issues¶
- Check LIMS logs for database connection errors
- Printing may fail if LIMS can't access printer configuration data
- Test LIMS connectivity to database server
- Check if print job records are being created in LIMS database
Thermal Printer Head Issues (Hardware)¶
- Print self-test page directly from printer (usually hold feed button)
- Check for faded areas, streaks, or missing lines
- Clean printer head with alcohol and cotton swab
- Replace printer head if cleaning doesn't help
Multiple LIMS Instances Conflicting¶
- Check Task Manager for multiple LIMS processes
- Check different browser tabs/windows with LIMS open
- Only one LIMS session should control QZ Tray at a time
- Log out of other LIMS sessions
Print Server Issues (Enterprise Environments)¶
- Press
Windows + R - Type
\\printserver-nameand press Enter (replace with actual server) - Check if print server is accessible
- Try adding printer directly by IP instead of through print server
- Check print server event logs for errors
HTTPS/SSL Issues with Localhost¶
- Some browsers block mixed content (HTTP localhost from HTTPS LIMS)
- Try accessing LIMS through HTTP instead of HTTPS for testing
- Or configure QZ Tray for HTTPS (more complex setup)
- Check browser console (F12) for mixed content warnings
Driver Version Conflicts¶
- Press
Windows + R - Type
printmanagement.mscand press Enter - Expand "Drivers" to see all installed printer drivers
- Look for multiple versions of same driver
- Remove old/duplicate driver versions
- Keep only the latest working version
Session Timeout Issues¶
- LIMS user sessions may timeout, breaking QZ Tray connection
- Check LIMS session timeout settings
- QZ Tray may need to be restarted after LIMS re-login
- Some LIMS require re-selecting printer after session renewal