* Printing landscape to remote printer
@ 1997-03-12 5:00 Slavisa Lukic
1997-03-13 5:00 ` Pete Ford
1997-03-17 5:00 ` Doug Hamilton
0 siblings, 2 replies; 6+ messages in thread
From: Slavisa Lukic @ 1997-03-12 5:00 UTC (permalink / raw)
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.
are the special setting in the printcap that are missing, or are these
command only supported for local printers?
Please make Cc over e-mail.
Slavisa Lukic
Landis & Gyr (Europe) Corp.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Printing landscape to remote printer
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
1997-03-22 5:00 ` Müri Peter
1997-03-17 5:00 ` Doug Hamilton
1 sibling, 2 replies; 6+ messages in thread
From: Pete Ford @ 1997-03-13 5:00 UTC (permalink / raw)
To: Slavisa Lukic
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.
>
> are the special setting in the printcap that are missing, or are these
> command only supported for local printers?
>
> Please make Cc over e-mail.
>
> Slavisa Lukic
> Landis & Gyr (Europe) Corp.
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)...
--
Pete Ford Unix Sys. Admin. Oxford University Computing Services
Phone: +44 1865 2~73266 Look mum, a real job!
"I'm sorry but you need more help than I can give you over the phone"-
R. Letts
The above message represents my personal opinion; neither my employers,
nor any other organisation, is responsible for statements made therein
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Printing landscape to remote printer
1997-03-13 5:00 ` Pete Ford
@ 1997-03-14 5:00 ` Juergen Schroeder
1997-03-21 5:00 ` .
1997-03-22 5:00 ` Müri Peter
1 sibling, 1 reply; 6+ messages in thread
From: Juergen Schroeder @ 1997-03-14 5:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Printing landscape to remote printer
1997-03-12 5:00 Printing landscape to remote printer Slavisa Lukic
1997-03-13 5:00 ` Pete Ford
@ 1997-03-17 5:00 ` Doug Hamilton
1 sibling, 0 replies; 6+ messages in thread
From: Doug Hamilton @ 1997-03-17 5:00 UTC (permalink / raw)
Remote printers assume that all the intelligence is handled by the remote
node. In our case, the remote nodes are all Lantronix print servers, so
all data received is just sent down the cable to the printer. There is no
special driver used at all.
I have set up a script which checks for the printer, (in my case HP
Laserjet) and send a small text file before and after the print file. The
before file sends the HP codes for landscape, while the after file sends a
reset.
Also, even for local printers -Olandscape only works if the driver supports
it. So again, send the appropraite commands for your printer before and
after.
Doug Hamilton
dougdot@ozemail.com.au
Slavisa Lukic <lukic@landisgyr.com> wrote in article
<332691FF.293C@landisgyr.com>...
> 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.
>
> are the special setting in the printcap that are missing, or are these
> command only supported for local printers?
>
> Please make Cc over e-mail.
>
> Slavisa Lukic
> Landis & Gyr (Europe) Corp.
>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Printing landscape to remote printer
1997-03-14 5:00 ` Juergen Schroeder
@ 1997-03-21 5:00 ` .
0 siblings, 0 replies; 6+ messages in thread
From: . @ 1997-03-21 5:00 UTC (permalink / raw)
remote filtering is not supported by DECunix. Use a second printqueue for filtering and pipe
the output to the remote queue. (a filter source code is available at the digital support center).
The next version of DECunix will support an enhanced lpd version (which is available as
beta software at the moment). It supports special printer features (DEC printer only) and allow
detailed configuration. Remote print filters are also supported. It is also optimized for jetdirekt
support (HP has removed the DECunix support for that card and so the jetdirekt driver is
no more available for this os)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Printing landscape to remote printer
1997-03-13 5:00 ` Pete Ford
1997-03-14 5:00 ` Juergen Schroeder
@ 1997-03-22 5:00 ` Müri Peter
1 sibling, 0 replies; 6+ messages in thread
From: Müri Peter @ 1997-03-22 5:00 UTC (permalink / raw)
-Olandscape not passed
When driving a remote DEC 5100 Laser (HP) on a Lantronix MPS Ethernet
Adapter, from DU 3.2d, I use two printcap entries: queue1 does
:if=myfilter, :lp:\ and in myfilter I pipe the file through
ln09of_isolatin1 ! lpr -Pqueue2. Thus I can spool text or PS files to the
same queue.
In queue2 I do raw remote printing with :rm: and :rp: setup to point to
the MPS. All works fine except when I spool like lpr -Pqueue1
-Olandscape myfile -- then it prints Portrait. Any idea?
Peter
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-03-22 5:00 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
1997-03-21 5:00 ` .
1997-03-22 5:00 ` Müri Peter
1997-03-17 5:00 ` Doug Hamilton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox