Some time I have to use Linux Operating System, and need to print some documents,
Can I give print command from shell prompt in Red Hat Linux?
How can I print from shell prompt in Red Hat Linux?
Hi Monty,
You have several commands to print documents from a Linux PC. An example is given below
lpr /etc/etc/passwd   (It will print /etc/passwd file from default Printer)
-
lpq       – To see the queueÂ
-
lprm 2    –  To remove a job from the printer which queue is number 2
-
cancel 1  –  Aboard the job from the printer which queue is number 1
Britnu Salu