Re: Help geting hP jetdirect printer to work with Debian

2001-03-02 Thread John Galt
On Fri, 2 Mar 2001, Stan Brown wrote:

>I;m integrating a Debian "testing" machine inot a network with lot's of
>FreeBSD machines, and some HP-UX, and Sun machines.
>
>I'm having a hard time geting the Debian box to print to our networked
>(JetDirect) printer. Can anyone give me a pointer to some docs.

http://linuxdoc.org/HOWTO/Printing-HOWTO/network.html#NETWORKED-PRINTER

It uses a JetDirect as its example...

>

-- 
void hamlet()
{#define question=((bb)||(!bb))}

Who is John Galt?  [EMAIL PROTECTED] that's who!



RE: Help geting hP jetdirect printer to work with Debian

2001-03-02 Thread Lewis, James M.


> -Original Message-
> From: Known Human Nick Rusnov [mailto:[EMAIL PROTECTED]
> Sent: Friday, March 02, 2001 12:44 PM
> To: Stan Brown
> Cc: debian-user@lists.debian.org
> Subject: Re: Help geting hP jetdirect printer to work with Debian 
> 
> 
> In message <[EMAIL PROTECTED]>it was written:
> >I;m integrating a Debian "testing" machine inot a network 
> with lot's of
> >FreeBSD machines, and some HP-UX, and Sun machines.
> >
> >I'm having a hard time geting the Debian box to print to our 
> networked
> >(JetDirect) printer. Can anyone give me a pointer to some docs.
> 
> Ahh, this is easy as pie.
> 
> JetDirect has a builtin lpr compatible server.
> 
> Install lprng package and configure your /etc/printcap like:
> 
> lp|HPLJ5p
>  :lp=
>  :rm=192.168.0.12
>  :rp=lp
>  :sd=/var/spool/lpd/remote
>  :mx#0
>  :sh
> 
> Where you replace the value of rm= with the IP address of the printer.
> (you can also replace the name of the printer with whatever you like).
> 
> Simply restart lprng (/etc/init.d/lprng restart), and then pipe some
> postscript to lpr and wammo. ;)
> 
> JetDirect is quite nice, I'm very impressed by the quality of it.

I like them too.  Instead of using lpd protocol, you can go direct using
a line like ":lp=printername-or-ip%9100" and leave out the rm and rp
entries.  If you ever need a filter, you don't have to use the lpr_bounce
stuff.  This is with lprng only.  If you use a name instead of ip-addr, then
you have to put that into /etc/hosts or dns.  Ours all get put into dns so
it's easy to use names.  If one breaks, they replace it and fix up the dns
entry and everything works...

jim

> as always,
> nick
> [EMAIL PROTECTED] * http://www.fargus.net/nick
> Developer - Systems Engineer - Mad System Guru - MOO Sales
> he picks up scraps of information/he's adept at adaptation
> because for strangers and arrangers/constant change is here to stay
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 



Re: Help geting hP jetdirect printer to work with Debian

2001-03-02 Thread Known Human Nick Rusnov
In message <[EMAIL PROTECTED]>it was written:
>I;m integrating a Debian "testing" machine inot a network with lot's of
>FreeBSD machines, and some HP-UX, and Sun machines.
>
>I'm having a hard time geting the Debian box to print to our networked
>(JetDirect) printer. Can anyone give me a pointer to some docs.

Ahh, this is easy as pie.

JetDirect has a builtin lpr compatible server.

Install lprng package and configure your /etc/printcap like:

lp|HPLJ5p
 :lp=
 :rm=192.168.0.12
 :rp=lp
 :sd=/var/spool/lpd/remote
 :mx#0
 :sh

Where you replace the value of rm= with the IP address of the printer.
(you can also replace the name of the printer with whatever you like).

Simply restart lprng (/etc/init.d/lprng restart), and then pipe some
postscript to lpr and wammo. ;)

JetDirect is quite nice, I'm very impressed by the quality of it.

as always,
nick
[EMAIL PROTECTED] * http://www.fargus.net/nick
Developer - Systems Engineer - Mad System Guru - MOO Sales
he picks up scraps of information/he's adept at adaptation
because for strangers and arrangers/constant change is here to stay