User manual
37
To store a bmp or pcx file as a logo in flash run the above program with the following line changes.
175 PRINT #1,chr$(27);
250 PRINT #1,chr$(27);
The logo can then be printed as explained above (eg. <SP#,#><LD#><p>).
BMP, PCX vs FGL Image format
The BOCA printer handles both 1-bit BMP & PCX files and FGL image files. PCX files take up less room in
memory than the corresponding FGL image. Therefore, more logos can fit in memory if they are in PCX format
than in the FGL format. However, since the PCX files are saved in compressed form they must be
decompressed and converted to the FGL Image format by the printer before the image is printed. Because of
this internal converting, it takes a little longer to print a PCX image. For most images, the difference in printing
speed is insignificant. BMP files also in a 1-bit format print efficiently and BMP files are more common than
PCX.
Note: Customers wishing to download in the FGL Image format can either write their own software to generate
the data or buy the BOCA IMAGE program. This program converts uncompressed TIFF files to the FGL Image
format for downloading to the printer.
FGL TEXT LOGO (MACRO) SUPPLEMENT
The printer can store a string of FGL commands (a macro) in memory as if they were a downloaded logo image.
These commands could then be used later on to print a ticket by using a print logo command. However, instead
of printing a logo image it will print a ticket according to the FGL commands previously sent. This is a handy
feature when most of the tickets have the same format and only a few lines are different. It is also useful in
cutting down the communication time needed to print each ticket. In order for the FGL commands to be stored
in memory and not be acted on immediately, you must bracket the FGL string with esc (27d) characters. The
bracketed FGL string is then considered an FGL logo. The following is an example FGL logo.
esc <RC10,10><HW2,2>THIS IS AN FGL LOGO<RC100,10><HW1,1>THIS IS A TEST
<RC200,10><HW2,2><F2>HELLO esc
If you sent this command string first, the printer would store it in memory as logo #1. If you had already sent a
logo then it would be logo #2, etc. Then, if you sent a <LD1><p> string later on the printer would print a ticket
according to the above FGL commands. The only restrictions on sending FGL logos to the printer are that you
may not send graphics or logo commands within the FGL string. Also, the first character sent after the esc
character must be the FGL command delimiter (<). The following examples are illegal FGL logo strings.
esc THIS IS A TEST<RC10,10>TEST esc - Does not start with a <.
esc <HW2,2>THIS IS A TEST<SP50,50><LD1> esc - uses a logo command.
esc <RC40,40>THIS IS A TEST<G7>7 bytes esc - uses a graphics command.