Printer % code for color 1 and color 2

General Information about POS Pizza 8
Post Reply
TGates
Member
Member
Posts: 19
Joined: Mon Dec 23, 2013 12:38 am
Location: MA, USA
Contact:

Printer % code for color 1 and color 2

Post by TGates »

I couldn't find or over looked what the printer code is for changing the color (black/red).
Thanks,
-TGates
User avatar
Scott
Site Admin
Site Admin
Posts: 2549
Joined: Wed Apr 16, 2003 5:35 pm
Location: Western PA

Re: Printer % code for color 1 and color 2

Post by Scott »

The color changes between black and red have the following hardware restrictions imposed by the printer.
  1. Color printing is only supported in TEXT mode. Pixel mode (graphics mode) only supports one color.
  2. Each line of text must all be the same color. That means you can only switch color once per line, and the entire line must all be the same color.
The colors in the text scripting are built into the font change (%f_ ) commands. In text mode %f1 is the normal print font, in black. %f2 is the large print size in black. %f3 is the normal print size in red. %f4 is the large print size in red.


Scott
TGates
Member
Member
Posts: 19
Joined: Mon Dec 23, 2013 12:38 am
Location: MA, USA
Contact:

Re: Printer % code for color 1 and color 2

Post by TGates »

Great! Thanks, Scott!

-Tom
Post Reply