From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,767101a988a0122f X-Google-Attributes: gidfee84,public From: Kevin Oberman Subject: Re: Using HP printers with OSF1 Date: 1998/05/05 Message-ID: #1/1 X-Deja-AN: 350524540 Sender: oberman@ptavv.es.net References: Content-Type: text/plain; charset=US-ASCII Organization: ** ESnet ** The Energy Sciences Network ** Mime-Version: 1.0 (generated by tm-edit 7.108) Newsgroups: comp.unix.osf.osf1 Jamie Jamison writes: > I have several HP printers, LaserJet 5Si/MXs, that I need to get working > with OSF1. I have a need to directly control the trays on the printer as I > have different print media in trays 2 and 3 than I do in tray 1. It would > also be nice if I could output jobs to different bins. When I try to use > the System V lp that comes with OSF1, with the -otray[1-3] or -obin[1,2] > arguments, I can never get the printer to reliably switch trays or output > bins. If I were at a Sun shop this problem would be solved by running > JetAdmin, which, unfortunately, has not been ported to OSF1. However I'm > not at a Sun shop (thank God) and need to get these printers working > properly. Does anyone have any tips on doing this? Any information will be > greatly appreciated. Are these using JetDirect cards connected to the network or are they connected directly to the Alpha? If it's JetDirect, it's harder. You need to write some PJL files to select the desired trays and cat these onto the beginning and end of each job. Here are what I use for manual feed in, side-tray out and PostScript printing: 2345X@PJL JOB @PJL SET MANUALFEED=ON @PJL SET ECONOMODE=OFF @PJL SET OUTBIN=SIDE @PJL ENTER LANGUAGE = POSTSCRIPT And this selects 2-sided PostScript: 2345X@PJL JOB @PJL SET ECONOMODE=OFF @PJL SET DUPLEX=ON @PJL ENTER LANGUAGE = POSTSCRIPT And this is the job terminator (to restore default operation): ^L2345X@PJL EOJ 2345X Use a filter that will cat a setup PJL, followed by your file, followed by the termination PJL. If you are using a JetDirect, filters are not supported, so you will need another printer definition which will do the filter and then send the output to the REAL print queue. Yes, it's kind-a ugly! Good luck! -- 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