GEK-00029B
5000 Series Programmer’s Manual
259
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
Pixel aspect ratio numerator
Pn2
Pixel aspect ration denominator
Pn3
Horizontal extent
Pn4
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.
Summary of Contents for 5000 Series
Page 1: ...GEnicom 5000 Series Programmer s Manual GEK 00031B ...
Page 264: ...Appendix B Font Samples GEK 00029B 264 HIGH SPEED 2 ...
Page 275: ...GEK 00029B 5000 Series Programmer s Manual 275 APPENDIX E DSC CODE CHARTS ...
Page 276: ...Appendix E DSC Code Charts GEK 00029B 276 ...
Page 277: ...GEK 00029B 5000 Series Programmer s Manual 277 ...
Page 278: ...Appendix E DSC Code Charts GEK 00029B 278 ...
Page 279: ...GEK 00029B 5000 Series Programmer s Manual 279 ...
Page 280: ...Appendix E DSC Code Charts GEK 00029B 280 ...
Page 281: ...GEK 00029B 5000 Series Programmer s Manual 281 ...
Page 282: ...Appendix E DSC Code Charts GEK 00029B 282 ...
Page 283: ...GEK 00029B 5000 Series Programmer s Manual 283 ...
Page 284: ...Appendix E DSC Code Charts GEK 00029B 284 ...
Page 285: ...GEK 00029B 5000 Series Programmer s Manual 285 ...
Page 286: ...Appendix E DSC Code Charts GEK 00029B 286 ...
Page 287: ...GEK 00029B 5000 Series Programmer s Manual 287 ...
Page 288: ...Appendix E DSC Code Charts GEK 00029B 288 ...
Page 289: ...GEK 00029B 5000 Series Programmer s Manual 289 ...
Page 290: ...Appendix E DSC Code Charts GEK 00029B 290 ...
Page 291: ...GEK 00029B 5000 Series Programmer s Manual 291 ...
Page 292: ...Appendix E DSC Code Charts GEK 00029B 292 ...
Page 293: ...GEK 00029B 5000 Series Programmer s Manual 293 ...
Page 294: ...Appendix E DSC Code Charts GEK 00029B 294 ...
Page 295: ...GEK 00029B 5000 Series Programmer s Manual 295 ...
Page 296: ...Appendix E DSC Code Charts GEK 00029B 296 ...
Page 297: ...GEK 00029B 5000 Series Programmer s Manual 297 ...
Page 298: ...Appendix E DSC Code Charts GEK 00029B 298 ...
Page 299: ...GEK 00029B 5000 Series Programmer s Manual 299 ...
Page 300: ...Appendix E DSC Code Charts GEK 00029B 300 ...
Page 301: ...GEK 00029B 5000 Series Programmer s Manual 301 ...
Page 302: ...Appendix E DSC Code Charts GEK 00029B 302 ...
Page 303: ...GEK 00029B 5000 Series Programmer s Manual 303 ...
Page 304: ...Appendix E DSC Code Charts GEK 00029B 304 ...
Page 305: ...GEK 00029B 5000 Series Programmer s Manual 305 ...
Page 306: ...Appendix E DSC Code Charts GEK 00029B 306 ...
Page 307: ...GEK 00029B 5000 Series Programmer s Manual 307 ...
Page 308: ...Appendix E DSC Code Charts GEK 00029B 308 ...
Page 309: ...GEK 00029B 5000 Series Programmer s Manual 309 ...