ENWW
Configuring for LPD Printing 164
10. Click
OK
and select
Exit
from the
List
menu.
11. Select
Exit Sam
.
Note
By default, the lpsched is not running. Make sure
you turn the scheduler on when you set up your
print queues.
Printing a Test File
To verify that the printer and print server connections are correct,
print a test file.
1. At the UNIX system prompt type:
lpr -Pprinter_name file_name
where
printer_name
is the designated printer and
file_name
refers to the file to be printed.
Examples
(for BSD-based systems):
Text File:
lpr -Ptext1 textfile
PCL File:
lpr -Praw1 pclfile.pcl
PostScript File:
lpr -Praw1 psfile.ps
HP-GL/2 File:
lpr -Praw1 hpglfile.hpg
For HP-UX systems, substitute
lp -d
for
lpr -P.
2. To get print status, type the following at the UNIX prompt:
lpq -Pprinter_name
where
printer_name
is the designated printer.
Examples
(for BSD-based systems):
lpq -Ptext1
lpq -Praw1
For HP-UX systems, substitute
lpstat
for
lpq -P
to get print
status.
This completes the process for configuring the HP Jetdirect print
server to use LPD.