Chapter 4 — Editing in Direct Mode
22 ESim for the PC4 and PF8 Printer Programmer’s Reference Manual
Example
This example creates two copies of a label, edits them from
Direct mode, and prints them. The labels look like the example
generated in Chapter 5. For help, see “Example” on page 24.
The label can be reprinted as many times as you want as long as it
is still stored in the image buffer. Once replaced, it cannot be
retrieved. Counters and variables are not available from Direct
mode.
Before you begin, check the following:
• Set up the printer for the application.
• Determine the length of the label and the gap by printing a
test label. For more information on how to print a test label,
see “Autosensing Mode” on page 3.
• Verify that the graphic to be used in the example has been
downloaded to the printer. For help, see “GM - Store
Graphics In Memory” on page 77. Alternately, omit the GG
(write graphic) command from the example.
Command Explanation
CR/LF to start command structure.
N Clear image memory.
X0,0,4,752,584
Draw a box.
LO0,144,752,4
Disable label taken sensor.
A40,400,1,1,1,1,N,“Made in Sweden”
Write a 90° text line of fixed data.
A24,160,0,5,1,1,R,“EASYCODER”
Write a text line of fixed data.
A24,250,0,4,1,1,N,“MODEL: 501SA”
Write a text line of fixed data.
A472,312,0,4,1,1,N,“Checked by: Dan”
Write a text line of fixed data.
A24,312,0,4,1,1,N,“SERIAL#: 000001”
Write a text line of fixed data.
B280,440,0,1,2,3,96,B,“S00000”
Write a text line of fixed data.
GG24,12,“LOGO”
Write a graphic from graphics memory.
P1
Print command to image buffer, and
prints 1 copy.