HP3000-L Archives

February 2003, Week 3

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:
David Powell <[log in to unmask]>
Reply To:
Date:
Fri, 21 Feb 2003 11:29:25 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
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 *

ATOM RSS1 RSS2