Chapter 4 — ESim Commands
ESim for the PC4 and PF8 Printers Programmer’s Reference Manual
107
Remarks:
The q command causes the image buffer to be formatted to match the
label width, that is width is traded off for increased length within the
same memory size.
The q command also automatically sets the margins according to the
following rule:
(Number of dots on printhead - label width in
dots) / 2 (center-aligned)
Example:
This example sets the label width to 416 dots.
q416
R - Set Reference Point
Purpose:
Use this command to move the reference point for the X and Y axis.
All horizontal and vertical measurements in other commands use the
setting for R as the origin for measurements.
Syntax:
Rp
1
,p
2
.
Note:
If an R command (reference point) is sent after a q
command, the image buffer is automatically reformatted to
match the width of the printhead and the margins are reset
accordingly.
Note:
At 300 dpi, a maximum label of 1248 dots can be set.
However, the print image is not aligned at the center, and the
data in the outer margins (beyond q1232) is lost.
R Command Parameter Descriptions
Parameter
Description
p
1
Horizontal (left) margin measured in dots.
Default is 000.
p
2
Vertical (top) margin measured in dots.
Default is 000.
Summary of Contents for EasyCoder PC4
Page 1: ...Programmer s Reference Manual ESim for the PC4 and PF8 Printers...
Page 4: ...iv ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 10: ...x ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 14: ...Before You Begin xiv ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 43: ...29 4 ESim Commands This chapter contains a comprehensive list of ESim commands...
Page 144: ...Chapter 4 ESim Commands 130 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 148: ...Chapter 5 ESim Fonts 134 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 168: ...Chapter 6 Code Pages 154 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 178: ...Chapter A Error Handling 164 ESim for the PC4 and PF8 Printers Programmer s Reference Manual...
Page 179: ......