Prev | Current Page 1084 | Next

Christopher Negus

"Linux Bible, 2008 Edition: Boot up to Ubuntu, Fedora, KNOPPIX, Debian, openSUSE, and 11 Other Distributions"

It is intended for administrators,
so it may not be in your default PATH. To start the lpc command, type the following:
# /usr/sbin/lpc
When the command returns the lpc> prompt, type the word status:
lpc> status
hp:
printer is on device ???lpd??™ speed -1
queuing is enabled
printing is enabled
no entries
daemon present
lpc>
This example shows the status of printer hp: queuing and printing are enabled, the printer shows
no problems, and no print jobs are waiting. To quit the lpc command, type exit at the lpc>
prompt.
Displaying Documents
with ghostscript and Acrobat
Document publishing can be very paper-intensive if you send a Groff or LaTeX document to the
printer each time you want to make a change to the document??™s content or formatting. To save
paper and time spent running around, use a print preview program to display your document on
the screen as it will appear on the printed page. The following sections describe the ghostscript
command for displaying PostScript files and the Adobe Acrobat Reader for displaying Portable
Document Format (PDF) files.
Using the ghostscript and gv Commands
To display PostScript or PDF documents in Linux, you can use the ghostscript command. It is
a fairly crude interface, intended to let you step through documents and interpret them one line
at a time.


Pages:
1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096