488889
188
Zoom out
Zoom in
Previous page
1/284
Next page
Checking a Remote cupsd
A CUPS network server can broadcast its queues by default every 30 seconds on
UDP port 631. Accordingly, the following command can be used to test whether
there is a broadcasting CUPS network server in the network. Make sure to stop
your local CUPS daemon before executing the command.
netcat -u -l -p 631 & PID=$! ; sleep 40 ; kill $PID
If a broadcasting CUPS network server exists, the output appears as shown in
Example 14.2, “Broadcast from the CUPS Network Server” (page 176).
Example 14.2: Broadcast from the CUPS Network Server
ipp://192.168.2.202:631/printers/queue
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. Possi-
bly, a blank page may be ejected.
echo -en "\r" | lp -d queue -h
host
Troubleshooting a Network Printer or Print Server Box
Spoolers running in a print server box sometimes cause problems when they have
to deal with multiple print jobs. Since this is caused by the spooler in the print
server box, there no way to resolve this issue. As a work-around, circumvent the
spooler in the print server box by addressing the printer connected to the print
server box directly with the TCP socket. See Section 14.5, “Network Print-
ers” (page 170).
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 turned 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 up. For example, nmap
IP-address
may deliver the following
output for a print server box:
Port State Service
23/tcp open telnet
80/tcp open http
515/tcp open printer
9100/tcp open jetdirect
176 Start-Up
188


Need help? Post your question in this forum.

Forumrules


Report abuse

Libble takes abuse of its services very seriously. We're committed to dealing with such abuse according to the laws in your country of residence. When you submit a report, we'll investigate it and take the appropriate action. We'll get back to you only if we require additional details or have more information to share.

Product:

For example, Anti-Semitic content, racist content, or material that could result in a violent physical act.

For example, a credit card number, a personal identification number, or an unlisted home address. Note that email addresses and full names are not considered private information.

Forumrules

To achieve meaningful questions, we apply the following rules:

Register

Register getting emails for Suse openSUSE 12.2 at:


You will receive an email to register for one or both of the options.


Get your user manual by e-mail

Enter your email address to receive the manual of Suse openSUSE 12.2 in the language / languages: English as an attachment in your email.

The manual is 14 mb in size.

 

You will receive the manual in your email within minutes. If you have not received an email, then probably have entered the wrong email address or your mailbox is too full. In addition, it may be that your ISP may have a maximum size for emails to receive.

Others manual(s) of Suse openSUSE 12.2

Suse openSUSE 12.2 User Manual - English - 530 pages


The manual is sent by email. Check your email

If you have not received an email with the manual within fifteen minutes, it may be that you have a entered a wrong email address or that your ISP has set a maximum size to receive email that is smaller than the size of the manual.

The email address you have provided is not correct.

Please check the email address and correct it.

Your question is posted on this page

Would you like to receive an email when new answers and questions are posted? Please enter your email address.



Info