Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2001 03:07:34 -0700
From:      "Philip J. Koenig" <pjklist@ekahuna.com>
To:        questions@FreeBSD.ORG
Subject:   RE: Better printing from the command-line
Message-ID:  <3B2D7076.26736.2677CFE@localhost>
In-Reply-To: <bulk.15152.20010617203032@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Sun, 17 Jun 2001 15:14:42 -0700
> From: "Ted Mittelstaedt" <tedm@toybox.placo.com>

> > Phil wrote:

> >I can't really set the printer a certain way because it depends on 
> >the job, and because I have over half a dozen machines here that 
> >print to that printer from various OS's.
> >
> 
> A quick and easy way is to define multiple printcap entries that set the
> printer to do what you want.
> 
> For example, suppose that "lp" is connected to the HP.  Add definitions
> for "lp-raw" (unadulterated) or "lp-land"  (landscape) or "lp-132" for
> 132-column printing, etc. etc.  When each definition is selected by
> the program (usually lp -P lp-raw or some such) the associated filter
> adds in the commands to switch on the special features before the job
> prints and trails them with the code to switch the printer back to
> normal mode.


Good point.  I already created one definition for text and one for 
raw/postscript.  Actually I did that prior to setting one up for 
Magicfilter because it's supposed to deal with both, so actually I 
have 3 printer devices defined in printcap.   

Good idea though, that may just meet my simplicity requirements.

Thx,


Phil



--
Philip J. Koenig                                       pjklist@ekahuna.com
Electric Kahuna Systems -- Computers & Communications for the New Millenium


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B2D7076.26736.2677CFE>