![background image](http://html.mh-extra.com/html/toshiba/trst-a10-series/trst-a10-series_user-manual_429122053.webp)
TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
53
5) Example of Dual Side Print if OPOS registry 2STPrintingMode=1 or
when TPTR_2STCMD_SET_PRINTINGMODE=1 is specified by DirectIO
Application
OPOS
POS Printer
(*1)
An escape sequence which initiates paper cut or PaperCut method
(*2)
An issue of a command which initiates paper cut or change in mode by the DirectIO method causes a Dual Side
Print to start.
PrintNormal(PTR_S_RECEIPT)
PrintNormal(PTR_S_RECEIPT)
Sends predefined Data1
DirectIO(TPTR_2STCMD_PREDEFINE=0)
Clears predefined data.
DirectIO(TPTR_2STCMD_SET_PRINTINGMODE
=
0)
Single Side Print Mode
PrintNormal(PTR_S_RECEIPT)
PrintNormal(PTR_S_RECEIPT)
Sends Front Side Data4.
Sends Front Side Data5.
PrintNormal(PTR_S_RECEIPT)
Sends Front Side Data7.
Starts printing Data4 to Data7 on the
front side.
(*2)
Starts printing Data1 to Data3 on the
back side.
PrintNormal
(
,ESC|#P or ,ESC|#fP
)
(*1)
Send cut data.
DirectIO(TPTR_2STCMD_PREDEFINE=1)
Starts predefining data.
Sends predefined Data2
PrintNormal(PTR_S_RECEIPT)
Sends predefined Data3
DirectIO(TPTR_2STCMD_PREDEFINE=2)
Ends predefining data.
DirectIO(TPTR_2STCMD_SET_PRINTINGMODE=3)
PrintNormal(PTR_S_RECEIPT)
Sends Front Side Data6.
Back Side Print Data Predefine mode