Description of the program TEXT PRINT v1.6
REAL SOFTWARE 1997
The program allows you to print on
printer texts up to 34k in length, typed
in text editors ZX-ASM, ZX-WORD and
similar. Because everyone is famous
text editors work with modified
encoding, and most
ters with an alternative, in the program pre-
recoding to the latter is provided.
From the "INTERFACE" menu you can set
Select the type of printer connection interface
(CENTRONIX or IRPR). It should be noted that
the two functions described above distribute
only for the built-in driver, also
like the following port configuration function
(initially they are configured to control
ler PC Byte 01), from the same menu you can
load custom driver select
there should be a file named "DRIVER"
standard according to ZX-WORDy, if it is not
found function will be ignored). When
At the start of the program, automatic
automatically search for file "DRIVER" and if
it will be found, then it will be destroyedHandling and installation. In the "PAPER" option you
you can set the paper to use
(sheet or roll), country numbering
prostrate, first page number, quantity
lines on them, skipping between pages,
left and right borders of the text. Entering
menu "PRINT MODES" you can set
desired font. Option "INTERVAL" - set-
line spacing.
With your suggestions, call
phone in Brest: (0162) 256-276 (Pavel).
Р.S: There was a mistake in the previous version
bka with printing texts with sequential
there are line feed codes 13.10 (texts
ZX-WORD). At the end of the text there was a piece
from a random set of characters.
Application:
Printer control codes.
Single-byte instructions consist of control
lying code, for example: CR, LF, FF.
Double byte instructions consist of two
codes - the first of which is the control one
ESC code, for example: ESC "4", ESC "5".
Three-byte instructions consist of three
codes, the first of which is control
ESC code. If the third byte in the command can
can only accept zero or one
exact value (for example to enable/
turning off any mode), then you can
use both codes 0 and 1, and their
symbolic representation "0"-48,"1"-49.
Both encoding methods are equivalent, for example
Example: ESC"W0",ESC"W"0,ESC"W1",ESC"W",1.
Multibyte instructions consisting of more than
than of the three codes, have the first code as
usually ESC. For example:
ESC "U" 0 5 48 47 46 45 44.
Single-byte commands:
07 BEL - SINGLE BEEP
08 BS - RETURN TO STEP
09 NT - HORIZONTAL TABULATION
0A LF - LINE FEED
0B VT - VERTICAL TAB0С FF - PAGE TRANSLATION
0D CR - CARRIAGE RETURN
0E SO - INSTALLATION EXP.C. PER ONE LINE
0F SI - COMPACT PRINT
11 DC1 - RECEIVING INFORMATION, WITHOUT PRINTING
12 DC2 - CANCEL COMPACT PRINT
13 DC3 - PRINT RECEIVED INFORMATION
14 DC4 - CANCEL EXTENDED CHARACTERS
18 CAN - CANCEL DATA IN PRINT BUFFER
1B ESC - PREFIX FOR MULTI-BYTE COMMANDS
FF DEL - DELETE LAST CHARACTER
Multi-byte commands:
ESC "P" - SOLDERING MODE
ESC "M" - COMPACT SEAL
ESC "x"1 - QUALITY SYMBOLS MODE
ESC "x"0 - CANCEL QUALITY SYMBOLS
ESC "E" - PHASE PRINTING
ESC "F" - CANCEL PHASE PRINTING
ESC "G" - DOUBLE STRIKE
ESC "H" - DOUBLE STRIKE CANCEL
ESC "W"1 - EXTENDED CHARACTERS
ESC "W"0 - CANCEL EXTENDED CHARACTERS
ESC "w"1 - DOUBLE HEIGHT
ESC "w"0 - CANCEL DOUBLE HEIGHT
ESC "-"1 - UNDERLINE MODE
ESC "-"0 - CANCEL UNDERLINE
ESC "р"1 - PROPORTIONAL PRINTING
ESC "р"0 - CANCEL PROPORTIONAL. SEAL
ESC "4" - ITALICSESC "5" - CANCEL ITALICS
ESC "S"0 - UPPER INDEX
ESC "S"1 - LOWER INDEX
ESC "T" - CANCEL INDEXES
ESC "!",0...255 - SELECT ARRAY
UNDERLINE 128
ITALICS 64
ADVANCED 32
DOUBLE STRIKE 16
PHASE PRINTING 8
COMPACTED 4
PROPORTIONAL 2
ELITE 1
SOLDERING 0
ESC "0" - SET INTERVAL 1/8 INCH
ESC "1" - SET INTERVAL 7/72 INCH
ESC "2" - SET INTERVAL 1/6 INCH
ESC "3"n-SET INTERVAL n/216 INCHES
ESC "A"n-SET INTERVAL n/72 INCHES
ESC "J"n- PAPER FEED AT n/216 INCH
ESC "j"n- REVERSE TO n/216
ESC "l"n- SETTING THE LEFT BOUNDAR
ESC "Q"n- SETTING THE RIGHT LIMIT
ESC "С"n- PAGE LENGTH IN LINES
ESC "C"0n - PAGE LENGTH IN INCHES
ESC "N"n - NUMBER OF SKIPPED LINES
BETWEEN PAGES (0...127)
ESC "O" - CANCEL PASS
ESC "D"n1 n2...nk 0 - SETTING POSITIONS
HORIZONTAL TABULATION(INITIALLY AFTER 8 CHARACTERS)
ESC "D"0 - CANCEL ALL OLD POSITIONS
ESC "/"n - SELECT VERTICAL CHANNEL
TAB (0...7)
ESC "B"n1 n2...nk 0 - SETTING POSITIONS
VERTICAL TAB FOR
0TH CHANNEL (0>k<17)
ESS "b"m n1 n2...nk 0 - SETTING POSITIONS
VERTICAL TAB FOR
m CHANNEL (0>k<17)
ESС "В"0 - LIQUIDATION OF VERTICAL POSITIONS
TAB FOR CHANNEL 0
ESS "b"m 0 - LIQUIDATION OF VERTICAL POSITIONS
KALE TABULATION FOR m CHANNEL
ESC "1"1 ENABLE IMMEDIATE PRINTING
ESS "1"0 DISABLE IMMEDIATE PRINTING
EСС "=" - SETTING THE HIGH BIT
ESC ">" - RESET HIGH BIT
ESC "#" - CANCEL MSB CONTROL
ESC "6" - EXPANSION TO CODES #80...9F,FF
ESC "7" - CANCEL EXPANSION (80...9F,FF)
ESC "I"1 - EXTENSION TO CODES #00...1F
ESC "I"2 - CANCEL EXPANSION (00...1F)
ESC "%"1 - TRANSITION TO LOADING ZG
ESC "%"0 - TRANSITION TO BUILT-IN ZG
ESC ":"0 n 0 - COPYING BUILT-IN
ZG IN LOADABLE, WITH DIRECT
FONT AT n=0 OR WITH COURSE-
PTO AT n=1
ESC "&"0,n,m (a P1..P11)n..(a P1..P11)m
FORMATION OF ZG SYMBOLS,
WHERE n IS STARTING CODEDOWNLOADS,
m - FINAL CODE. FOR EACH SIM
THE VOLA IS GIVEN A DESCRIPTION OF ITS POSITIONS
IN THE FORM OF CODES P1...P11; PARAMETER "a"
INDICATES WHETHER OR NOT TO MOVE THESE CO-
DOWN TO ENGAGE 9TH
NEEDLE (BIT 7 = 0-MOVE,1-NO),
AND SET THE CHARACTER WIDTH FOR PRO-
PORTIONAL PRINTING:
- BITS 6 TO 4 START OF CHARACTER
- BITS 3 TO 0 END OF CHARACTER
MAXIMUM LENGTH 12 POINTS,
MINIMUM - 5 POINTS.
ESC "R"n - SELECT CHARACTER SET n=
0 USSR 6 ITALY
1 FRANCE 7 USA
2 GERMANY 8 JAPAN
3 ENGLAND 9 NORWAY
4 DENMARK 1 10 DENMARK 2
5 SWEDEN 11 SPAIN
ESC "SYMBOL"n1 n2 (DATA),
PRINTING GRAPHIC INFORMATION,
WHERE "SYMBOL" IS ONE OF "KLYZ"
ESC "*" "MODE NUMBER" n1 n2 (DATA)
PARAMETERS n1,n2 SET THE NUMBER
GRAPHIC POSITIONS, WITH n1 -
LOW BYTE, AND n2 IS HIGH BYTE.
NUMBER OF POSITIONS (NUMBER OF BYTES IN THE ARRAY
(DATA)) EQUALS n1+n2*256.
ESC "^" "MODE NUMBER" n1 n2 (DATA)
PRINTING IN 9-NEEDLE MODE.
EACH GRAPHIC POSITION IN THE MASSBE (DATA) IS DESCRIBED BY 2 BYTES.
ESC "?" (CHARACTER) (MODE NUMBER)
REASSIGNING GRAPHICS COMMANDS,
WHERE (CHARACTER) = "K","L","Y" OR "Z".
ESC "U"1- ENTER UNI-DIRECTIONAL PRINTING
ESC "U"0 - BI-DIRECTIONAL PRINTING MODE
ESC "<" - UNI-DIRECTIONAL PRINTING FOR
ONE LINE.
ESC "8" - PAPER SENSOR IGNORE
ESC "9" - PAPER SENSOR QUESTION
ESC "@" - INITIALIZING THE PRINTER
ESC "s"1- HALVING SPEED
ESC "s"0- CANCEL SPEED REDUCTION
NOTE: Some of the above
modes may not be implemented in non-
which types of printers. Detailed descriptions
For details of the modes, read your instructions
th printer.
PAWEL/RS 4.11.97
Share your thoughts about the article