Set Graphics Density (Decsgd) - Printronix P5000 Series Reference Manual

Lg programmer’s reference manual
Hide thumbs Also See for P5000 Series:
Table of Contents

Advertisement

Chapter
2

Set Graphics Density (DECSGD)

Set Graphics Density (DECSGD)
ASCII Code
Hex Code
Dec Code
Purpose
DiscussionDECSGD controls darkness via the density of the physical pixels.
horizontal (Psh)
vertical (Psv)
x-density
y-density
52
ESC [ Psh ; Psv & {
1B 5B Psh 3B Psv 26 7B
27 91 Psh 59 Psv 38 123
Sets the darkness of drawn images.
It does not change the resolution of the image (logical pixels),
only the darkness of the segments drawn.
NOTE:Psh and Psv do not affect the density of plotted text.
Text density comes from the current font.
DECSGD sets the density for graphics (sixels, logos, vectors,
block characters, and bar codes). The selective parameters,
Psh and Psv, designate the horizontal and vertical dot
densities used for plotting graphics.
Psh Parameter (Psh) selects the horizontal dot density.
Psv Parameter (Psv) selects the vertical dot density.
The actions of Psh and Psv are dependent on the print
orientation because x-direction print densities differ
significantly from y-direction print densities. (This is the only
printer instruction that is directly dependent on the current
orientation setting.) Table 6 defines how orientation is
designated by Psh and Psv.
Table 6. Psh and Psv Orientation
Direction
Portrait (Default)
same as x
same as y
same as horizontal
same as vertical
Use Table 7 and Table 8 with Table 6 to establish the exact
orientations designated by Psh and Psv.
Landscape
same as y
same as x
same as vertical
same as horizontal

Advertisement

Table of Contents
loading

Table of Contents