HP3000-L Archives

February 1997, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Holger Wiemann <[log in to unmask]>
Reply To:
Holger Wiemann <[log in to unmask]>
Date:
Wed, 12 Feb 1997 17:39:41 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (23 lines)
Kevin D. Joseph 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?
>
> thanks,
>
...

Hi Kevin,

try using HPCICOMMAND with cmdimage 'SHOWDEV <your device(name)>'.

If the specified device does not exist, it will return with
CIERROR 1583. (only NM callable)

Not a beautiful but working method without special capabilities.
Regards,

Holger Wiemann
HP Response Center, Germany

ATOM RSS1 RSS2