How can I print from shell prompt in Red Hat Linux?

Asked By 20 points N/A Posted on -
qa-featured

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?

SHARE
Answered By 0 points N/A #145668

How can I print from shell prompt in Red Hat Linux?

qa-featured

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

Login/Register to Answer

Related Questions