Default gibts im WSCST keine LPI-Unterstützung ausser 6.
Um diese Einzurichten müssen folgene Einträge ins WSCST:
Set Line Pitch (SLPITCH) Tag
The SCPITCH tag defines the control sequence for setting the number of lines per
inch. The syntax is:
:SCPITCH
VAROFFSET = variable offset in control sequence
VARLEN = variable length
VARTYPE = HIGHLOW|LOWHIGH|CHRDEC|CHRHEX|CHRAN
CNVNUM = conversion ratio numerator
CNVDEN = conversion ratio denominator
DATA = ASCII control sequence.
VAROFFSET
This is a required parameter. This parameter specifies the offset for the variable
portion of the control sequence. This value must be an integer.
Note:
This offset is relative to the beginning of the control sequence.
Therefore, a value of 0 implies that the variable starts in the first byte of
the control sequence.
VARLEN
This is a required parameter. This parameter specifies the length of the variable
portion of the control sequence. This value must be an integer (number of
bytes).
VARTYP
A required parameter. This parameter specifies the type of variable that is used
with the category of printer function tags.
HIGHLOW The byte order of the variable is in high-low order. The most
significant byte is first.
LOWHIGH The byte order of the variable is in low-high order. The most
significant byte is last.
CHRDEC The variable is in character decimal format with no byte order
consideration. All characters are in the range of 0 to 9. Many
Hewlett-Packard ASCII printers use this type of variable.
CHRHEX The variable is in character hexadecimal format with no byte
order consideration. All characters are in the range of A to F.
CHRAN The variable is in character alphanumeric format with no byte
order consideration. All characters are in the range of 0 to 9, A
to Z.
194
OS/400 Workstation Customization Programming V4R3
|
|
CNVNUM
A required parameter. This parameter specifies the numerator of the conversion
ratio. This value must be an integer. The most commonly used value for
CNVNUM is 1.
CNVDEN
A required parameter. This parameter specifies the denominator of the
conversion ratio. This value must be a nonzero integer.
CNVDEN defines the units that are used for the variable portion. For example, if
movement is in 1/300ths, CNVNUM should be defined as 1 and CNVDEN
should be defined as 300.
DATA
A required parameter. This parameter specifies the ASCII control sequence for
the set top margin (inches) printer function. This must be a hexadecimal value.
Frag ich aber nicht, was da rein muss. Ich habe keine Beispiele.
Bookmarks