Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

PCL5 command print doudle sided

PCL5 command print doudle sided

PCL5 command print doudle sided

My apologies if it's already explained overhere (i took a look but can't really find the code).
From an application i have to print using PCL5. We are using preprinted papers but we must print some fields from the application on those papers. One field should be printed on the back of the paper. I'm using a duplex printer but can't manage to send a piece of text on the back of paper via PCL5.

Any help would be much appreciated.
I've tried the {=chr(27)}&l2S commands but he always prints a second place.

Thank you,
Kind regards,

RE: PCL5 command print doudle sided

It is pretty simple really. Use <esc>&l1S at the very beginning of the job to enable duplex printing. Now it is up to you to keep track of which side you are printing.

After you have filled the fields on the front side, issue a formfeed, Chr(12), and that will put you onto the back page. Fill in the field there followed by another formfeed to clear the page from the printer.

The behavior you are seeing is probably that when you issue your duplex command there is printable data in the buffer and the printer prints the existig data and ejects the page before it reacts to the duplex command.

Jim Asman

RE: PCL5 command print doudle sided

Thank you very much.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close