Esc t data gs – Compuprint MDP40B Programmer Manual User Manual
Page 203

C-61
If any errors occur during the read operation, the answer to the status request (ESC j)
will be:
ESC r r
no character found
ESC r q
read/check error
In a magnetic read operation, it may happen that all the data in the read answer is
correct (no DEL in the data field), but a read error is indicated when the status request
is made. This is caused by the detection of an error in the LRC calculation, so we
recommend that a read command should always be followed by a status request.
Since after the execution of the command the position of the document is unknown, its
subsequent positioning must be given as an absolute position.
The command is not accepted (command specification error) if it is sent inside a
printing field or the option is not present.
ESC t data GS
Data to be recorded on the magnetic stripe. (Olivetti PR2, PR40+, 2845)
ASCII Code
ESC t data GS
Hexadecimal Value
1B 74 data 1D
Decimal Value
27 116 data 29
Sets the data to be recorded according to the previously selected standard (from the
line or the Set-Up). The command is not accepted (command specification error) if:
• It is sent inside a printing field.
• There are more than 105 data items to be recorded in a single field or 45 in field
duplication.
• The data is not in column 3 of the ASCII codes.
• It is not followed by ESC \.
• A device other than the front paper stand is selected.
• The option is not present.