How can I tell if a print device is accepting print jobs via the LPR protocol?

Blog Post created by toleary on Aug 2, 2013

1. Create a text file with something in it on the server this machine is configured against.
2. Use the LPR command line to submit this job to the device.
3. So in your case you could use the below command.


lpr -S <ip of printer> -P raw test.txt
(there is a space after the -S and a space after the -P)


this will verify that the device is able to receive print jobs via LPR.


You could also use the LPQ command. Notice that this command has NO space between the -S and the IP Address of the device or the value of server in the example.


Displays the state of a remote lpd queue.


Usage: lpq  -Sserver -Pprinter [-l]


     -S server    Name or ipaddress of the host providing lpd service
     -P printer   Name of the print queue
     -l           verbose output


If you are not able to LPR a print job to the device then Uniprint or Blueprint will fail as well when trying to do the same thing.