Unfortunately, the printer is an old laserjet 4 and only takes socket
reqests on port 9100.  Isn't there any way for me to specify a port to
send to using the rm/rp format?

James Klaas                     (734)615-0364
CAEN Systems Group
IST 5113


On Mon, 1 Oct 2001, John Perkins wrote:

> > I am attempting to set up a print queue to print to a JetDirect printer
> > and I am having some problems setting up the queue.  First off, we are not
> > running any lpd servers on our machines.  This reduces our security
> > profile and makes it easier to control clients.
> >
> > I have come up with a couple of printcap entries to try:
> >
> > xena:force_localhost@:rm=xenaprint.engin.umich.edu%9100:rp=raw
> >
> > -- This fails with an error:
> >
> > Printer: xena is [EMAIL PROTECTED]%9100
> > Printer '[EMAIL PROTECTED]%9100' - cannot open connection -
> > bad or missing hostname
> > Make sure LPD server is running on the server
> >
> > So it obviously doesn't recognize the format host%port for rm.
> >
> > Second:
> >
> > xena:lp=xenaprint.engin.umich.edu%9100
> >
> > -- This fails with:
> >
> > Printer 'xena@localhost' - cannot open connection - Connection refused
> > Make sure LPD server is running on the server
> >
> > This fails because an lp=host%port only works if an lpd is running
> > locally.  Is there any way to get this to work?
>
> I think you're looking for something like this:
>
> xena:force_localhost@:rm=xenaprint.engin.umich.edu:rp=raw
>
> -OR-
>
> xena:lp=xenaprint.engin.umich.edu%9100
>
> You'll need a local LPD running for the second one, and that will require a
> spool director (sd=) among other settings.
>
> Feel free to contrib this back to the list if it clears up your problem.
>
> --
> ============================================================================
>    John Perkins                         |   University of Wisconsin-Madison
>    Associate Researcher                 |   Department of Computer Science
>    [EMAIL PROTECTED]             |   1210 W. Dayton St.
>    608-262-0438/608-262-9997 FAX  |   Madison, WI  53706-1685
> ============================================================================
>
>
>


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to