![background image](http://html.mh-extra.com/html/toshiba/trst-a10-series/trst-a10-series_user-manual_429122024.webp)
TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
24
LONG ChangePrintSide
(
LONG
Side
);
The
Side
parameter indicates the current print side. If a
Side
value is PTR_PS_SIDE1, it means that the
default print side of paper is selected.
If a
Side
value is PTR_PS_SIDE 2, it means that the opposite side of paper from the one that the POS
printer defauts to after power on is selected. (The opposite side from the one selected by
PTR_PS_SIDE1.)
If a
Side
value is PTR_PS_OPPOSITE, it means that the current printing side is switched and printing is
performed on the opposite side of paper.
This method ends successfully even when the same side as the one currently selected is selected.
If
Side
is PRT_PS_SIDE2, printing is performed on the print side specified by PTR_S_RECEIPT2 when
the TransactionPrint method is called with the
Control
parameter set to PTR_TP_TRANSACTION2, even
when the
Station
parameter of the print method is PTR_S_RECEIPT.
This method is also available for normal printing when a method other than the TransactionPrint is called.
(i.e. Dual Side Print specified by the POS printer configuration setting, by the registry, or by the DirectIO
method.)
The
Side
value is automatically set to PTR_PS_SIDE1 after the DeviceEnabled property is set to TRUE,
or right after the TransactionPrint method is called with the C
ontrol
parameter set to
PTR_TP_TRANSACTION2 or to PTR_TP_NORMAL.
LONG SetLogo (LONG
Location
,
BSTR Data);
Parameter
Description
Location
The logo to be set.
PTR_L_TOP or PTR_L_BOTTOM.
PTR_TP_2STL_TOP(BackSide), PTR_TP_2STL_BOTTOM(FrontSide), or
PTR_2STL_ERROR_TOP(Front Side) for Dual Side Print.
Data
The characters used for producing the logo.
Location
Usable Data
PTR_L_TOP
PTR_L_BOTTOM
Printable characters,
escape sequences, carriage returns,
newline/line feed
PTR_TP_2STL_TOP
PTR_TP_2STL_BOTTOM
PTR_TP_2STL_ERROR_TOP
Printable characters, characters of font
style exclusively used for dual side
printers, carriage returns, newline/line
feed