[3507] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: Best way to connect to JetDirect printer

daemon@ATHENA.MIT.EDU (Sunando Sen)
Fri Nov 8 20:15:07 1996

Date: Fri, 8 Nov 1996 20:09:56 -0500 (EST)
From: Sunando Sen <sunando@nycc.com>
To: redhat-list@redhat.com
In-Reply-To: <3282427b.408215593@sys-admin>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com



On Thu, 7 Nov 1996, Greg Hartzog wrote:

> Hello folks.  I am asking this question here because I had no luck
> searching the RedHat mailing list archives.
> 
> I have several really nice HP printers (POSTSCRIPT capable) on my
> network.  They all have JetDirect cards in them and are configured for
> TCP/IP.  I have gotten the JetAdmin software for the commercial UNIXes
> I am running and set up the printers.  I would like to be able to
> print directly off my Colgate box to the various printers.  The
> question is what software poackages do I need to run?
> 
> I have configure "/etc/printcap" and can get stuff to the printer, but
> it "stair steps".  I know "stair steps" is a filter problem, but I do
> not believe that I can specify filters on remote printer queues.  I
> have used APS in the past, but it seems there should be a better way
> then that.
> 
> How are other people handling this.  I guess I could always send stuff
> another UNIX box which has JetAdmin software so the filters are setup,
> but I would like to NOT do that.
> 
> Thanks in advance for all the help.
> 

HP Jetdirect has two lpd queues, "raw", which does not do LF->CR-LF 
translation, and "text", which does.  Just create two corresponding 
queues in you printcap with rp=text and rp=raw.

Another possibility is to create two printcap entries, called, say "hp5si"
and "remote".  The "remote" entry points to the "raw" queue (rp=raw) on
the HP printer.  The "hp5si" is a local queue and it uses a filter script
that checks the file to be printed and pipes the file to nenscript if it
is a text file, and leaves it alone if it is a postscript file.  At the
final step it lprs the resulting PS file to the "remote" queue.

This is more or less what I am doing.  If anyone knows of a simpler 
solution, I would like to hear of it.

Regards,


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post