Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* printcap output filters
@ 1996-01-10  5:00 Chris Johnson
  1996-01-10  5:00 ` Charles Richmond
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Chris Johnson @ 1996-01-10  5:00 UTC (permalink / raw)


     Hi all.  Happy New Year.

     I'm trying to get an output filter to work from printcap for lpd.  
Having trouble doing so.  The net result is to get lpd to talk to HP Laser
Jet JetDirect cards.  Neither HP nor DEC seem to support this for some
strange reason.  We have gotten this working in the past with ULTRIX but I'm
moving to OSF1 now (excuse me, that's Digital UNIX).  I'm piping the file to
the ln03r filter which produces postscript and then to netcat which copies
standard input to a net destination.  It works just fine when I do it by 
hand at the command prompt.  When I try it in the of entry in printcap
nothing happens except an error in the lpr.log file created by syslogd.
The error is this in the log

Jan  9 11:59:11 chaos lpd[479]: pid=4432 (sig=-1,err=1)

which isn't very useful.  DEC doesn't seem to be forthcoming with info 
on this.

     This printcap entry I'm tring to use is as follows

testq|lp0:\
        :lp:\
        :lf=/usr/adm/testqerr:\
        :of=/usr/lbin/ln03rof | /usr/local/bin/nc a.b.c.d 9100:\
        :sd=/usr/spool/testq:\
        :ps=LN03R:\
        :pl#66:\
        :pw#80:\
        :mc#1:\
        :mx#0:sb:

DEC also doesn't seem to be helping much with this.  They may not support 
JetDirect cards but they do support output filters in printcap.  No go yet
though.

     So what's the trick?  What do I do in printcap to get this to work.
Remember, it does work when I do

cat file | /usr/lbin/ln03rof | /usr/local/bin/nc a.b.c.d 9100

by hand.  All I seem to be missing is the magic to get printcap/lpd 
to believe in the printcap of entry.  Oh, and a.b.c.d is a real address on
my network when I run this.

     I'd be very interested in talking to others who have done this or 
otherwise gotten JetDirect cards working with OSF1 3.2c lpd.  I have several 
hundred of these printers I need to talk to from OSF.

     Thanks.  Any constructive help much appeciated.

----------------------------------------------------------------------------
Chris Johnson                            Internet: johnson@lynx.dac.neu.edu
Assistant Director, Systems              BITNET:   johnson@nuhub
Division of Academic Computing           Voice:    617.373.3300
Northeastern University, 39 RI           FAX:      617.373.8600
360 Huntington Ave.
Boston, MA., U.S.A.  02115
----------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: printcap output filters
@ 1996-01-14  5:00 Ralf Puchner
  0 siblings, 0 replies; 6+ messages in thread
From: Ralf Puchner @ 1996-01-14  5:00 UTC (permalink / raw)
  To: johnson

On 10 Jan 1996 13:54:11 GMT, Chris Johnson wrote:

1. remote filters are not supported by DECunix. (OSF/1 is the old name!)
   But there is still a work around available in the digital support
   center (remotefilter.c)

2. There is still a device driver sourcecode for the HP jetdirect 
   card available. It is spreaded by HP and is called "Jetdirect
   Card Software for SUN Systems". Call our local HP Vendor and
   ask for the software!

Regards

  Ralf



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1996-01-22  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-10  5:00 printcap output filters Chris Johnson
1996-01-10  5:00 ` Charles Richmond
1996-01-10  5:00 ` Philip Sterne
1996-01-12  5:00   ` Boyd Adamson
1996-01-22  5:00 ` Greg Merrell
  -- strict thread matches above, loose matches on Subject: below --
1996-01-14  5:00 Ralf Puchner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox