Specifications
No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
85
SHEET
84
3.64.BiESCNStoreImage
[Function]
Register a Crop image.
[Format]
int BiESCNStoreImage(int nHandle, DWORD dwFileIndex, LPSTR pFileID,)
LPSTR pImageTagData, BYTE bCropAreaID);
[Argument]
int nHandle
Select a printer handle value. Specify a return value of BiOpenMonPrinter() to the handle value.
DWORD dwFileIndex
Select FileIndex that is identification data of the Crop image to be saved.
NULL can be selected.
LPSTR pFileID
Select FileID that is identification data of the Crop image to be saved.
Selectable length of a character string is up to 64 bytes.
NULL can be selected. The symbols \ / : , ; * ? “ < > and | cannot be used.
LPSTR pImageTagData
Select ImageTagData that is identification data of the Crop image to be saved.
Selectable length of a character string is up to 64 bytes.
NULL can be used. The symbols \ / : , ; * ? “ < > and | cannot be used.
BYTE bCropAreaID
Select CropAreaID that has already been defined by using BiESCNDefineCropArea().
Selectable values are 1 to 255.
[Return value]
SUCCESS(0) is returned if the execution is successful. If an error occurs, one of the following error codes (negative value)
is returned:
ERR_HANDLE(-60) The handle value that selects the printer is incorrect.
ERR_NO_MEMORY(-50) Lack of memory.
ERR_PARAM(-90) Parameter error.
ERR_NOT_SUPPORT(-100) Not supported.
ERR_DISK_FULL(-170) Lack of remaining memory.
ERR_NO_IMAGE(-180) Image data is not present.
ERR_ENTRY_OVER(-190) Number exceeding the maximum number of being able to be
registered cannotbe registered.
ERR_CROPAREAID(-200) Crop area selected is not present.
ERR_EXIST(-210) Data selected is already present.
ERR_IMAGE_FILEOPEN(-230) Failure in opening image data file
ERR_IMAGE_UNKNOWNFORMAT(-240)
Incorrect in formatting image data file.
ERR_IMAGE_FAILED(-250) Failure in creating image data file.
One of the following errors is returned when an error occurs because
image data is not present in the WORK
AREA or an error occurs during creation of the WORK AREA.
ERR_WORKAREA_NO_MEMORY(-260)
Failure in creating the WORK AREA because of lack of memory.
ERR_WORKAREA_UNKNOWNFORMAT(-270)