Black Box 5250 User Manual

Page of 156
46
5250 REMOTE EMULATOR CARD
Table 6-4. Programmable Command Strings
Command String
Function
Initialization string
Initialize printer
5 cpi
5 characters per inch
10 cpi
10 characters per inch
12 cpi
12 characters per inch
15 cpi
15 characters per inch
8 lpi
8 lines per inch
6 lpi
6 lines per inch
Begin draft string
Begin draft-quality printing
Begin NLQ string
Begin New Letter Quality (NLQ) printing
Vertical motion string
Used for vertical increments of the page
Increment (72, 60, 48)
The fraction of an inch used by the vertical 
motion string
Offset to variable data
Number of values before the variable data
Variable multiplier
Number multiplied to the variable to get the 
correct value
Page length string
Used to setup the page length
Offset to variable data
Number of values before the variable data
used 
for the page length string
Length of variable data
Number of values for the variable data
Base to add to variable
Amount added to the variable data to get the 
correct value
Graphics command string Sets the printer to accept graphics characters
For example, to set up an escape sequence for an HP
®
LaserJet
®
III, you
would follow these steps:
1. Find the “6 lpi” control codes in the LaserJet manual.
2. If the manual doesn’t report these codes in hexadecimal, translate
the decimal codes to hex using Appendix B.
3. The HP LaserJet “6 lpi” control codes are: