Installation guide
pl#55
pw#70
You should not specify a width of more than 80 characters for a
letter-quality printer that uses 8 1/2-inch by 11-inch paper. If you specify a
width that is greater than 80 characters on a printer, the page prints in
landscape mode.
For high-resolution laser-type printers, the line length and page width
parameters are py and px, which specify the number of pixels along the y-
and x-coordinate planes of the printer output image area. Some printers
can operate in either constant-width or imaging modes, so you must specify
both sets of parameters. For example:
px#60
py#80
Refer to your printer’s manual for its output characteristics.
10.8 Troubleshooting
This section provides a checklist for diagnosing printer problems. It also
describes how print errors are logged in the /usr/adm/lperr file,
providing this feature is specified in the /etc/printcap file.
10.8.1 Installation and Routine Operations
If a problem occurs on an existing printer or when adding a printer to a
system, diagnose the problem as follows:
• Verify that the printer hardware is correctly installed and operating as
expected. Most printers have internal test and print test options.
• Ensure that the correct settings are recorded in the /etc/printcap
file. Refer to Section 10.7.3.
• Ensure that the printer daemon is present by using the following
command:
# ps agx |grep /usr/sbin/lpd
If the daemon is not running, restart it by using the following
commands:
# rm -f /dev/printer /var/spool/lpd.lock
# /usr/lbin/lpd -l
The first command removes the /dev/printer and
/var/spool/lpd.lock files. In the second command, the −l option
causes the daemon to log requests from the network. This flag is useful
for debugging problems with remote printers.
Administering the Print Services 10–31