Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Switching between simplex and duplex on a remote printer
@ 1997-08-28  4:00 system
  1997-09-01  4:00 ` Juergen Schroeder
  0 siblings, 1 reply; 6+ messages in thread
From: system @ 1997-08-28  4:00 UTC (permalink / raw)



Hi! We have problems with remote printers.
Last year we purchased a HP LaserJet 4M+ with duplex unit. We connected
the printer to a terminal server and defined the queue as a VMS LAT
queue managed by DCPS software. This works well. The printer is set
in duplex mode. When we want to print in simplex mode, we enter
the command "PRINT/QUE=laser_ps1/PARAM=SIDE=1 filename " under OpenVMS
and "lpr -Plaser_ps1 -K1 filename" under Digital Unix (where the
printer was set as remote on the VMS host).
Now we have purchased a HP LaserJet 5M printer with JetDirect card
and duplex unit.
We cannot do as with the other printer, because DCPS doesn't support
network printers; moreover under Unix we'd prefer a solution not VMS
based.
Both under VMS and under Digital Unix we define the queue as a remote
queue with rm=laser_ps2 (the printer itself) and rp=text.
Under VMS we do this using UCX.
In this way we can print ASCII and PostScript files but only in
duplex mode. The above commands to obtain simplex printing don't
work.
Can anyone help us? Many thanks

		Marzia Bonecchi and Luisella Sironi

Dept. of Mathematics
Univ. of Milan - Italy
system@mat.unimi.it



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Switching between simplex and duplex on a remote printer
  1997-08-28  4:00 Switching between simplex and duplex on a remote printer system
@ 1997-09-01  4:00 ` Juergen Schroeder
  0 siblings, 0 replies; 6+ messages in thread
From: Juergen Schroeder @ 1997-09-01  4:00 UTC (permalink / raw)



system@vmimat.mat.unimi.it wrote:
: Hi! We have problems with remote printers.
: Last year we purchased a HP LaserJet 4M+ with duplex unit. We connected
: the printer to a terminal server and defined the queue as a VMS LAT
: queue managed by DCPS software. This works well. The printer is set
: in duplex mode. When we want to print in simplex mode, we enter
: the command "PRINT/QUE=laser_ps1/PARAM=SIDE=1 filename " under OpenVMS
: and "lpr -Plaser_ps1 -K1 filename" under Digital Unix (where the
: printer was set as remote on the VMS host).
: Now we have purchased a HP LaserJet 5M printer with JetDirect card
: and duplex unit.
: We cannot do as with the other printer, because DCPS doesn't support
: network printers; moreover under Unix we'd prefer a solution not VMS
: based.
: Both under VMS and under Digital Unix we define the queue as a remote
: queue with rm=laser_ps2 (the printer itself) and rp=text.
: Under VMS we do this using UCX.
: In this way we can print ASCII and PostScript files but only in
: duplex mode. The above commands to obtain simplex printing don't

For ps on a HP-LJ*4*SI*MX write two little filters which places  one  of
these early in the PostScript file:

        statusdict begin true/false setduplexmode end

   or (maybe, this is untested!)

        statusdict begin    
                /setduplexmode known {true/false setduplexmode} 
        end 

Under unix you can use these filters as "of" in the printcap and set  up
two queues.

Juergen



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Switching between simplex and duplex on a remote printer
@ 1997-09-26  4:00 System Managers
  1997-09-26  4:00 ` Kevin Oberman
  1997-09-26  4:00 ` Juergen Schroeder
  0 siblings, 2 replies; 6+ messages in thread
From: System Managers @ 1997-09-26  4:00 UTC (permalink / raw)



Thanks to Juergen Schroeder for his advice. But we found a better
solution without writing filters. That is yup, a free software by 
Malcolm Herbert. We have an alias like this:
alias lpr1f 'yup -DIBNn 1 \!:2* | lpr \!^' # lpr one face
In this way the command
lpr1f -Pprinter filename
prints in simplex mode without headings, borders, page numbering
on any HP printer with duplex unit.

Luisella Sironi
Dipartimento di Matematica
Universita` di Milano



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Switching between simplex and duplex on a remote printer
  1997-09-26  4:00 System Managers
  1997-09-26  4:00 ` Kevin Oberman
@ 1997-09-26  4:00 ` Juergen Schroeder
  1997-09-29  4:00   ` System Managers
  1 sibling, 1 reply; 6+ messages in thread
From: Juergen Schroeder @ 1997-09-26  4:00 UTC (permalink / raw)



System Managers (system@mat.unimi.it) wrote:
: Thanks to Juergen Schroeder for his advice. 

fine, you're welcome. 

: But we found a better
: solution without writing filters. That is yup, a free software by 
: Malcolm Herbert. 

I would wonder if this is not also a filter o:-) 
but this might be ready for go. Where can I get this?

: We have an alias like this:
: alias lpr1f 'yup -DIBNn 1 \!:2* | lpr \!^' # lpr one face

What shell did you use, whats about the other shells?


Juergen

-------------------------------------------------------------------
Unix _IS_ user friendly - it's just selective about who its friends are !




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Switching between simplex and duplex on a remote printer
  1997-09-26  4:00 System Managers
@ 1997-09-26  4:00 ` Kevin Oberman
  1997-09-26  4:00 ` Juergen Schroeder
  1 sibling, 0 replies; 6+ messages in thread
From: Kevin Oberman @ 1997-09-26  4:00 UTC (permalink / raw)



System Managers <system@mat.unimi.it> writes:

> Thanks to Juergen Schroeder for his advice. But we found a better
> solution without writing filters. That is yup, a free software by 
> Malcolm Herbert. 

That's nice to hear, but where, pray tell, might the rest of us find
this package?
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest Orlando Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net				Phone: +1 510 486-8634



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Switching between simplex and duplex on a remote printer
  1997-09-26  4:00 ` Juergen Schroeder
@ 1997-09-29  4:00   ` System Managers
  0 siblings, 0 replies; 6+ messages in thread
From: System Managers @ 1997-09-29  4:00 UTC (permalink / raw)



Juergen Schroeder wrote:
> 
> System Managers (system@mat.unimi.it) wrote:
> : Thanks to Juergen Schroeder for his advice.
> 
> fine, you're welcome.
> 
> : But we found a better
> : solution without writing filters. That is yup, a free software by
> : Malcolm Herbert.
> 
> I would wonder if this is not also a filter o:-)
> but this might be ready for go. Where can I get this?
> 
> : We have an alias like this:
> : alias lpr1f 'yup -DIBNn 1 \!:2* | lpr \!^' # lpr one face
> 
> What shell did you use, whats about the other shells?
> 
> Juergen
> 
> -------------------------------------------------------------------
> Unix _IS_ user friendly - it's just selective about who its friends are !

You can find yup at http://boojum.bf.rmit.edu.au/~mjch/Public.html

At our site we use tcsh shell.

	Luisella



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1997-09-29  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-08-28  4:00 Switching between simplex and duplex on a remote printer system
1997-09-01  4:00 ` Juergen Schroeder
  -- strict thread matches above, loose matches on Subject: below --
1997-09-26  4:00 System Managers
1997-09-26  4:00 ` Kevin Oberman
1997-09-26  4:00 ` Juergen Schroeder
1997-09-29  4:00   ` System Managers

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