beautypg.com

Demo label showing use of print utility procedures – AMT Datasouth Fastmark 600 User Manual

Page 55

background image

Fastmark 600 Series User's Guide

55

Demo Label showing use of Print Utility Procedures

After the file Pal_Procs_and_Formats.txt has been copied to the printer, a number of new procedures are now defined
in the printer (until powered off). These procedures have been written specifically to demonstrate how to use the
PAL

TM

Print and Program operators to produce printed output. These procedures also provide easy ways to print

various objects without actually needing to know the PAL

TM

language. The print utility procedures may be

incorporated into custom programming or just used as reference to better understand the PAL

TM

Print and Program

operators. After downloading Pal_Procs_and_Formats.txt to the printer, copy the file Proc_Demo.txt to the printer.
This file uses the various print utility procedures defined to produce a demo label. Using a text editor, open the file
Proc_Demo.txt file to see how these various utilities may be used as shown in the demo label print sample below.

The interesting thing to note in the Proc_Demo.txt file is that the only actual PAL

TM

operator used is the showpage

operator. The other procedure names used such as Printfont and Printbarcode are not native PAL

TM

operators but new

procedures defined. A careful study of the definition of these procedures will reveal the actual PAL

TM

operators used.

The basics of creating procedures and using them in the PAL

TM

language should start to make sense after reviewing

how the procedures are defined (in Pal_Procs_and_Formats.txt) and how they can be used (in Proc_Demo.txt). New
procedures performing virtually any task can now be written using the PAL

TM

Print and Program Reference manual

for detailed information on additional PAL

TM

operators. The existing procedures may be modified as needed to meet

requirements or completely new procedures may be written.