LPRINT_TO_IMAGE
|
Syntax: |
LPRINT_TO_IMAGE(<Filename>) <Filename> = <STRING-EXPRESSION> |
||
|
Meaning: |
Converts every print page into an image. Like the instruction PRINTER, LPRINT_TO_IMAGE closes
the current print list and starts the print. With the instruction PRINTER the list is printed, with LPRINT_TO_IMAGE image files are created, a
separate file for each page. The page number is added to the file name with
"_<Number>". The ending of <File name> defines the type
of the image file. The following endings are possible under Java at the
moment: jpg jpeg png The ending jpg is converted into jpeg. This function has no effect with DISABLE LPGDI or when LP_AUTORECORDER_ON or LP_RECORDER_ON is active. LPRINT_TO_IMAGE returns the following
results: 0: no error -2: no graphic print (DISABLE LPGDI) -3: LP_AUTORECORDER_ON is active. -4: LP_RECORDER_ON is active. |
||
|
Parameter: |
|
||
|
Sample: |
/* 3 pages have to be
printed. H% = LPRINT_TO_IMAGE("Print.jpg") /* The following file
will be created: /* Print_1.jpeg /* Print_2.jpeg /* Print_3.jpeg |
||
|
See also: |
|