Graphics programming issues – CognitiveTPG DLXi User Manual
Page 321

T R O U B L E S H O O T I N G
Graphics Programming Issues
Graphics programming is inherently more complex than ASCII
programming, but is subject to the same problems. Resolve any ASCII
programming problems before spending too much time troubleshooting
graphics files.
If you can successfully print ASCII format files, try printing a proven
graphics label format file. If a proven graphics file will not print,
suspect a printer/host communications problem. Continue
troubleshooting using the information below if a proven graphics file
prints satisfactorily.
Printer does not print graphics.
Cause: You are not sending pure binary data to the printer.
• Cure: Do not try to send graphics data to the printer using a
text editor or word processor. Text editors format their output as
printable characters rather than pure binary. Program graphics
using software that is designed to handle pure binary data.
Cause: the graphics file does not start with the proper character.
• Cure: Always start foreground graphics files with the @
character (ASCII 64). Start background graphics files with the #
character (ASCII 35). Labels programmed in the background do not
print immediately. They remain in memory and print with a
foreground label format.
Cause: Your graphics file does not contain enough data to fill the
specified number of dot rows.
• Cure: Always send exactly enough data to fill the number of
rows specified in the format header line. Consider reducing print
width or use the
command when printing small graphics.
312
Revision F, January 2012, CognitiveTPG