Sixel Graphics Commands. Genicom P600, 5000 Series, GEK 00031B, GEK 00031B

Add to My manuals
314 Pages

advertisement

Sixel Graphics Commands. Genicom P600, 5000 Series, GEK 00031B, GEK  00031B | Manualzz

Sixel Graphics Commands

DECGCR ($)

DECGNL (-)

Graphics Carriage Return: Moves the graphics active horizontal position to the graphics left margin.

Format

$

Graphics Next Line: Moves the graphics active position to the graphics left margin and down one line of sixels (six actual grid units).

Format

Description

This command is affected by page coordinate bounds.

Chapter 8. PPL3 Plus Emulation

258

GEK-00029B

DECGRA (") Set Raster Attributes: Defines the pixel aspect ratio, overriding Ps1 of the protocol selector. DECGRA also defines the extent (size) of the raster. Level 3 printers ignore the extent parameters.

Format

“ Pn1 ; Pn2 ; Pn3 ; Pn4

Description

This command must precede picture-definition information requiring an aspect ratio: sixel printable characters (sixel data, 3/15-7/14), the

Graphics New Line (DECGNL) command and, by extension, Graphics

Repeat Introducer (DECGRI) and Graphics Carriage Return

(DECGCR). Otherwise, this command is ignored. If multiple DECGRA sequences are received, only the last one is accepted.

Parameter Description

Pn1

Pn2

Pn3

Pn4

Pixel aspect ratio numerator

Pixel aspect ration denominator

Horizontal extent

Vertical extent

Pn1 describes the vertical size of a pixel in an arbitrary distance unit.

Pn2 describes the horizontal size of a pixel in the same distance unit.

For example, to define a pixel to be half as wide as it is tall, send 200;

100 for Pn1 and Pn2.

The pixel aspect ratio times the horizontal grid size (Ps3 of the protocol selector) yields the vertical grid size.

Pn3 and Pn4 define the horizontal and vertical extent, respectively, in pixels. Level 3 printers ignore these parameters. Page composition software can include these parameters for compatibility with video terminals.

Error Handling

If Pn1 or Pn2 is greater than 32K, the value 32K is used. If Pn1 or

Pn2 is 0 or omitted, the printer sets it to 1.

The maximum aspect ratio supported by the printer is 1: 10 or 10: 1

(after reducing the ratio to the lowest possible format).

The maximum parameter implemented for DECGRA is 999 (decimal).

If the Set Raster Attributes sequence is received after a sixel printable character or another sixel control code is received, the command is ignored.

Any additional parameters received are ignored.

GEK-00029B

259

5000 Series Programmer’s Manual

DECGRI (!) Graphics Repeat Introducer: Repeats the following sixel a specified number of times.

Format

! Pn

Description

The printer repeats the sixel following the DECGRI sequence Pn times.

The repeat function supports parameters large enough to cover the largest print line at the smallest grid size, up to 32K.

The following examples illustrate repeat sequences:

! 1 0 ?

! 6 @

Error Handling

Repeats 10 graphics spaces

Repeats 6 patterns of top dot

2

3

4

Ps1

0

1

7

8

5

6

9

>9

A repeat count of zero or omitted is treated as a repeat count of one.

Values that exceed the maximum value are treated as the maximum value. If no sixel printable character follows the repeat count, the repeat count is ignored.

If a graphics control code is received within a DECGRI sequence, the repeat sequence is ignored. This includes sequences in the range 21 to 2F, 3A, and 3C to 3E. If multiple parameters are received

(separated by semicolons), the printer uses the first parameter and ignores the rest.

Aspect

Ratio

200:100

200:100

450:100

300:100

250:100

183:100

150:100

130:100

112:100

100:100

200:100

50

5000 Series

Appr. Horz.

Grid Size

True Vert.

Grid Size

100

50 100

22

33

40

100

100

100

54

66

77

89

100

50

100

100

100

100

100

100

PPLIII

Appr. Horz.

Grid Size

144

True Vert.

Grid Size

72

144 72

324

216

180

72

72

72

132

108

94

81

72

144

72

72

72

72

72

72

Chapter 8. PPL3 Plus Emulation

260

GEK-00029B

advertisement

Related manuals

Download PDF

advertisement

Table of contents