Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Jack Patteeuw <jpatteeu@ford.com>
Subject: Re: lpr & PCL Escape Sequence
Date: 2000/02/16	[thread overview]
Message-ID: <38AAE1F8.F12C91D9@ford.com> (raw)
In-Reply-To: QDMp4.48888$eC2.443588@news1.alsv1.occa.home.com

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



      reply	other threads:[~2000-02-16  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-14  5:00 lpr & PCL Escape Sequence Steve Martinez
2000-02-16  5:00 ` Jack Patteeuw [this message]
read-only archive

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