TRST-A10/TRST-A15 POS Printer OPOS Control Application User’s Manual
TOSHIBA TEC CORPORATION EAA-02450
23
LONG TransactionPrint
(
LONG
Station
,
LONG
Control
);
Parameter
Description
Station
The POS printer to be used. PTR_S_JOURNAL, PTR_S_RECEIPT, or PTR_S_SLIP.
Control
Batch transaction. Vales are as follows:
Value
Meaning
PTR_TP_TRANSACTION
Starts Batch Transaction in Single Side Print mode.
PTR_TP_TRANSACTION1
Starts Batch Transaction in Transaction1 mode where print data is
automatically divided in half and each of half data is printed on the front
side and back side of paper respectively.
PTR_TP_TRANSACTION2
Starts Batch Transaction in Transaction2 mode where Batch
Transaction is performed on a print side specified.
PTR_TP_TRANSACTION3
Starts Batch Transaction in Transaction3 mode where Batch
Transaction is performed on the back side of paper if the print data is
predefined as back side print data.
PTR_TP_PREDEFINE
Enters the Back Side Print Data Predefine mode.
PTR_TP_NORMAL
Prints the buffered data and ends Batch Transaction.
Remarks
This method is called to enter or exit from Batch Transaction mode. If
Control
is
PTR_TP_NORMAL, Batch Transaction is performed and Batch Transaction mode is
exited. If Control is PTR_TP_PREDEFINE, printing is not initiated, but data to be printed
on the back side of paper in PRT_TP_TRANSATION3 mode is saved in the POS printer
and Back Side Print Data Predefine mode is exited.
LONG PrintNormal
(
LONG
Station
,
BSTR
Data
);
PrintBarCode
(
LONG
Station
,
BSTR
Data
,
LONG
Symbology
,
LONG
Height
,
LONG
Width
,
LONG
Alignment
,
LONG
TextPosition
);
LONG PrintBitmap
(
LONG
Station
,
BSTR
FileName
,
LONG
Width
,
LONG
Alignment
);
LONG RotatePrint
(
LONG
Station
,
LONG
Rotation
);
Parameter
Description
Station
The POS printer to be used. PTR_S_JOURNAL, PTR_S_RECEIPT, or PTR_S_SLIP.
Only when the TransactionPrint method is called with the
Control
parameter set to
PTR_TP_TRANSACTION2,
PTR_S_RECEIPT2
can be specified.
PTR_S_RECEIPT2
is to print on the back side of paper.