Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 313 — #339
i
i
i
i
i
i
i
i
13
Printer Operation
I S/390, zSeries
Take into account that S/390 ethernet devices do not receive broad-
casts by default. J
The following command can be used to test if a TCP connection can
be established to the cupsd (port 631) on hhosti:
netcat -z <host> 631 && echo ok || echo failed
If the connection to cupsd cannot be established, cupsd may not be
active or there may be basic network problems.
lpstat -h <host> -l -t
This command returns a (possibly very long) status report for all
queues on hhosti, provided the respective cupsd is active and the host
accepts queries.
echo -en "\r" \
| lp -d <queue> -h <host>
This command can be used to test if the hqueuei on hhosti accepts a
print job consisting of a single carriage-return character. Nothing
should be printed. Possibly, a blank page may be ejected.
Troubleshooting a Network Printer or Print Server Box
Spoolers running in a print server box sometimes cause problems
when they have to deal with a lot of print jobs. As this is caused by
the spooler in the print server box, there is nothing you can do about
it. As a workaround, circumvent the spooler in the print server box
by addressing the printer connected to the print server box directly
via TCP socket.
In this way, the print server box is reduced to a converter between
the various forms of data transfer (TCP/IP network and local printer
connection). To use this method, you need to know the respective
TCP port on the print server box. If the printer is connected to the
print server box and powered on, this TCP port can usually be deter-
mined with the nmap utility from the nmap package some time after
the print server box is powered on.
For example, nmap hIP-addressi may deliver the following output
for a print server box:
Port State Service
23/tcp open telnet
313
SUSE LINUX Enterprise Server










