Printrawdata; Drawtextdevicefont - SATO PV3 Manual

Xamarin sdk
Hide thumbs Also See for PV3:
Table of Contents

Advertisement

7-2-15 printRawData

Sends user-defined data to the printer.
[Syntax]
Task<int> printRawData(byte[] data);
[Parameters]
• byte[] data: Data to be sent
[Returns]
If the method succeeds, the return value is zero(0). Other cases, returns non-zero.

7-2-16 drawTextDeviceFont

Saves data of the character strings to the printer buffer using the bitmap font.
[Syntax]
Task<int> drawTextDeviceFont(string data, int xPos, int yPos, char fontSelection,
[Parameters]
• string data: data for characters to be printed
• int xPos: x axis coordinates of the character string
• int yPos: y axis axis coordinates of the character string
• char fontSelection: font selection
LabelBitmapFont Enumeration
DEVICE_FONT_6PT
DEVICE_FONT_8PT
DEVICE_FONT_10PT
DEVICE_FONT_12PT
DEVICE_FONT_15PT
DEVICE_FONT_20PT
DEVICE_FONT_30PT
DEVICE_FONT_14PT
DEVICE_FONT_18PT
DEVICE_FONT_24PT
DEVICE_FONT_KOREAN1
DEVICE_FONT_KOREAN2
DEVICE_FONT_KOREAN3
DEVICE_FONT_KOREAN4
DEVICE_FONT_KOREAN5
DEVICE_FONT_KOREAN6
DEVICE_FONT_GB2312
DEVICE_FONT_BIG5
DEVICE_FONT_SHIFT_JIS
• int fontWidth: The width expansion ratio of a character. (Range: 1 to 9)
• int fontHeight: The height expansion ratio of a character. (Range: 1 to 9)
Ver. 1.01
int fontWidth, int fontHeight, int rightSpace, int rotation,
bool reverse, bool bold, bool rightToLeft,
int alignment);
Value
'0'
'1'
'2'
'3'
'4'
'5'
'6'
'7'
'8'
'9'
'a'
'b'
'c'
'd'
'e'
'f'
'm'
'n'
'j'
- 21 -
Xamarin SDK
Description
9 X 15 (dots)
12 X 20 (dots)
16 X 25 (dots)
19 X 30 (dots)
24 X 38 (dots)
32 X 40 (dots)
48 X 76 (dots)
22 X 34 (dots)
28 X 44 (dots)
37 X 58 (dots)
16 X 16 (dots) (
English. Numbers 9 X 15
24 X 24 (dots) (
English. Numbers 12 X 24
20 X 20 (dots) (
English. Numbers 12 X 20
26 X 26 (dots) (
English. Numbers 16 X 30
20 X 26 (dots) (
English. Numbers 16 X 30
38 X 38 (dots) (
English. Numbers 22 X 34
24 X 24 (dots) (
English. Numbers 12 X 24
24 X 24 (dots) (
English. Numbers 12 X 24
24 X 24 (dots) (
English. Numbers 12 X 24
)
)
)
)
)
)
)
)
)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pv4

Table of Contents