* PCL Printer control codes
@ 2001-10-31 15:57 John Hayes
2001-11-01 1:01 ` Carl Perkins
2001-11-02 3:49 ` David J. Dachtera
0 siblings, 2 replies; 5+ messages in thread
From: John Hayes @ 2001-10-31 15:57 UTC (permalink / raw)
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)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PCL Printer control codes
2001-10-31 15:57 PCL Printer control codes John Hayes
@ 2001-11-01 1:01 ` Carl Perkins
2001-11-01 14:00 ` John Hayes
2001-11-02 3:49 ` David J. Dachtera
1 sibling, 1 reply; 5+ messages in thread
From: Carl Perkins @ 2001-11-01 1:01 UTC (permalink / raw)
"John Hayes" <john@worldwide-wines.moc> 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 <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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PCL Printer control codes
2001-11-01 1:01 ` Carl Perkins
@ 2001-11-01 14:00 ` John Hayes
0 siblings, 0 replies; 5+ messages in thread
From: John Hayes @ 2001-11-01 14:00 UTC (permalink / raw)
"Carl Perkins" <carl@gerg.tamu.edu> wrote in message
news:31OCT200120015957@gerg.tamu.edu...
> "John Hayes" <john@worldwide-wines.moc> 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 <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
It works fantastic now. Thank you for taking the time to reply to my post.
John
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PCL Printer control codes
2001-10-31 15:57 PCL Printer control codes John Hayes
2001-11-01 1:01 ` Carl Perkins
@ 2001-11-02 3:49 ` David J. Dachtera
2001-11-12 21:16 ` John Hayes
1 sibling, 1 reply; 5+ messages in thread
From: David J. Dachtera @ 2001-11-02 3:49 UTC (permalink / raw)
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/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: PCL Printer control codes
2001-11-02 3:49 ` David J. Dachtera
@ 2001-11-12 21:16 ` John Hayes
0 siblings, 0 replies; 5+ messages in thread
From: John Hayes @ 2001-11-12 21:16 UTC (permalink / raw)
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.nospam@fsi.net> wrote in message
news:3BE217C8.500AB66B@fsi.net...
> 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/
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-11-12 21:16 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-31 15:57 PCL Printer control codes John Hayes
2001-11-01 1:01 ` Carl Perkins
2001-11-01 14:00 ` John Hayes
2001-11-02 3:49 ` David J. Dachtera
2001-11-12 21:16 ` John Hayes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox