Star Micronics 4111 Printer User Manual


 
5 C s
In GL/2, thecoordinate systemcan be set by the user. The default coordinate
system has itsorigin at the lower leftofthepictureframe (P1), with itsx-axis
horizontally to the right, and the y-axis vertically upwards.
Two types of units are available, plotter units (default) and user units. A
plotter unit is 0.025 mm (0.00098 inch, 0.294 pixels at 300 dpi). User units
can be set as required, different for the x and y axes, using the SC command.
C T P
When importing an existing GL/2 file or creating an GL/2 image within an
application, you use several Escape sequences to set up the picture frame
size, choose the picture frame location, and enter and exit GL/2 mode.
5 E G m
The following escape sequence is used to enter the GL/2 mode:
<ESC> % n B
If n is Oor an even number, the cursor is set to its previous position when
using GL/2. Ifn is 1or an odd number, thecursor stays in itscurrent position.
When n is Oand the printer is entering GL/2 for the first time, the default
cursor position is P1,the lower left corner.
This command sets the cursor and causes subsequentGL/2 commands to be
interpreted as commands, not text to the printed. The printer remains in the
GL/2 mode until an exit or reset command (see below) is received, or until
the printer is switched off.
To exit the GL/2 mode, use the following escape sequence.
<ESC> 7Cn A
If n isO(oran even number), the cursor isresetto itspositionbeforeentering
GL/2; if n is 1(or odd), the cursor remains at its current position. After this
command, subsequent GL/2 commands are treated as text and will be
printed.
99