Printbitmap - Citizen CMP-20 series Program Manual

Mobile thermal printer windows ce and windows mobile module
Hide thumbs Also See for CMP-20 series:
Table of Contents

Advertisement

Variable (Set up height ratio)
LK_TXT_1HEIGHT
LK_TXT_2HEIGHT
LK_TXT_3HEIGHT
LK_TXT_4HEIGHT
LK_TXT_5HEIGHT
LK_TXT_6HEIGHT
LK_TXT_7HEIGHT
LK_TXT_8HEIGHT
[Return Values]
LK_SUCCESS : This value returns when a function succeeds.
LK_FAIL : This value returns when a function fails.

2.6. PrintBitmap

This function is used for printing image files[Bmp file].
long
PrintBitmap(
LPCTSTR BitmapName,
long Alignment,
long Mode
)
[Parameter]
* BitmapName
- Pointer to a null-terminated Unicode string. This value is the bitmap file name with full
path of bitmap file.
* Alignment
- This value is alignment. It sets image alignment..
Variable
LK_ALIGNMENT_LEFT
LK_ALIGNMENT_CENTER
LK_ALIGNMENT_RIGHT
* Mode
- This value is dithering mode. It sets dithering mode.
Variable
LK_BITMAP_NO_DITHER
LK_BITMAP_ERROR_DIFFUSION
LK_BITMAP_ORDERED_DITHER
Description
Set up height ratio as x1
Set up height ratio as x2
Set up height ratio as x3
Set up height ratio as x4
Set up height ratio as x5
Set up height ratio as x6
Set up height ratio as x7
Set up height ratio as x8
Description
Left alignment
Center alignment
Right alignment
Description
Process image as B/W Level
Process image as Error Diffusion Level
Process image as Ordered Dither Level
- 7 -

Advertisement

Table of Contents
loading

Table of Contents