Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* lpr & PCL Escape Sequence
@ 2000-02-14  5:00 Steve Martinez
  2000-02-16  5:00 ` Jack Patteeuw
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Martinez @ 2000-02-14  5:00 UTC (permalink / raw)


I would really appreciate any help I can get...

We are currently converting from VMS to Tru64 UNIX V4.0F. On our VMS machine
we define our print queues and associate a device control library that we
are able to populate with various escape sequences used for printing PCL
form overlays. When we send a data stream to our networked printers, we are
able to specify which escape sequence to send via the /FORM qualifier and
the output prints with the overlay.

My question is, does UNIX have any type of utility we can use in conjunction
with the lpr command to accomplish this? I've read a little about filters,
but I am new to UNIX and don't understand them.

Thanks in advance,

Steve Martinez
steve.martinez@yokohamatire.com






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

* Re: lpr & PCL Escape Sequence
  2000-02-14  5:00 lpr & PCL Escape Sequence Steve Martinez
@ 2000-02-16  5:00 ` Jack Patteeuw
  0 siblings, 0 replies; 2+ messages in thread
From: Jack Patteeuw @ 2000-02-16  5:00 UTC (permalink / raw)


Steve Martinez wrote:

> My question is, does UNIX have any type of utility we can use in conjunction
> with the lpr command to accomplish this? I've read a little about filters,
> but I am new to UNIX and don't understand them.

Compaq to the rescue !!!

A little advertised utility showed up in V4.0F taht will solve
some/much/all of
your problem.  It is pcfof.  There is ***VERY LIMITED*** documentation
on it (check
the man page as well as the Sys Admin book).  It is table driven and
Compaq has 
supplied some "example" tables in /usr/lbin/pcf.  I had to "tweak" them
a bit,
but at least my HP laserjet 4 and 5's can do Portrait and Landscape and
Simplex and
Duplex (-K) but it doesn't seem to handle Number Up (-N).

Here are my printcap entries

poee_ev159:\
        :ct=tcp:\
        :lp=@pt1784.poee.ford.com/hplaserjet:\
        :sd=/var/spool/poee_ev159:\
        :lf=/var/adm/poee_ev159.log:\
        :if=/usr/lbin/pcfof -K2 +Chplj4si.pcf:\
        :of=/usr/lbin/pcfof +Chplj4si.pcf:\
        :pw#0:\
        :pl#66:\
        :mx#0:
poee_ev159_landscape:\
        :ct=tcp:\
        :lp=@pt1784.poee.ford.com/hplaserjet:\
        :sd=/var/spool/poee_ev159_lnadscape:\
        :lf=/var/adm/poee_ev159.log_landscape:\
        :if=/usr/lbin/pcfof -K2 +Chplj4si_landscape.pcf:\
        :of=/usr/lbin/pcfof +Chplj4si_landscape.pcf:\
        :pw#0:\
        :pl#66:\
        :mx#0:


Jack



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

end of thread, other threads:[~2000-02-16  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-14  5:00 lpr & PCL Escape Sequence Steve Martinez
2000-02-16  5:00 ` Jack Patteeuw

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