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: fc7fa,a8076d4750674a37 X-Google-Attributes: gidfc7fa,public X-Google-Thread: f7344,a8076d4750674a37 X-Google-Attributes: gidf7344,public X-Google-ArrivalTime: 2001-10-31 18:05:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!news.tamu.edu!gerg.tamu.edu!carl From: carl@gerg.tamu.edu (Carl Perkins) Newsgroups: comp.os.vms,comp.sys.vms,vmsnet.alpha Subject: Re: PCL Printer control codes Date: 31 Oct 2001 20:01 CDT Organization: Geochemical and Environmental Research Group - TAMU Distribution: world Message-ID: <31OCT200120015957@gerg.tamu.edu> References: NNTP-Posting-Host: gergx.gerg.tamu.edu NNTP-Posting-Date: 1 Nov 2001 02:01:59 GMT X-Lunar-Date: 0 days, 10 hrs, 12 mins until the full moon (U.T.) News-Software: VAX/VMS VNEWS 1.50AAXP Xref: archiver1.google.com comp.os.vms:49792 vmsnet.alpha:976 "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