OIPI COLLATE command (OpenInsight 32-Bit)
At 29 MAR 2006 11:52:24AM Gerald Lovel wrote:
COLLATE is missing from the documented Get_Printer features of OIPI. Most OIPI commands have Get_Printer and Set_Printer versions, so that Set_Printer errors can be avoided by testing Get_Printer first. Is this a command omission in OIPI, or just a documentation issue? With command symmetry, a generic code routine can test the availability of a feature, then set only available features. Lacking a Get_Printer test for COLLATE, the generic routine coding concept fails.
At 31 MAR 2006 09:30AM Bob Orsini wrote:
Gerald, get_printer is not a function to check for valid features. Get_printer just returns current settings. The return value of set_printer is used to see if the feature is valid. However I noticed a bug in the original code from 4.1 that did not return an error if the collate failed. The 8.0 upgrade will have this corrected.
At 31 MAR 2006 10:40AM Gerald Lovel wrote:
Bob,
I think the OIPI documentation examples gave me the (mistaken) impression that Get_Printer was used to test the availability of printer features before attempting to set them. Thank you for correcting my misconception.