
SR200 & SR300 Printer SDK Guide
Page 8
Print on Retransfer Film functions
The API provides the following printing functions:
♦ Image Out Function
♦ Define LUT Function
♦ Print Function
Image Out Function
No. Function Name Explanation
1 int CXCMD_ImageOut
(int iSlot, int iID,
BYTE * pbyPlane,
int iLength,
int iColor,
int iBuffer)
Transfers image data to the printer by using Image Out
command.
pbyPlane Image Data. The size of image data must be
1036 x 664 bytes.
iLength Size of image data in bytes, which must be 1036 x
664.
iColor Kind of image data.
0 if image data is for K (black) ink.
1 if image data is for C (Cyan or blue) ink.
2 if image data is for M (Magenta) ink.
3 if image data is for Y (Yellow) ink.
4 if image data is for UV ink.
5 if image data is for Peel Off.
iBuffer Image Data buffer number. The printer has two
image buffers for all images. Specify:
0 to use Buffer 0.
1 to use Buffer 1.
How to Translate RGB to YMC Planes
The SR200 & SR300 printers support printing to YMC planes to print a colored
image. If the source image is in RGB format, it must be transformed to Y, M and C
planes. Normally, the formula to translate RGB to YMC is as follows.
Y = 255-B, M = 255-G, C = 255-R
About K Printing
K ink is used for crisp, high-quality printing of black text. The data for K ink is
Boolean (or 1 bit per pixel), where 0 stands for white or no printing, and 1 is black
and is printed.
Kommentare zu diesen Handbüchern