View Single Post

   
  #2 (permalink)  
Old 01-12-2008, 05:11 AM
Greg Andrews
 
Posts: n/a
Default Re: Change default printer port

lmccluskey@bcdi.com (Larry) writes:
>
>I'm sending print jobs to a remote network. The firewall on the remote
>network maps ports to specific IP addresses. The trouble is, I have
>two printers that use the same default port (9100). I can change the
>port on the printer itself but how can I change the port in Unix to
>match?
>


If you're using the Solaris "netstandard" printer interface, then
specify the port like this:

lpadmin -p printer-name [other args] -o protocol=tcp -o dest=hostname:9101


If you're using HP's Jetadmin or Jetdirect software, I don't know how
to do it. Check with HP's tech support. The HP software will try to
talk to the printer via SNMP, so it will probably fail in any case.

The remote network does not have a very good firewall configuration,
if it maps port numbers to internal ip addresses. What's to stop
anyone in the world from connecting to the printers and wasting their
paper and toner, or blocking you from getting access?

You should instead be contacting a print server within their network,
and feeding the print jobs to the two printer queues via the BSD print
protocol.

-Greg
--
Do NOT reply via e-mail.
Reply in the newsgroup.
Reply With Quote