In article <[log in to unmask]>,
Kevin D. Joseph <[log in to unmask]> wrote:
>I am looking for an intrinsic that I can call from a COBOL program
>to determine if a printer device exists. We need to allow our users to
>enter a device name on a view form. Does anyone know of such a beast?
I usually call the command intrinsic with a FILE X;DEV=xyz command and
check the return cierr/ciwarn value. I don't remember the exact value to
look for, but a simple try in the CI and display of HPCIERR should work
(or is that HPCIERROR?, it's late, and I'm at home).
--
Rick Gilligan
Senior Software Specialist
Computer And Software Enterprises, Inc.
E-mail: [log in to unmask]