From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10f8a1,a8076d4750674a37 X-Google-Attributes: gid10f8a1,public X-Google-Thread: f7344,a8076d4750674a37 X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,a8076d4750674a37 X-Google-Attributes: gidfc7fa,public X-Google-ArrivalTime: 2001-11-01 06:01:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!small.news.tele.dk!207.115.63.138!newscon04.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr10.news.prodigy.com.POSTED!not-for-mail From: "John Hayes" Newsgroups: comp.os.vms,comp.sys.vms,vmsnet.alpha References: <31OCT200120015957@gerg.tamu.edu> Subject: Re: PCL Printer control codes X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Message-ID: NNTP-Posting-Host: 216.217.30.91 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr10.news.prodigy.com 1004623200 ST000 216.217.30.91 (Thu, 01 Nov 2001 09:00:00 EST) NNTP-Posting-Date: Thu, 01 Nov 2001 09:00:00 EST Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: OH[ABTSDTRUSP_PXKBNXKQ@@AZJTBUDKFA_J]Q]KEYUNDQUCCNSUAACY@L[ZX__HGFD]JBJNSFXTOOGA_VWY^_HG@FW_HUTHOH]TBPGCO\P^PLP^@[GLHUK@WLECKFVL^TYG[@RMWQXIWM[SDDYWNLG_G[_BWUCHFY_Y@AS@Q[B\APPF@DCZM_PG_VSCPQZM Date: Thu, 01 Nov 2001 14:00:20 GMT Xref: archiver1.google.com comp.os.vms:49850 vmsnet.alpha:979 "Carl Perkins" wrote in message news:31OCT200120015957@gerg.tamu.edu... > "John Hayes" writes... > }I have a telnet queue going to a canon printer (photocopier,scanner etc > }unit). I have created a library with PCL control codes to print landscape > }and portrait. These are fine but when I print in duplex mode, the first page > }always prints on the back side of the first page. It makes all my reports > }looks like they are skipping a page. Anyone got any ideas. > } > }Desperate Now > } > }John > }john@worldwide-wines.moc (spam filter, switch the moc) > > My guess: > > You send the printer control codes. Somewhere in there is the > code to turn on duplex. Since you have already sent stuff to the > printer, when you switch over it thinks you have already printed > on the front of the page and puts later stuff on the back of > the page. Or something along those lines. > > Anyhow, you may need to isolate the commands so that it knows they > don't count for "stuff being printed" purposes. At least some HP > printers like for you to do this, if you don't they print a blank > page. This is done via an P at the start and an \ at the > end of any PCL being sent (neither of these escape codes is documented > in the PCL 5 Technical Reference Manual - it is possible that they > are specific to HP and Canon may use something else). > > --- Carl It works fantastic now. Thank you for taking the time to reply to my post. John