Downloadnvimage - BIXOLON SRP-270 Reference Manual

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

Advertisement

3-14 DownloadNVImage

Save images to the non-volatile memory area of the printer.
int DownloadNVImage (const char *imagePath, const unsigned int keyCode)
[Parameters]
* const char *imagePath
[in] String for the image file path. JPG, BMP and GIF are supported.
* const unsigned int keyCode
[in] Address of the memory area where image is stored (0 ~ 255).
[Return Values]
Constant
SUCCESS
IMAGE_OPEN_ERROR
MEM_ALLOC_ERROR
* Example
ConnectToPrinter(...........);
......
DownloadNVImage(filePath, 0x01);
......
Rev. 1.00
Value
0
-118
The image file cannot be opened.
-120
The allocation of internal memory failed.
- 26 -
POS/Mobile Printer
Description
The function is successful.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents