Long Changeprintside (Long Side); Long Setlogo (Long Location, Bstr Data) - Toshiba TRST-A10 User Manual

Pos printer opos control
Hide thumbs Also See for TRST-A10:
Table of Contents

Advertisement

TRST-A10/TRST-A15 POS Printer OPOS Control Application User's Manual

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.
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 Control 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.
PTR_L_TOP
PTR_L_BOTTOM
PTR_TP_2STL_TOP
PTR_TP_2STL_BOTTOM
PTR_TP_2STL_ERROR_TOP
Location
TOSHIBA TEC CORPORATION EAA-02450
(The opposite side from the one selected by
Usable Data
Printable characters,
escape sequences, carriage returns,
newline/line feed
Printable characters, characters of font
style exclusively used for dual side
printers, carriage returns, newline/line
feed
24

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Trst-a15

Table of Contents