Programmer's Application Manual Additional commands in Epson emulation
Vertical positioning from the top (absolute) Data Structure ASCII ESC [ ! p hex. 1B 5B 21 70 dec. 27 91 33 112 Function This command feeds a paper to the specified vertical position from the upper edge of a paper. = Positioning in vertical direction by n/180 inch ( = 1 to 9999) The permissible upper limit of the parameter value of is specified by the Form Length defined in the setup menu. Characters stored in the printer will be printed by this command.
Vertical positioning from the bottom (absolute) Data Structure ASCII ESC [ " p hex. 1B 5B 22 70 dec. 27 91 34 112 Function This command feeds a document to a specified vertical position in relation to the lower (bottom) edge of a paper. = Positioning in vertical direction by n/180 inch (n=1 to 9999) The permitted upper limit of the parameter value of is specified by the page length defined in the setup menu. Characters stored in the printer will be printed by this command.
Country-specific character sets 0, 6 ISO 8859-2 East Europa 1, 7 ISO 8859-5 Cyrillic 2, 8 ISO 8859-7 Greece 3, 9 ISO 8859-8 Hebrew 4, 10 ISO 8859-9 Turkey (CodePage 920) 5, 11 ISO 8859-15 Euro (CodePage 923) 12–255 (no change) Ejecting document/loading position of next document Data Structure ASCII ESC [ $ p hex. 1B 5B 24 70 dec. 27 91 36 112 Function This command ejects a loaded document; a parameter specifies the position of the next loaded document.
Reading a MSR-H track Data Structure ASCII ESC [ " r hex. 1B 5B 22 72 dec. 27 91 34 114 Function The MSR track is read using this command. The desired options are pre-set, if necessary, via the command ’Parameter setting for MSR-H’ (CSI ... ! r: number of reading attempts, recording mode, position of the magnetic stripe, etc.
Deleting a MSR-H track Data Structure ASCII ESC [ % r hex. 1B 5B 25 72 dec. 27 91 37 114 Function The vertical position on the magnetic stripe fixed at the transfer of the MSR parameters (CSI ... ! r) is overwritten with ’ZERO’ characters, the MSR track is deleted (valid only if MSR-H is installed). Setting control points/initializing control cycle Data Structure ASCII ESC [ ! t hex. 1B 5B 21 74 dec.
Detecting document edge Data Structure ASCII ESC [ # t hex. 1B 5B 23 74 dec. 27 91 35 116 Function This command is accepted and ignored. Activating passbook processing Data Structure ASCII ESC [ $ t hex. 1B 5B 24 74 dec. 27 91 36 116 Function This command is accepted and ignored. Specifying horizontal leading edge Data Structure ASCII ESC [ % t hex. 1B 5B 25 74 dec. 27 91 37 116 Function This command selects the reference edge by n.
Setting control point II Data Structure ASCII ESC [ ) t hex. 1B 5B 29 74 dec. 27 91 41 116 Function This command triggers the release of an acknowledgement signal to the processor interface if the last mechanical procedure was started in the printing unit and no error has occurred at this point in time. The printer will return the same value of with the same command sequence as this command to PC as a response. = value freely definable by the application in the range 0 to 9999.
Selecting impact force Data Structure ASCII ESC [ , t hex. 1B 5B 2C 74 dec. 27 91 44 116 Function This command selects the impact force of the print head. If the printout of copies is too weak, the impact force can be increased. Normally this function should be switched off, as the noise level and the print head attrition will increase.
Special printer messages Data Structure ASCII ESC [ " z hex. 1B 5B 22 7A dec. 27 91 34 122 Function Printer response after requesting special printer messages.
Requesting printing unit parameters Data Structure ASCII ESC [ # z hex. 1B 5B 23 7A dec. 27 91 35 122 Function This command requests for informations about printer option unit etc (see below). = 0 Response without parameter n8 (printer type) = 1 Response with parameter n8 (printer type) The printer will return the information with ESC [ n1 ... n9 # z. Printing unit parameters Data Structure ASCII ESC [ n1...n9 # z hex. 1B 5B n1...n9 23 7A dec. 27 91 n1...
Barcode printing Data Structure ASCII ESC [ ; ; ; * r STX (data) ETX hex. 1B 5B 3B 3B 3B 2A 72 02 (data) 03 dec. 27 91 59 59 59 42 114 2 (data) 3 Function Prints barcode according to the characteristics defined by the following parameters. The “;” separates the parameters. The final code ("*" "r") closes the parameter part. The barcode data is enclosed with STX (start of text) and ETX (end of text).