Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PCL Printer control codes

2 views
Skip to first unread message

John Hayes

unread,
Oct 31, 2001, 10:57:30 AM10/31/01
to
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
jo...@worldwide-wines.moc (spam filter, switch the moc)

Carl Perkins

unread,
Oct 31, 2001, 8:01:00 PM10/31/01
to
"John Hayes" <jo...@worldwide-wines.moc> writes...

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 <ESC>P at the start and an <ESC>\ 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

John Hayes

unread,
Nov 1, 2001, 9:00:20 AM11/1/01
to

"Carl Perkins" <ca...@gerg.tamu.edu> wrote in message
news:31OCT200...@gerg.tamu.edu...

It works fantastic now. Thank you for taking the time to reply to my post.

John


David J. Dachtera

unread,
Nov 1, 2001, 10:49:28 PM11/1/01
to
John Hayes wrote:
>
> 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

I seem to remember solving that (at least partially) by:

1. In the job setup, using the sequence to select duplex side two near
the end of the job setup sequence(s).
2. In page setup, include the "next side" sequence.

...I think, not 100% sure anymore. That was getting onto four years ago
already, and at least three jobs ago.

...oh yeah, remember to enclose the whole thing(s) in extended escape
sequence delimiters (<ESC>P, <ESC>\).

...I think...

--
David J. Dachtera
dba DJE Systems
http://www.djesys.com/

Unofficial Affordable OpenVMS Home Page:
http://www.djesys.com/vms/soho/

John Hayes

unread,
Nov 12, 2001, 4:16:24 PM11/12/01
to
I had this nailed down and they changed the printer on me.

Using Cannon Image Runner printers/copiers. I have the correct pcl codes to
do landscape etc. When I put the ESC P and ESC \ in the code I get a blank
page with the check symbol and the number 2 print out, if I remove them then
the first page of the document prints on the back side of the first page.

Any ideas ?

John


"David J. Dachtera" <djesys...@fsi.net> wrote in message
news:3BE217C8...@fsi.net...

0 new messages