Echo #03
31 марта 1997 |
|
Presentation-2 - Description of the TEXT PRINT v1.2.
Presentation 2 (C) PAVEL / RS / NEW Program Description TEXT PRINT v1.2 REAL SOFTWARE 1997 The program allows you to print on Printer texts of up to 34k, typed in text editors ZX-ASM, ZX-WORD and similar. Since all known text editors are working with a modified encoding, and most printers the alternative, the program provides transcoding at the last. From the menu "Interface" you can set the type of interface to connect the printer (CENTRONIX or IRPR). It should be noted that the two functions described above apply only to built-in driver, as well as the following Port Setting Function (originally they are configured on the controller PC Byte 01) from the same menu, you can upload a custom driver by selecting "Load DRIVER (to the drive should be a file named "DRIVER", Standard ZX-WORDu if it is not found, ignored by the function). In option "PAPER" you can set paper used (sheet or roll), pagination, number of first pages, number of lines on them, pass between pages, the left and right boundaries text. Click 'Print Mode' you can set the font. The "INTERVAL"-setting the line spacing. Go to "PRINTER FONT", you can choose standard characters from different countries (the program Do not load the fonts, but uses built-in). One of the shortcomings of past versions of the program was uncomfortable when using the printer controller with other than in the PC byte 01 ports. It was necessary for each session to download a new driver. This version of the program at startup she searches the disk file "DRIVER" and if he found, it downloads it and installs current. The next version will integrate the ability to boot into the printer polzovatelskogo font, and the ability to print from a text fragment file. With your suggestions, call phone in Brest: 25-62-76 (Paul). Application. Printer control codes used in Text Print 1.2: Single-byte commands consist of a control code, for example: CR, LF, FF. Double-byte commands consist of two codes - the first of which is a control code ESC, for example: ESC "4", ESC "5." Three-byte command consists of three codes, the first of which - the control code ESC. If the third byte in the team can take only zero or single value (such as on / off of any regime), it can be used as codes 0 and 1, and their symbolic representation of "0" -48, "1" -49. Both methods are equivalent to the encoding, for example: ESC "W0", ESC "W" 0, ESC "W1", ESC "W", 1. Multi-byte command consisting of more than three codes are the first code, as generally, ESC. For example: ESC "Y" 0 5 48 47 46 45 44. Single-byte commands: 07 BEL - SINGLE HORN 2008 BS - return to step 09 HT - horizontal tab 0A LF - Line feed 0B VT - Vertical Tab 0C FF - form feed 0D CR - Carriage Return 0E SO - INSTALLATION RASSH.S. One line 0F SI - SEAL SEAL 11 DC1 - Receiving information, without printing 12 DC2 - OUT SEAL SEAL 1913 DC3 - PRINT adoption Information 14 DC4 - CANCEL Extended Characters 18 CAN - OUT DATA BUFFER PRINT 1B ESC - PREFIX multibyte TEAMS FF DEL - DELETE LAST CHARACTER Multibyte command: ESC "P" - MODE SOLDERING ESC "M" - SEAL SEAL ESC "x" 1 - MODE OF GOOD CHARACTER ESC "x" 0 - OUT OF GOOD CHARACTER ESC "E" - PHASE PRINT ESC "F" - OUT OF PHASE PRESS ESC "G" - Double Impact ESC "H" - OUT DOUBLE IMPACT ESC "W" 1 - Extended Characters ESC "W" 0 - CANCEL Extended Characters ESC "w" 1 - double height ESC "w" 0 - OUT DOUBLE HEIGHT ESC "-" 1 - Line Mode Underline ESC "-" 0 - OUT LINE Underline ESC "p" 1 - PROPORTIONAL PRINT ESC "p" 0 - CANCEL proportional. PRINT ESC "4" - Courses ESC "5" - CANCELLATION OF ITALICS ESC "S" 0 - Superscript ESC "S" 1 - Subscript ESC "T" - OUT OF INDICES ESC "!", 0 ... 255 - CHOICE OF MASS The underlining 128 COURSE 64 ADVANCED 32 DOUBLE IMPACT 16 PHASE PRINT 8 Seals 4 PROPORTIONAL 2 ELITE 1 SOLDERING 0 ESC "0" - set the interval 1 / 8 inches ESC "1" - set the interval 7 / 72 INCH ESC "2" - set the interval 1 / 6 inch ESC "3" n-set the interval n/216 INCH ESC "A" n-set the interval n/72 INCH ESC "J" n-paper feed n/216 INCH ESC "j" n-in the opposite direction ON n/216 ESC "l" n-SET LEFT BORDER ESC "Q" n-SETTING RIGHT BORDER ESC "C" n-page length in lines ESC "C" 0n-PAGE LENGTH IN INCHES ESC "N" n - NUMBER of rows to skip Between pages (0 ... 127) ESC "O" - OUT PASSES ESC "D" n1 n2 ... nk 0 - INSTALLATION POSITIONS Horizontal tab (Initially through 8 characters) ESC "D" 0 - Cancel all the old position ESC "/" n - CHOOSING A VERTICAL CHANNEL TAB (0 ... 7) ESC "B" n1 n2 ... nk 0 - INSTALLATION POSITIONS Vertical tabs for 0-th channel (0> k <17) ESC "b" m n1 n2 ... nk 0-SETTING POSITIONS Vertical tabs for m channel (0> k <17) ESC "B" 0 - Elimination of Vertical Position NOAH tabs for 0 CHANNEL ESC "b" m 0 - liquidation of positions VERT Kal'nei tabs for m CHANNEL ESC "1" 1 ON IMMEDIATE RELEASE ESC "1" 0 SHUTDOWN IMMEDIATE RELEASE ESC "=" - INSTALLATION significant bits ESC ">" - CLEAR significant bits ESC "#" - OUT OF MSB ESC "6" - EXTENSION FOR CODE # 80 ... 9F, FF ESC "7" - OUT EXPANSION (80 ... 9F, FF) ESC "I" 1 - EXTENSION FOR CODE # 00 ... 1F ESC "I" 2 - CANCELLATION OF EXPANSION (00 ... 1F) ESC "%" 1 - GO TO DOWNLOADS MO ESC "%" 0 - switch to in-MO ESC ":" 0 n 0 - BUILT-UP MO In downloaded, with direct FONT FOR n = 0 OR COURSES PTO For n = 1 ESC "'" 0, n, m (a P1 .. P11) n.. (A P1 .. P11) m FORMATION OF CHARACTER MO, Where n - INITIAL boot code m - END CODE. FOR EACH SIM OX Specifies the description of His position As codes P1 ... P11; Parameter "a" POINTS Shifts or not these KO Sketch DOWN to activate the 9-U Needles (BIT 7 = 0-Shifts ,1-NO) And specify the character width for Pro Tional PRINT: - Bits 6 to 4 Getting SYMBOL - Bits 3 to 0 END SYMBOL The maximum length of 12 points MINIMUM - 5 points. ESC "R" n - select the character set n = 0 USSR 6 Italy 1 France 7 USA 2 Germany 8 Japan ENGLAND 3 9 NORWAY 4 Denmark Denmark 2 January 1910 5 Sweden 11 Spain ESC "SYMBOL" n1 n2 (DATA) PRINT GRAPHIC INFORMATION Where "symbol" - ONE OF THE "KLYZ" ESC "*" "mode number" n1 n2 (DATA) PARAMETERS n1, n2 NUMBER VISUAL POSITIONS, AND n1 - Byte, A n2 - SENIOR. Number of items (number of bytes in ARRAY (DATA)) is n1 + n2 * 256. ESC "^" "mode number" n1 n2 (DATA) SITE 9 pin MODE. Each picture position among the masses BE (DATA) Describes 2 bytes. ESC "?" (SYMBOL) (mode number) Reassigning TEAM SCHEDULES, WHERE (CHAR) = "K", "L", "Y" OR "Z". ESC "U" 1 - INTRODUCE unidirectional press ESC "U" 0 - Bi-directional print mode ESC "<" - UNIDIRECTIONAL PRINTING FOR One line. ESC "8" - paper sensor IGNORE ESC "9" - Examine the paper sensor ESC "@" - INITIALIZE PRINTER ESC "s" 1 - REDUCE SPEED TWICE ESC "s" 0 - OUT RATE REDUCTION NOTE: Some of the above regimes can not be implemented in your printer. Detailed descriptions of the modes, see the printer manual.
Other articles:
Similar articles:
В этот день... 21 November