Has anyone successfully been able to convert an image to a spool file using the API QIMGCVTI? Based on the documentation here(
https://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/apis/QIMGCVTI.htm), my program logic appears correct.
I have been tasked with a POC to either convert a PDF and/or a tiff file. If I need to send a copy of the RPG code, I can do so.
------------------------------------TIFF File------------------------------------------------------------
Trying to convert a .tif file produces no spool file, and shows the following in the joblog:
Message ID . . . . . . : CPFB568 Severity . . . . . . . : 40
Message type . . . . . : Diagnostic
Date sent . . . . . . : 09/14/15 Time sent . . . . . . : 09:48:48
Message . . . . : Attribute value not supported for data stream format.
Cause . . . . . : The input data stream attribute has a value that is not
supported for the input data stream format. The reason code is 04.
Reason codes and their meanings:
01 -- Sample format.
02 -- Compression type.
03 -- Number of bytes per pixel.
04 -- Number of samples per pixel.
05 -- Number of bits per sample.
06 -- Photometric interpretation.
Recovery . . . : Create the input data steam with supported input data
stream attribute values. Try the request again.
Bottom
Press Enter to continue.
------------------------------------PDF File------------------------------------------------------------
Trying to convert a .pdf file produces a spool file but cannot print/open/copy it and has the following attribute:
Printer device type . . . . . . . . . : *USERASCII **********I was expecting *AFPDS
Also, the joblog say the following:
Message ID . . . . . . : CPIB532 Severity . . . . . . . : 10
Message type . . . . . : Information
Date sent . . . . . . : 09/14/15 Time sent . . . . . . : 09:53:01
Message . . . . : Input resolution not supported.
Cause . . . . . : The resolution specified for the input data stream is not
supported. A default resolution of 300 will be used. The reason code is
01.
Reason codes and their meanings:
01 -- Horizontal resolution not supported.
02 -- Vertical resolution not supported.
Bottom
Thanks
Tripp Harrell
Engineer
EIT Solutions Delivery
Estes Express Lines
Phone 804-353-1900 x2437
Tripp.Harrell@xxxxxxxxxxxxxxxxx<mailto:Tripp.Harrell@xxxxxxxxxxxxxxxxx>
www.estes-express.com<
http://www.estes-express.com/>
For More Than 80 Years—Delivering Solutions That Exceed Expectations.
This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.
As an Amazon Associate we earn from qualifying purchases.