WIN-PRINT CONTROL Registers
|
The following CONTROL registers are supported for ISC 10 and the Windows print manager. When using ISC 26 for direct routing to the parallel port only control registers 0, 101, 102, 111, 112, 113 and status register 0 are available.
0
|
Reset. Ejects all queued print jobs on the ISC specified. The value must be non-zero.
|
101
|
Change interface select code. For example, to change the interface select code from 10 to 12, you would use:
CONTROL 10,101;12
To later change it back to 10, you would use:
CONTROL 12,101;10
|
102
|
Invoke Printer Setup dialog box. The value must be one. The action of other values is undefined.For 26, this allows changing of the LPT port number - i.e. CONTROL 26,102;4 for LPT 4. The port must be available in Windows.
|
103
|
Invoke Printer Setup dialog box. The value must be one. The action of other values is undefined. For 26, this allows changing of the LPT port number - i.e. CONTROL 26,102;4 for LPT 4. The port must be available in Windows.
|
104
|
Set left margin. Units are 1/100’s mm. Default is 1270. Sets position to left margin, not top of page, so may be used as an indent.
|
105
|
Set top margin. Units are 1/100’s mm. Default is 1270.
|
106
|
Set right margin. Units are 1/100’s mm. Default is 1270. Does not move print position, so may be used as an outdent.
|
107
|
Set bottom margin. Units are 1/100’s mm. Default is 1270. Does not move print position.
|
108
|
Set line spacing. Units are 1/100’s mm.
|
109
|
Set the current print position. Units are 1/100’s mm. Register 109 sets the X and register 110 sets the Y values.
|
110
|
Set the current print position. Units are 1/100’s mm. Register 109 sets the X and register 110 sets the Y values.
|
111
|
End the current print job and flush spooled output. The value must be 1.
|
112
|
PRINTER IS auto eject: 0 = turns auto eject off; 1 = turns auto eject on (this is ON by default).
|
113
|
DUMP auto eject: 0 = turns auto eject off for DUMP commands; 1 = turns auto eject on for DUMP commands. (this is ON by default).
|
114
|
Paper orientation: 1 = Set the selected printer’s paper orientation to portrait; 2 = Set the selected printer’s paper orientation to landscape.
|
115
|
Changes the font associated with the printer to be the name specified in "Fontname". The font name must be truetype font name, else the original font will remain. The printer associated with the ISC will have itsfont changed: CONTROL Isc,115;"Fontname"
|
116
|
Font style control. Changes the font style associated with the printer to the specified attribute:
0 = Normal;
1 = Italic;
2 = Bold;3 = Bold Italic;
4 = Underline;
5 = Underline Italic; 6 = Bold Underline;
7 = Bold Italic Underline.
|
117
|
Changes the font point size for the associated printer to the size recorded in Value: CONTROL Isc,117;Value
|
150
|
Executes a DUMP GRAPHICS
|
151
|
INVERT Option for DUMP GRAPHICS: 1 = Inverts the dump, 0= Non-inverted dump.
|
152
|
Places a frame around the DUMP GRAPHICS area.
|
154
|
Sets X1 or the beginning row for specifying partial screen dumps see GESCAPE PRT,106
|
155
|
Sets Y1 or ending row for specifying partial screen dumps
|
156
|
X2 or beginning column for specifying partial screen dumps
|
157
|
Y2 or ending column for specifying partial screen dumps
|
158
|
Clears dump coordinates.
|
160
|
0 – Turns off PPA printer support; 1 – Turns on PPA printer support
|
|