EasyManuals Logo

BIXOLON SRP-270 Reference Guide

BIXOLON SRP-270
50 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #17 background imageLoading...
Page #17 background image
POS/Mobile Printer
Rev. 1.00
- 17 -
3-10 PrintTextW
Print 2Bytes texts.
int PrintTextW(const char* text, const int alignment, const unsigned int attribute,
const unsigned int textSize, const unsigned int codePage)
[Parameters]
* const char* text
[in] String with null as a terminator. Send the text data to print.
* const int alignment
[in] Set the text alignment.
Constant
Value
Description
ALIGNMENT_LEFT
0
Align to the left
ALIGNMENT_CENTER
1
Align to the center
ALIGNMENT_RIGHT
2
Align to the right
* const unsigned int attribute
[in] Set the text attributes. The following values can be applied in duplicate.
Constant
Value
Description
ATTR_FONTTYPE_A
0
Set to Font A. Print with the default device font.
ATTR_FONTTYPE_B
1
Set to Font B
ATTR_FONTTYPE_C
2
Set to Font C
ATTR_BOLD
4
Add Bold
ATTR_UNDERLINE_1
8
Add 1-dot underline
ATTR_UNDERLINE_2
16
Add 2-dot underline
ATTR_REVERSE
32
Add the reverse text attribute.
* const unsigned int textSize
[in] Set the text size. The width and height scale can be used in duplicate.
Constant
Value
Description
TS_WIDTH_0
0x00
Set the width scale to x1.
TS_WIDTH_1
0x10
Set the width scale to x2.
TS_WIDTH_2
0x20
Set the width scale to x3.
TS_WIDTH_3
0x30
Set the width scale to x4.
TS_WIDTH_4
0x40
Set the width scale to x5.
TS_WIDTH_5
0x50
Set the width scale to x6.
TS_WIDTH_6
0x60
Set the width scale to x7.
TS_WIDTH_7
0x70
Set the width scale to x8.

Other manuals for BIXOLON SRP-270

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the BIXOLON SRP-270 and is the answer not in the manual?

BIXOLON SRP-270 Specifications

General IconGeneral
ColorNo
Maximum print size-
Media thickness76 mm
Print technologyDot matrix
Power requirements120-230VAC
Standard interfacesParallel, Serial

Related product manuals