tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* printcap problem
@ 1996-09-17  9:50 Henning Eli Lang
  0 siblings, 0 replies; 2+ messages in thread
From: Henning Eli Lang @ 1996-09-17  9:50 UTC (permalink / raw)
  To: tru64-unix-managers


This summer we've got an Alpha Server. I've tried to move some
printcap entries from our Ultrix machines to the Alpha Server, but
here I can't get it to work.

What we vere doing on the Ultrix machine was to use a self-made
filters, which translated danish characters from Dec multinational to
CP-850 and send the print to a remote printer ( on a novell server )

the entry in the printcap file was:

113-direct:\
   :ct=remote\
   :lp=:\
   :lf=/usr/adm/113-direct.err:\
   :rm=novell1:\
   :rp=113:\
   :sd=/usr/spool/113-direct:
113-c:\
    :if=/usr/local/pcl5 -c17 | lpr -P113-direct:\
    :af=/usr/adm/113.ac:\
    :lf:/usr/adm/113.err:\
    :lp=/dev/null:\
    :sd=/usr/spool/113:

the file /usr/local/pcl5 is the filter which also is capable of 
receiving a paramter telling which font to use and to send the
respective escape code to the printer. This works fine on the Ultrix 
system. I suspect that it might be the pipe in the "if" field.which 
is causing the problem. By why is there this difference.

Henning Lang
Sys.Adm
Niels Brock - CBC

hl@fiol.brock.dk

 

^ permalink raw reply	[flat|nested] 2+ messages in thread
* printcap problem
@ 1997-08-21 18:03 Kirk Rafferty
  0 siblings, 0 replies; 2+ messages in thread
From: Kirk Rafferty @ 1997-08-21 18:03 UTC (permalink / raw)
  To: tru64-unix-managers

Hi folks, I've got a request to set up a printer on my DU4.0b system
that, instead of printing, runs through a print filter then dumps the
output to a file instead of a printer.  Now I thought the following
would work in /etc/printcap:

s0:lp=/dev/null:of=/usr/spool/lpd/s0/s0filter.pl:

Where s0filter.pl takes stdin, processes it, then dumps to a file.  But
the filter doesn't seem to even get called, and I get no error
messages.  Obviously I'm missing something here.

Any ideas?

--k

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

end of thread, other threads:[~1997-08-21 18:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-17  9:50 printcap problem Henning Eli Lang
  -- strict thread matches above, loose matches on Subject: below --
1997-08-21 18:03 Kirk Rafferty

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