Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

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

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...I just wanted to say how much I have enjoyed these forums. I am a new user and have a lot of elementary questions. I get quick answers with a friendly attitude..."

Geography

Where in the world do Tek-Tips members come from?

Print Inverse Text - Black Background, White Letters

SSDESIGN (Programmer)
14 Mar 11 16:49
I'm looking for dot matrix printer command codes which would print white letters in a black background. It could be used to differentiate an invoice from a quote.

It would be used as in the following example for printing double wide, double height, and bold text:

* 2 LINES HIGH, DOUBLE WIDE
??? CHR(27)+"W1"
??? CHR(27)+"V1"
??? CHR(27)+"G"

@ 47, 19 SAY "QUOTE"

??? CHR(27)+"W0"
??? CHR(27)+"V0"
??? CHR(27)+"H"

Thanks for the continuing support...
MrDataGuy (Programmer)
14 Mar 11 17:14
I suspect that such codes would vary from printer to printer.  Do you have the printer manual?  Look in that.

Lion Crest Software Services
Anthony L. Testi
President
www.LionCrestSoftwareServices.com

 

alvechurchdata (Programmer)
15 Mar 11 12:53
Your example looks like they might be Epson control codes - double-strike was ESC+G which agrees with your
CHR(27)+G for bold. I'm afraid I've chucked all my Epson manuals but the codes will be on the web somewhere.  

Geoff Franklin
www.alvechurchdata.co.uk

brigmar (Programmer)
17 Mar 11 18:36
Just had flashbacks to my teenage years...
Yes those are Epson control codes.

http://www.atariarchives.org/epson/appendix_b.php

I don't recall "invert" as being a control code. When I did it, I set the printer to graphics mode and set the bytes by hand.

Have you tried another method such as setting underlining and/or italics on/off ?
SSDESIGN (Programmer)
18 Mar 11 14:21
Thanks for all of the suggestions....

I did find a 573 page manual from Epson on control codes without any comment about inverse printing....   See EPSON ESC/P Reference Manual December 1997.

Maybe I was just dreaming....

I've decided to use the code above and repeat it across the sheet about two positions apart....

Again, thanks...
Bill...

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!

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