beautypg.com

Deleting a msr-h track, Setting control points/initializing control cycle, Requesting document width – Dascom T5040 Programmers Application Manual User Manual

Page 6

background image

6

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.

27 91 33 116

Function

This command triggers the initiation of an acknowledgement signal to the computer
interface if all the jobs transferred up to this command have been processed. 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.

Requesting document width

Data Structure ASCII

ESC [ " t

hex.

1B 5B 22 74

dec.

27 91 34 116

Function

Via this command, the printer control transmits information to the program about the
width of the document currently being processed.

The printer will return the paper width by ESC [ " t . (n: 0 to 9999 unit = 1/180")

Characters stored in the printer will be printed by this command.