It is possible to draw pictures on tickets. This is done by specifying the coordinates for the upper left corner and giving the filename of the picture. The picture must to be placed in the folder “\Storage Card\Media\pictures” on the SD-card.
Command |
Description |
---|---|
@pic"filename.ext" |
Prints the picture given by filename.ext, e.g. @pic”logo.bmp”, the file logo.bmp is assumed to be placed in “\Storage Card\Media\pictures” |
@picfilename.ext |
Without quotes, same as with quotes |
x and y coordinates
The x and y coordinates refers to upper left corner of the picture. The coordinates are not recalculated after the picture is printed. (When printing text the coordinates are moved to a position after the printed text)
Formats
Picture formats supported are Bitmap (.bmp), JPEG (.jpg), and PNG (.png).
Picture Resolution
Both CWT printer types TTP2030 and MP104 printer have the resolution 8 dots/mm. A ticket with a 50 mm printing width (58 mm paper) corresponds to 400 pixels. A 72 mm printing width (80 mm paper) corresponds to 576 pixels.