Prev | Current Page 326 | Next

Michael McCallister

"openSUSE Linux Unleashed"

???
Using Basic Print Commands
It??™s good to know these five basic shell commands if you just need to print something
quickly without having to launch a program or wait for a GUI to load. These will work
from any shell prompt, whether you have X running or not. In some cases, you need to
be logged in as the SuperUser to have access to all options.
. lp ??”The basic ???line printer??? spooling command.
. lpq??”Tells you what print jobs are currently being processed. It will also give you
the name(s) of the line printer queue(s) installed on this machine if you do not
know what??™s available.
. lpstat??”Statistical information from the server and printer.
. lprm??”Cancels the current print job.
. lpadmin??”The CUPS line printer administration system. You must be Root (or
SuperUser) to use. This command manages spooling, the print daemon, and all
printer activity.
All these commands have reasonably good man pages, and you can also examine the
CUPS Administration Guide in /usr/share/doc/packages/cups/sam.html.
Don??™t be afraid to use wildcards when using the lp command to print from the shell.


Pages:
314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338
news news news przasnysz news