Specifications
No
EPSON
TITLE
EPSON Advanced Printer Driver for TM series
StatusAPI
Reference Manual
Revision
L
NEXT
86
SHEET
85
Failure in creating the WORK AREA because image data formatting is
incorrect.
ERR_WORKAREA_FAILED(-280) Failure in creating the WORK AREA.
[Explanation]
Crop the CropArea from the image data saved in the WORK AREA by using CropAreaID selected and register the data to
the Crop image saving table.
❑
The cropped data are the same format as the original image data; however, if they are JPEG format, they are
compressed and saved with JPEG standard compression.
❑
If CropArea exceeds the range of image data of the WORK AREA, the excess area is solid white.
❑
The cropped image data are saved in memory or a file by using the saving method selected with BiESCNEnable().
❑
When saving image data in a file, a file name is created by a printer handle and identification data and is saved in the
Windows temporary folder.
Example: Printer handle(nHandle)=1, fileIndex=1, fileID=”AA”, imageTagData=”BBB”,
When Image format=JPEG:
File name: C:\Windows\Temp\1ESCN1_AA_BBB.jpg
When imageTagData=NULL, the file name is as follows:
File name: C:\Windows\Temp\1ESCN1_AA_.jpg
[Note]
❑
Crop image data that can be saved is up to 255 (limited item). The error (ERR_ENTRY_OVER) is returned if a
number exceeding the maximum number of image data being able to be registered is set.
❑
If NULL is selected for all identification data, the error (ERR_PARAM) is returned.
❑
If registered data that match all the selected identification data are already present, the error (ERR_EXIST) is returned.
Capital and small letters are not distinguished for the arguments of pFileID and pImageTagData. If data that is the
same except for the difference of capital and small letters is already present, the error (ERR_EXIST) is returned.
❑
If cropped image data cannot be registered because system memory is lacking or remaining memory on the hard disk is
not enough, the error (ERR_NO_MEMORY/ERR_DISK_FULL) is returned.
❑
When saving in a file, if a file that has the same file name is already present, it is overwritten (the content of the original
data is not guaranteed.)
❑
If image data reading cannot be executed, the error (ERR_NO_IMAGE) is returned.
❑
When executing BiCloseMonPrinter(), all the data defined in Crop image saving table are deleted.
❑
If the format of image data that is read from the printer is raster format (EPS_BI_SCN_RASTER(2)), the
non-supported error (ERR_WORKAREA_UNKNOWNFORMAT) is returned.
[Supported printer]
TM-H6000II with Image Scanner