From: schroedj@ub.uni-marburg.de (Juergen Schroeder)
Subject: Re: Printing landscape to remote printer
Date: 1997/03/14 [thread overview]
Message-ID: <5gb1lc$dpa$2@surz03fi.HRZ.Uni-Marburg.DE> (raw)
In-Reply-To: 3327C552.5272B8FA@computing-services.ox.ac.uk
Pete Ford (peter.ford@computing-services.ox.ac.uk) wrote:
: Slavisa Lukic wrote:
: >
: > I have installed a deskjet 1600CM printer as text. I made the entries in
: > the printcap according to the suggestion made in some previous messages
: > of this news group. I have defined two printers (raw+text).
: >
: > It seems that everything functions well, except that some options of the
: > lpr command are not accepted. I have tried the -Olandscape by the text
: > come still portrait.
:
: The -O option (alongs with some others) is not necessarily supported on
: other vendor's lpd systems - it's a Digital thing, so if the remote
: printer is not on a Digital system it's unlikely to know what to do.
: I'm currently working on a distributed printing system and have
: encountered these problems, although in my case I'm using a Digital
: Alpha to do the printing and adding code to the standard BSD lpd source
: to give it the extra functionality when passing jobs to the Alpha's lpd
: (i.e. the reverse of what you want and much easier!). I don't know how
: the Digital lpd actually implements things like orientation (-O) and
: paging (-K)...
The lack of filtering by printing remote is usual in most unix (lpd) types.
This can't be elegant overided by a old but not well known trick:
make a printqueue which print raw to the remote printer
make multiple printqueues for the features you want have
eg one called landscape
this should have this entries in the printcap:
:if=/usr/local/daemon/filter/input_filter_landscape:\
:lp=/dev/null:\
make the filter input_filter_landscape
(echo "here the esc-sequences for initialising the printer & landscape mode"
cat - ) | lpr -Praw
thats all
you can make this queues if you want on only one machine and print remote
to this machine.
No fiddeling with lpd source code.
Juergen
next prev parent reply other threads:[~1997-03-14 5:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-03-12 5:00 Printing landscape to remote printer Slavisa Lukic
1997-03-13 5:00 ` Pete Ford
1997-03-14 5:00 ` Juergen Schroeder [this message]
1997-03-21 5:00 ` .
1997-03-22 5:00 ` Müri Peter
1997-03-17 5:00 ` Doug Hamilton
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