* HP Laserjet 5si/5s mx
@ 1997-12-03 5:00 Douglas B. Jones
1997-12-03 5:00 ` Doug Hamilton
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Douglas B. Jones @ 1997-12-03 5:00 UTC (permalink / raw)
We have a hp laserjet 5si/5s mx with duplex ability. I print to it via
remote printing. Regardless of which -K option I use in lpr, it is ignored
by the printer. If the printer is set to two sided, then -K1 has no effect
and if it is set to one sided then -K2 has no effect. Does anyone have any
idea how we can set the hp to respect the -K option?
Thanks in advance.
Cheers,
Douglas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HP Laserjet 5si/5s mx
1997-12-03 5:00 HP Laserjet 5si/5s mx Douglas B. Jones
@ 1997-12-03 5:00 ` Doug Hamilton
1997-12-04 5:00 ` test
1997-12-04 5:00 ` Dirk Pleiter
1997-12-08 5:00 ` Ernest LaBonte
2 siblings, 1 reply; 5+ messages in thread
From: Doug Hamilton @ 1997-12-03 5:00 UTC (permalink / raw)
A similar problem exists with landscape printing.
I wrote a script "hpprint" which checks for the -o and sends a text file
with the appropriate HP commands before and after the p[rint job. (Before
sends command for landscape, After sends a reset.)
Then set an alias for lpr to use hpprint. Mail me if you'd like a copy of
my script and text files.
Doug
ndh01 at konica dot com dot au
Douglas B. Jones <douglas@dekalb.dc.peachnet.edu> wrote in article
<663r3o$hek$1@dekalb.dc.peachnet.edu>...
>
> We have a hp laserjet 5si/5s mx with duplex ability. I print to it via
> remote printing. Regardless of which -K option I use in lpr, it is
ignored
> by the printer. If the printer is set to two sided, then -K1 has no
effect
> and if it is set to one sided then -K2 has no effect. Does anyone have
any
> idea how we can set the hp to respect the -K option?
>
> Thanks in advance.
> Cheers,
> Douglas
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HP Laserjet 5si/5s mx
1997-12-03 5:00 ` Doug Hamilton
@ 1997-12-04 5:00 ` test
0 siblings, 0 replies; 5+ messages in thread
From: test @ 1997-12-04 5:00 UTC (permalink / raw)
Doug Hamilton wrote:
>
> A similar problem exists with landscape printing.
> I wrote a script "hpprint" which checks for the -o and sends a text file
> with the appropriate HP commands before and after the p[rint job. (Before
> sends command for landscape, After sends a reset.)
>
> Then set an alias for lpr to use hpprint. Mail me if you'd like a copy of
> my script and text files.
>
> Doug
> ndh01 at konica dot com dot au
>
> Douglas B. Jones <douglas@dekalb.dc.peachnet.edu> wrote in article
> <663r3o$hek$1@dekalb.dc.peachnet.edu>...
> >
> > We have a hp laserjet 5si/5s mx with duplex ability. I print to it via
> > remote printing. Regardless of which -K option I use in lpr, it is
> ignored
> > by the printer. If the printer is set to two sided, then -K1 has no
> effect
> > and if it is set to one sided then -K2 has no effect. Does anyone have
> any
> > idea how we can set the hp to respect the -K option?
> >
> > Thanks in advance.
> > Cheers,
> > Douglas
> >
This solution will not work with remote printing if you have JetDirect
cards in the printer to establish the network connection. The JetDirect
card will reset the printer in between each job. The solution for this
is to simply cat the files together, so the printer sees them all as one
job.
--
Mark Greene My real address: mailto:greenemj@hlthsrc.com
The above opinions are mine, not my employer's.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HP Laserjet 5si/5s mx
1997-12-03 5:00 HP Laserjet 5si/5s mx Douglas B. Jones
1997-12-03 5:00 ` Doug Hamilton
@ 1997-12-04 5:00 ` Dirk Pleiter
1997-12-08 5:00 ` Ernest LaBonte
2 siblings, 0 replies; 5+ messages in thread
From: Dirk Pleiter @ 1997-12-04 5:00 UTC (permalink / raw)
Douglas B. Jones (douglas@dekalb.dc.peachnet.edu) wrote:
> We have a hp laserjet 5si/5s mx with duplex ability. I print to it via
> remote printing. Regardless of which -K option I use in lpr, it is ignored
> by the printer. If the printer is set to two sided, then -K1 has no effect
> and if it is set to one sided then -K2 has no effect. Does anyone have any
> idea how we can set the hp to respect the -K option?
It might be an overkill in your case. But you could have a look at LPRng ("an
enhanced, extended, and portable implementation of the Berkeley LPR print
spooler functionality"). The CTI-ifhp filters, which where developed for
LPRng, can easily be modified to support the special features of the HP5si.
You can get both from ftp://ftp.astart.com/pub/LPRng/CTI-ifhp-2.2.2.tgz.
Cheers,
Dirk
+-----------------------------------------------------------------------+
| Dirk Pleiter Tel.: 030-838 3742 (d) |
| Fachbereich Physik -891 5905 (p) |
| Freie Universitaet Berlin Fax: 030-838 3741 (d) |
| Arnimallee 14, D 14195 Berlin -891 5905 (p) |
+-----------------------------------------------------------------------+
Caminante, no hay camino, se hace camino al andar. (A.Machado)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: HP Laserjet 5si/5s mx
1997-12-03 5:00 HP Laserjet 5si/5s mx Douglas B. Jones
1997-12-03 5:00 ` Doug Hamilton
1997-12-04 5:00 ` Dirk Pleiter
@ 1997-12-08 5:00 ` Ernest LaBonte
2 siblings, 0 replies; 5+ messages in thread
From: Ernest LaBonte @ 1997-12-08 5:00 UTC (permalink / raw)
To: douglas
Douglas B. Jones wrote:
>
> We have a hp laserjet 5si/5s mx with duplex ability. I print to it via
> remote printing. Regardless of which -K option I use in lpr, it is ignored
> by the printer. If the printer is set to two sided, then -K1 has no effect
> and if it is set to one sided then -K2 has no effect. Does anyone have any
> idea how we can set the hp to respect the -K option?
>
> Thanks in advance.
> Cheers,
> Douglas
When printing via lpd remote it is the responsibility of the remote
system to process all the lpr options. While it wasn't stated I
suspect the remote system is really the printer network card. If so,
it is the printers responsibility to handle the -K option, which it
can't.
The generic solution is to switch over to tcp/ip socket printing and
use an appropriate print filter.
Step 1:
You must have v4.0A or later installed to utilize tcp/ip socket
printing. The setup instructions are in the release notes
for V4.0A and I believe in the system admin guide for V4.0B
and later.
Step 2:
The print filter. Since the 5simx is a postscript printer I
would try the ln03rof print filter. I can't test the
configuration but I believe that this setup will provided
the following:
- text to postscript conversion
- landscape printing
- duplex printing.
- and possible tray selection using lpr -I# where #
is a number starting from 0 and probably not
exceeding 5.
This setup does not handle PCL formatted files. If the file
does have PCL commands use lpr -x file.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-12-08 5:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-03 5:00 HP Laserjet 5si/5s mx Douglas B. Jones
1997-12-03 5:00 ` Doug Hamilton
1997-12-04 5:00 ` test
1997-12-04 5:00 ` Dirk Pleiter
1997-12-08 5:00 ` Ernest LaBonte
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox