Sixel Graphics Control Codes - Digital Equipment LA400plus User Manual

Matrix printer
Table of Contents

Advertisement

Sixel Graphics Control Codes

Mnemonic
Function
DECGRA
Set Raster
Attributes
DECGRI
Graphics Repeat
Introducer
DECGCR
Graphics Carriage
Return
DECGNL
Graphics Next Line - (2/13)
DECGCI
Graphics Color
Introducer
Parameter
Characters
Parameter
Separator
Sixel Data
Command
Remarks
" (2/2)
Defines the pixel aspect ratio. Followed by
parameters
Pn1 ; Pn2 ; Pn3; Pn4
Pn1: Pixel aspect ratio numerator (A)
Pn2: Pixel aspect ratio denominator (R), where
0 < A/R < 1.5 corresponds to 1:1
1.5 < A/R < 2.25 corresponds to 2:1
2.25 < A/R < 3.75 corresponds to 2.5:1
3.75 < A/R corresponds to 5:1
Pn3 and Pn4 : ignored
! (2/1)
Followed by a numeric value Pn and a sixel data to
be repeated Pn times.
$ (2/4)
Returns active positions to graphics left margins
Returns active position to graphics left margin on the
following line
# (2/3)
Assigns a color to a color number or selects a
predefined color number.
Followed by parameters
Pc ; Pu ; Px ; Py; Pz
Pc: Color number (0-255)
Pu: Universal coordinate system selector: 1=HLS,
2=RGB
Px, Py, Pz: color coordinates.
0-9
Numeric parameters - used on the above control
(3/0) - (3/9)
codes
; (3/11)
Separates parameters - used on the above control
codes
(3/15 - 3/14)
Sixel printable characters.
The printer substracts the offset (3F hexadecimal)
from the received code, assigning each of the
remaining low- order six bits to a grid position:
LSB = top pixel
MSB = bottom pixel
Examples:
? (3/15): blank character
@ (4/0): print only top pixel
A (4/1) : print second-from-top pixel
~ (7/15): print one full column
DEC PPL2 Quick Reference
D-15

Advertisement

Table of Contents
loading

Table of Contents