User`s manual
85
MP-4200 TH Programmer’s Manual - Revision 1.0
[Details] • If d is outside of the range, the printer only feeds paper and processes incoming data as
normal data.
•Ifthehorizontalsizeexceedsprintingarea,theprinteronlyfeedsthepaper.
•Thiscommandfeedsasmuchpaperasisrequiredtoprintthebarcode,regardlessoftheline
spacingspecifiedbyESC2orESC3.
•Thiscommandisenabledonlywhennodataexistsintheprintbuffer.Whendataexistsinthe
print buffer, the printer processes the data following m as normal data.
•Afterprintingbarcode,thiscommandsetstheprintpositiontothebeginningoftheline.
•Thiscommandisnotaffectedbyprintmodes(emphasized,double-strike,underline,character
size, white/black reverse printing, or 90° rotated character, etc.), except for upside-down
printing mode.
[References] GSH,GSf,GSh,GSw
GS r n
[Function] Transmit status.
[Format] ASCII GSrn
Hexadecimal 1D72n
Decimal 29114n
[Range] n=1,2,49,50
[Description] Transmitsthestatusspecifiedbynasfollows:
n Function
1,49 Transmit paper sensor status.
2, 50 Transmit drawer kick-out connector status.
[Details] •WhenserialinterfacewithDTR/DSRcontrolisbeingusedtheprintertransmitsonly1byte
after confirming the host is ready to receive data. If the host computer is not ready to receive
data,theprinterwaitsuntilthehostisready.WhenserialinterfacewithXON/XOFFcontrolis
beingusedtheprintertransmitsonly1bytewithoutconfirmingtheconditionoftheDSRsignal.
• This command is executed when commands bytes are processed in the receive buffer.
Therefore, there may be a time gap between receiving this command and transmitting the
status, depending on the receive buffer status.
•WhenAutoStatusBack(ASB)isenabledusingGSa,itispossibletodifferentiatestatus
transmittedbyGSrandbyASB.
•Thestatustypestobetransmittedareshownbelow:
oPapersensorstatus(n=1,49)
Bit On/Off Hex Dec Function
0, 1 Off 00 0 Paperrollnear-endsensorstatus:OK.
On 03 3 Paper roll near-end sensor status: low paper.
2,3 Off 00 0 Paperrollendsensorstatus:OK.
On 0C 12 Paper roll end sensor status: low paper.
4 Off 00 0 Not used. Fixed to off.
5,6 - - - Undefined
7 Off 00 0 Not used. Fixed to off.
Bits2and3:Whenpaperendsensordetectsapaperend,theprintergoesofflineanddoesnot
executethiscommand.Therefore,bits2and3donottransmitthestatusofpaperend.
oDrawerkick-outconnectorstatus(n=2,50)