Setprintdirectioninpm - BIXOLON SRP-270 Reference Manual

Linux sdk guide for pos/mobile printer
Hide thumbs Also See for SRP-270:
Table of Contents

Advertisement

3-27 SetPrintDirectionInPM

Set the printing direction in the Page Mode.
int SetPrintDirectionInPM (int printDirection)
[Parameters]
* int printDirection
printDirection
PAGEMODE_ROTATE_0
PAGEMODE_ROTATE_90
PAGEMODE_ROTATE_180
PAGEMODE_ROTATE_270
[Return Values]
Constant
SUCCESS
WRITE_ERROR
BAD_ARGUMENT
NOT_SUPPORT
* Example
ConnectToPrinter(...........);
......
// Select Page Mode
if (SelectPageMode(true) != SUCCESS)
return;
SetPrintAreaInPM(0, 0, 416, 416);
SetPrintDirectionInPM(PAGEMODE_ROTATE_90);
......
PrintDataInPM();
Rev. 1.00
Value
Direction
48
Left -> Right
51
Top -> Bottom
50
Right -> Left
49
Bottom -> Top
Value
0
-105
-117
The specified argument is not correct.
-124
- 39 -
POS/Mobile Printer
Starting Position
Top left
Top right
Bottom right
Bottom left
Description
The function is successful.
Data transmission failed.
The function is not supported.
Rotation
0 degree
90 degrees
180 degrees
270 degrees

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents