Subject: | |
From: | |
Reply To: | |
Date: | Fri, 21 Feb 2003 11:29:25 -0800 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
How about:
:file x;dev=<ldev#>,1,1
:print someshortfile > *x
then check the error code
----- Original Message -----
From: "Brice Yokem" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, February 21, 2003 8:39 AM
Subject: [HP3000-L] MPE Print Device Check
> I have been looking for an automated way to determine
> if a device is a print device. I wanted to do this in a job,
> so that if a device is not a printer, it would skip part of the
> job and avoid a failure.
>
> I was hoping there was a way to set a variable somehow
> indicating the device type, so this type of check can be
> done at the colon prompt level, instead of having to write
> a program to do it.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|