home *** CD-ROM | disk | FTP | other *** search
-
-
- Printer Initialise program (PI.COM).
- ====================================
-
-
- This program will initialise a modern printer through the logical LST:
- device. The initialisation string may follow the command PI and may be
- in a variety of formats although each of the initialisation commands
- should be separated by a space.
-
- Hexadecimal numbers.
- ====================
-
- Hexadecimal numbers should be two digits only and preceded by the #
- symbol. They will be converted to a single hexadecimal byte and sent to
- the LST: device.
-
- Example A>PI #1B #20
-
- A leading zero may be omitted, for example #0D may be entered as #D.
-
-
- Decimal numbers.
- ================
-
- Decimal numbers may be any number in the range 0 to 255. They will be
- converted to a single hexadecimal byte and sent to the LST: device.
-
- Example A>PI 27 32
-
-
- Control characters.
- ===================
-
- These may either be typed as a single character, in which case the BDOS
- will display an up arrow before the character, or may be typed as an up
- arrow followed by another character. In the second case the ordinary
- character will have the `control' operation performed on it before it is
- sent to the LST: device. The latter variation is useful for sending a
- control X or a control R.
-
- In addition the exclamation mark (!) may be used to represent the code
- 1BH (ESC) and the period (.) may be used to represent 00 (NUL).
-
-
- Epson Printer control codes.
- ============================
-
- Owners Epson printers may use the following words in the initialisation
- string to achieve the same effect as the description in the manual.
-
- WORD CODE WORD CODE WORD CODE
-
- NUL 00 BEL 07H HT 09H
- LF 0AH VT 0BH FF 0CH
- CR 0DH SO 0EH SI 0FH
- DC1 11H DC2 12H DC3 13H
- DC4 14H CAN 18H ESC 1BH
- DEL 7FH
-
- Example A>PI FF ESCE ESCG CR LF
-
- Strings.
- ========
-
- Any characters which appear within double quote marks will be output to
- the LST: device exactly as typed.
-
- Example A>PI ESCE ESCG "STRING" CR LF
-
-
- Initialisation from file.
- =========================
-
- If the first character on the input line is a "less-than" sign (<), the
- rest of the line is assumed to be the name of a file. The first record
- only (128 bytes) of the file is read in and used as the initialisation
- string.
-
- Example A>PI < B:PRINT1.TXT
-
- The contents of the file should follow the rules laid out above for the
- various formats.
-
- Lower case
- ==========
-
- Lower case characters may not be sent directly from the CP/M command
- line as the CCP converts all alphabetic characters to upper case. Should
- the user wish to send lower case letters as part of a control sequence,
- he should either include the initialisation string in a file as
- described above or use PI's own command mode which is accessed by simply
- typing PI on its own.
-
- Example A>PI
-
- In the above example, PI will print an asterisk (*) prompt. A command
- line containing upper and lower case letters may be entered here or a
- return to CP/M may be executed by pressing return.
-
- To obtain a short help screen, type a slash (/) as the first active
- character after the program name. Any other characters on the command
- line will be ignored.
-
- Example A>PI /
-
-
-
-
- acter after the program name. Any other characters on the command
- line will be