130
Universal Control Commands
USING BASIC TO SEND COMMANDS
Using BASIC, the control sequence to set the top margin to line 6 in DEC
emulation can be sent with the following program:
ASCII sequence:
ESC
[
6
r
Control sequence in decimal:
27
91
54
114
BASIC program:
LPRINT CHR$(27);"[6r";
To set the left margin to Column 6 and the right margin to Column 76 in
IBM Proprinter XL emulation, the following program could be used:
ASCII sequence:
ESC
X
!
L
Control sequence in decimal:
27
88
6
76
BASIC program:
LPRINT CHR$(27);"X";CHR$(6);CHR$(76);
USING BATCH FILES TO SEND COMMANDS
If you are running DOS on your computer, you can create batch files to
send the necessary data stream to the printer. For example, to select 12-
pitch, single-strike printing in Epson emulation, the control command is
ESC ! (1). (The parentheses around "1" identify this as parameter 1,
which in the Epson emulation is decimal or hexadecimal 1—not the ASCII
character 1, which would be decimal 49 or hexadecimal 31.) In this
example, we make use of the fact that, in Epson and IBM #1 character
sets, data byte value 155 is also the ESC control code. Create a batch
file by typing the following at the DOS prompt:
COPY CON 12PITCH.BAT
ECHO ¢!^A > PRN
^Z
•
The first line tells the computer to copy the lines that follow into the file
named "12PITCH.BAT". The ".BAT" extension identifies the file as a
batch file.
Summary of Contents for PowerLite 4100
Page 1: ...4100 PRINTER OPERATOR S GUIDE Part No 066 00428 02 February 12 1998 Rev F ...
Page 2: ...ii Contents ...
Page 22: ...xxii Contents ...
Page 42: ...20 Basics ...
Page 43: ...Operations COMMON OPERATIONS LOADING PAPER JB0 AF1 Loading Paper ...
Page 60: ...38 Operations JB0 AN Printout of IBM 1 U S Character Set Factory Default for IBM Emulation ...
Page 126: ...106 Maintenance ...
Page 191: ...Operator s Guide 171 Use the matrixes below to design your characters AB0 AA1 ...
Page 196: ...176 Universal Control Commands ...
Page 240: ...220 Epson FX 100 Control Commands ...
Page 276: ...256 IBM Proprinter Control Commands ...
Page 365: ...Operator s Guide B 19 INTERFACE CIRCUITS Version 1 JB0 BP1 ...
Page 366: ...B 20 Appendix B Serial Interface Version 2 JD0 DS ...
Page 374: ...C 8 Appendix C Parallel Interface INTERFACE CIRCUITS JB0 BQ2 ...
Page 383: ...Operator s Guide D 9 Main Character Library Upright Draft Characters JB0 BG1 ...
Page 384: ...D 10 Appendix D Character Sets Main Character Library Upright NLQ Characters JB0 BH1 ...
Page 423: ...Operator s Guide D 49 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 A B C D E F ...
Page 426: ...D 52 Appendix D Character Sets ...
Page 450: ......