Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 Installation Manual page 474

Table of Contents

Advertisement

►zseries: Take into account that IBM System z ethernet devices do not receive
broadcasts by default. ◄
The following command can be used to test if a TCP connection can be established
to cupsd (port 631) on host:
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 returns a
(possibly very long) status report for all queues on host, provided the respective
cupsd is active and the host accepts queries.
The next command can be used to test if the queue on host accepts a print job
consisting of a single carriage-return character. Nothing should be printed. Possibly,
a blank page may be ejected.
echo -en "\r" \
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. Because this is caused by the spooler in the print
server box, there is nothing you can do about it. As a work-around, circumvent the
spooler in the print server box by addressing the printer connected to the print
server box directly with TCP socket. See
(page 443).
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 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 determined
with the nmap utility from the nmap package some time after the print server box
is powered on. For example, nmap IP-address may deliver the following
output for a print server box:
Port
23/tcp
80/tcp
515/tcp
631/tcp
9100/tcp
456
Installation and Administration
| lp -d queue -h host
State
open
open
open
open
open
Section 23.5, "Network Printers"
Service
telnet
http
printer
cups
jetdirect

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents