Problem: slow printing in SAP
Symptoms:
- spool process shows 'querying <printername>' in SM50
- process tracefile shows 'Query for printer XXXX disabled for 300 seconds (query problems)'
- process tracefile shows 'Warning: lpq on printer XXXX took XX seconds!'
- SM21 shows 'Printer XXXX Temporarily Locked Due to Connection Problem'
Solution:
Restart the SAPSprint and print spool service on the print server.