Skip to Content
Author's profile photo Nicholas Steffens

query for printer disabled

Problem: slow printing in SAP


  • 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’


Restart the SAPSprint and print spool service on the print server.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo JEGANRAJ R

      Dear Nicholas,

      Thank you. Your blog helped me to find a conclusion to my issue.


      Jegan Raj



      Author's profile photo Christoph Ostrop
      Christoph Ostrop

      we have had an issue, the DNS-resolution (on our SAP application server) did not work (due to an DNS-problem) – so all printers connected to that printserver did not work,

      on application server the ping to the printserver failed.

      in spool output workers was shown “query problem” ,


      is there any function or transactioncode in SAP,   (in SPAD or . . . ) 

      to reset or to check all connections to all failed printers (after the DNS issue had been fixed)

      or is it a to do manually for every spool or printer ?