Wednesday, July 29, 2015

How to Find a Printer Command in Unix (4 Steps)


Log in to the Unix computer by entering your user name and password. Unix will present you with a command-line prompt, also known as a 'shell.'
Find out the location of Unix commands related to printing by entering the following commands into the shell:which lpstatwhich lprPress 'Enter' at the end of each line. Unix will display the locations within the directory hierarchy of the lpstat (list printers and their status) and lpr (send a job to a printer) commands, respectively.
Find out the names of all printers configured on your computer by entering this command into the shell:lpstat -aPress 'Enter.' Unix will list the printers known to the system. Each line in the output of the lpstat command begins with the name of each printer.
Find the printer you need within the output of the lpstat command.' If you want to send a job to it, make sure that lpstat reported its status as 'accepting requests.' If you need a specific printer and you cannot tell it apart from others, consult your system administrator. lpstat does not provide details such as the printer's model or its physical location within the building.

No comments:

Post a Comment