From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,7fe2f94022b87eed X-Google-Attributes: gidfee84,public From: schroedj@ub.uni-marburg.de (Juergen Schroeder) Subject: Re: Switching between simplex and duplex on a remote printer Date: 1997/09/01 Message-ID: <5udvn0$bd3$1@surz03.HRZ.Uni-Marburg.DE>#1/1 X-Deja-AN: 269341572 References: <34054082.515F@vmimat.mat.unimi.it> Organization: Library of the Philipps-University Marburg Newsgroups: comp.unix.osf.osf1 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