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

PCL newbie - help

PCL newbie - help

PCL newbie - help


I am new in PCL. I want to know how does PCL work?
Basicaly I want to know how to send PCL commands
to printer.
Is there any good FAQ or Help?
I am using HP 6P, HP1100 and HP2200 printers.

Thanks for help!

RE: PCL newbie - help

PCL - Printer Control Language for HP compatible Laserjets and inkjets is basically (for the most part) easy to understand and learn. I suggest you get your hands on a
technical reference manual that will help you a great deal because I know I can't remember all of the commands without looking them up from time to time.

It's basically the Esc character (chr$(27)) plus a group
of text ended by a capital letter signifying the end of
the commandm or sequence.

Commands of the same type can be put within the same structure.

For example:
Change the font to 10CPI fixed pitch
print #1,chr$(27)+"(s0p10h12v0s0b0T"

0p is fixed pitch (1p is proportional)
10h width of font 12h height of font
0s Upright
0b medium weight
0T line printer typeface

The above is equivilent to
print #1,chr$(27)+"(s0P";
print #1,chr$(27)+"(s10H";
print #1,chr$(27)+"(s12V";
print #1,chr$(27)+"(s0S";
print #1,chr$(27)+"(s0B";
print #1,chr$(27)+"(s0T";

but takes less coding.

I have a page on my web site with many of the PCL commands.
It might be a starting place for you (or you can go to the HP site)

my site is: http://pages.sbcglobal.net/oasys
There's a link to the hp page on the links page.

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