ARGH... Stalls, you say? Could you do lpq -llll and send the output of the ifhp filter?
Ummm... by the way, I discovered totally by accident, that trying to select an output tray AND stapling on a particular printer caused the hardware to (physically) wedge. I will quote the technical support person "yeah, we know. we recommend taking the stapler out. Engineering says it can't happen cause the software (Microsoft) does not send out the commands". Sigh... Patrick > From [EMAIL PROTECTED] Thu Jul 24 12:10:56 2003 > Subject: Re: LPRng: Tray selection for PCL files > From: Robert Fausey <[EMAIL PROTECTED]> > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Date: 24 Jul 2003 14:27:45 -0400 > > On Thu, 2003-07-24 at 12:29, Patrick Powell wrote: > > Patrick, what you say makes sense. If I understand you correctly all I > would need to change is :append_z to :append_z intray1. The problem is > that after this change the queue stalls. I also tested this against a > HP4050 where the differences between the printcap entries are > :ifhp=model=hp4050,pcl :append_z duplex, intray3, and postscript files > do print to the correct tray but PCL files do not. > > > > From [EMAIL PROTECTED] Thu Jul 24 08:38:47 2003 > > > Subject: LPRng: Tray selection for PCL files > > > From: Robert Fausey <[EMAIL PROTECTED]> > > > To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > > > Date: 24 Jul 2003 10:59:15 -0400 > > > > > > With the following printcap entry I am able to peform tray selection for > > > a HP8000 printer but only for postscript files. What is missing for > > > tray selection for PCL files? > > > > > > :append_z letterhead, simplex > > > :bp=/var/local/LPRng/libexec/filters/cit.banner.sh > > > :filter=/var/local/LPRng/libexec/filters/ifhp > > > :ifhp=model=hp8000,pcl,status@,forceprocessing > > > :lf=/var/local/LPRng/spool/lpd.log > > > :lp=psnt2%9100 > > > :lpd_force_poll > > > :mc=0:ml=0:mx#0:bk:rw > > > :of=/var/local/LPRng/libexec/filters/ifhp > > > :sd=/var/local/LPRng/spool/lpd/%P > > > :send_job_rw_timeout=0 > > > > > > > > > HP8000 uses HP4000 PCL commands > > > > ## We have printcap information > > [ hp4000_pcl ] > > ## pcl paper source selection > > ## use -Zsource=n > > ## 0 - current, 1 - tray 2 (first cassette), 2 - manual > > ## 3 - ???? > > ## 4 - tray 1 (Multipurpose), 5 - tray 3 (second cassete) > > ## 6 - envelope 8 - tray 4 (third cassette) > > ## 20-39 high capacity input trays 2-21 > > ## > > > > pcl_intray1=\033&l4H > > pcl_intray2=\033&l1H > > pcl_intray3=\033&l5H > > pcl_intray4=\033&l8H > > > > > > > > You can look at the pcl it is generating by using: > > > > echo test | ifhp -Tdev=/tmp/out,trace,model=hp8000,pcl,status@,forceprocessing > > > > I got: > > [EMAIL PROTECTED] > > @PJL RESET > > @PJL JOB NAME = ":" DISPLAY = ":" > > @PJL RDYMSG DISPLAY = ":" > > @PJL INFO ID > > @PJL USTATUSOFF > > @PJL USTATUS JOB = ON > > @PJL USTATUS DEVICE = ON > > @PJL USTATUS PAGE = ON > > @PJL USTATUS TIMED = 10 > > @PJL ENTER LANGUAGE = PCL > > ^[E^[&l2A^[&k2G^[&s0C^[&l0O^[9^[(s0P^[(s10.00H^[(s4099Ttest > > [EMAIL PROTECTED] > > @PJL RDYMSG DISPLAY = ":" > > @PJL EOJ NAME = ":" > > @PJL USTATUSOFF > > @PJL USTATUS JOB = ON > > @PJL USTATUS DEVICE = ON > > @PJL USTATUS PAGE = ON > > @PJL USTATUS TIMED = 10 > > @PJL RDYMSG DISPLAY = "Done: :" > > ^[%-12345X > > > > > > So now you can try using the tray commands: > > > > > > > > echo test | ifhp > > -Tdev=/tmp/out,trace,model=hp8000,pcl,status@,forceprocessing,intray1 > > > > [EMAIL PROTECTED] > > @PJL RESET > > @PJL JOB NAME = ":" DISPLAY = ":" > > @PJL RDYMSG DISPLAY = ":" > > @PJL INFO ID > > @PJL USTATUSOFF > > @PJL USTATUS JOB = ON > > @PJL USTATUS DEVICE = ON > > @PJL USTATUS PAGE = ON > > @PJL USTATUS TIMED = 10 > > @PJL SET INTRAY1 = ON > > @PJL ENTER LANGUAGE = PCL > > ^[E^[&l2A^[&k2G^[&s0C^[&l0O^[9^[(s0P^[(s10.00H^[(s4099T^[&l4Htest > > ^^^ tray selection > > [EMAIL PROTECTED] > > @PJL RDYMSG DISPLAY = ":" > > @PJL EOJ NAME = ":" > > @PJL USTATUSOFF > > @PJL USTATUS JOB = ON > > @PJL USTATUS DEVICE = ON > > @PJL USTATUS PAGE = ON > > @PJL USTATUS TIMED = 10 > > @PJL RDYMSG DISPLAY = "Done: :" > > ^[%-12345X > > > > Does this help a bit? > > > > Patrick Powell Astart Technologies > > [EMAIL PROTECTED] 6741 Convoy Court > > Network and System San Diego, CA 92111 > > Consulting 858-874-6543 FAX 858-751-2435 > > LPRng - Print Spooler (http://www.lprng.com) ----------------------------------------------------------------------------- YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST The address you post from MUST be your subscription address If you need help, send email to [EMAIL PROTECTED] (or lprng-requests or lprng-digest-requests) with the word 'help' in the body. For the impatient, to subscribe to a list with name LIST, send mail to [EMAIL PROTECTED] with: | example: subscribe LIST <mailaddr> | subscribe lprng-digest [EMAIL PROTECTED] unsubscribe LIST <mailaddr> | unsubscribe lprng [EMAIL PROTECTED] If you have major problems, send email to [EMAIL PROTECTED] with the word LPRNGLIST in the SUBJECT line. -----------------------------------------------------------------------------
