beautypg.com

Compaq LA36 User Manual

Page 129

background image

C-15

Command Sets

Function

Command

Active position after printing a bar code is the same position as before printing bar code.
After printing bar code, appropriate positioning control commands, see “Positioning

Controls” earlier in this section, must be sent to print additional barcode strings, text or

graphics.
In the following examples, HPA Pn command positions the Active Position at column Pn ,

VPA Pn command positions the Active Position at line Pn.
1. Two barcodes Code 39 on the same line:

DECSBCA CSI 0;;;;;;;;’q
DECBAR(start) data DECBAR(stop) HPA Pn
DECBAR(start) data DECBAR(stop)

2. Two barcodes Code 39 one above the other:

DECSBCA CSI 0;;;;;;;;’q
DECBAR(start) data DECBAR(stop) VPA Pn
DECBAR(start) data DECBAR(stop)

Sixel Graphics Device Control String Envelope

Command

Function

Remarks

DCS

String Introducer

Ps1 ; Pn2 ; Pn3 q Protocol Selector

Ps1 : macro parameter, select horizontal grid size

and pixel aspect ratio. See “Sixel Graphics

Protocol Selector Ps1” later in this section.
Ps2 : ignored.
Pn3 : horizontal grid size - overrides Ps1 for

horizontal grid size - aspect ratio unchanged. See

“Sixel Graphics Grid Size defined by Pn3” later

in this section.

sixel data

Picture data

Includes sixel printable characters and sixel

control codes. See “Sixel Graphics Control

Codes” later in this section.

ST

String Terminator Exit Sixel Graphics mode and return to text mode.