I only use C for system level stuff and am ashamed to say that I have never
actually printed a report with it.  I would caution you that you may suffer
performance issues by trapping exception messages.  It is fairly expensive
for the system to throw an error.

Buck Calabro
Commsoft; Albany, NY
"Nothing is so firmly believed as
 that which we least know" -- Michel Montaigne
Visit the Midrange archives at

> -----Original Message-----
> From: Eugene Astanovsky 
> Sent: Wednesday, May 02, 2001 9:53 AM
> To:
> Subject:      Print file problem
> By now it is already the second way to solve this problem, I know.
> The first was found as a result of discussion with Bob Crothers. He
> said that he know nothing about how to do that in C, but knows how to
> do that in RPG. That was the clue. I've just set an exception handler
> to monitor status message CPF5004. That does exactly the same job
> generally.
| This is the C/400 Mailing List!
| To submit a new message, send your mail to
| To subscribe to this list send email to
| To unsubscribe from this list send email to
| Questions should be directed to the list owner/operator:

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].