|
----- Original Message -----
From: "Scott Klement" <midrange-l@xxxxxxxxxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Subject: Re: Change port on remote output queue
Date: Tue, 15 Sep 2009 16:56:21 -0500
Be careful. The port number for HP's JetDirect/PJL protocol varies
quite often with printers, but the port number for LPR is pretty much
fixed -- I never see people use a different number besides 515 for LPR.
If you really do need to connect to a printer on a different port, you
could write TCP socket program that receives connections on 515, then
connects to the printers port, and copies everything it receives on 515
to the printer's port 1234, and vice-versa. Easy enough to code for
someone familiar with the socket API.
But I would be very suspicious of this. If they really are using LPR,
it would be extremely unusual to use a different port, and it might be a
good indication that they're really using something else besides LPR.
Albert York wrote:
I don't know the specifics. I was asked this question by a co-worker--
becuase she has a client who requested it. Apparently they have some
printers which use non-standard ports.
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.