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

Reverse Video (for lack of better explanation)

Reverse Video (for lack of better explanation)

Reverse Video (for lack of better explanation)

Does anyone have code for printing white text with a black
background in PCL. I can do it with raster graphics but
not only is it time consuming but I hate using raster
graphics with ink jets (though i mostly use this for
hp compatible laser printers).

Thanks in advance. (PCL5 or below please)

RE: Reverse Video (for lack of better explanation)

A raster image notwithstanding, you can't do reverse text as such with a PCL3 printer!

In PCL5, the you first lay down an appropriate sized black rectangle, and then position the cursor and print white text.


<esc>*p500x500Y          initial cursor position   
<esc>*c400a150bP         print blackbox 400 x 150 dots
<esc>*v1o1T              set to print white(erase black)
<esc>(s1p18v0s0b16602    18pt arial bold
<esc>*p+50x+100Y         Position cursor for Text
HELLO                    Text
<esc>*v0o0T              Back to black text

The code is shown on separate lines here for clarity, and the above would all be on the same line in the PCL job.

Jim Asman

RE: Reverse Video (for lack of better explanation)

Thanks that did the trick.

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