60
CITIZEN UWP POS Print SDK - Programming Manual
2.3.28. WatermarkPrintAsync method
Syntax
Task<int> WatermarkPrintAsync (int start, int nvImageNumber, int pass, int feed, int repeat)
Parameter
The meaning and the setting range of the parameters are as follows.
Value
[IN/OUT]
Meaning
Setting range
start
[IN]
The start / Stop of the
watermark print
CMP_WM_START:
The start of the watermark print
CMP_WM_STOP:
The stop of the watermark print
nvImageNumber
[IN]
The NV image number
that is stored in the
flash memory of the
printer
1 - 20
pass
[IN]
The first start position
(vertical direction) of
the watermark
0 - 65,535 (dots)
Expressed in the unit of measure given by
feed
[IN]
The blank length each
watermark
0 - 65,535 (dots)
Expressed in the unit of measure given by
repeat
[IN]
The print number of
times of the watermark
0:
Infinite repetition
1 - 65,535:
The repetition number of times
Description
This method is used to print watermark.
This is available with a printer of the CT-D151,CT-E601/651,CT-S251/601II/651II/801II/851II/751
series.
The bitmap image stored in the flash memory of the printer is printed out as watermark.
To use this method, you need to register of the logo in advance. Logo registration, please store it by
using the "POS Printer utility" of utility software for the printer.
When the printing of watermark was stopped in CMP_WM_STOP, all other arguments are ignored
Return value
Return CMP_SUCCESS (0) in success. Please refer to "
" for the error code except it.
Example
await printer.WatermarkPrintAsync( ESCPOSConst.CMP_WM_START, 1, 0, 0, 0 );