What is the most I can know about an error condition?
A full error report from a JetPCL developer format includes 3 separate items. The returned error code by the Child Process (or the JetPCL::Process() function when using the Library or DLL formats) and the values of the ErrType and ErrString fields in the JetPCL shared data structure. For example, if the input file specified was incorrect then the full error report by which the developer would be able to know is the case would be as follows:
• Error Code = 41 for REDOPEN (Reader object could not open input file)
• ErrType = 2 for ENOFILE (standard errno for file not found)
• ErrString = incorrect-file-spec
Refer to the -J switch for an additional way of obtaining these values.