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:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Tue, 11 Feb 1997 19:33:36 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
Duane writes:
>
> 3. use hpfopen or fopen to open a file on this device. If you get an
>    error you can use fcheck to see if it was because the device doesn't
>    exist. I don't know what happens if you fclose the file without writing
>    anything. Worst case is you have an empty spool file.

Unfortunately, if the user entered "TAPE" (or some device class/ldev
that resolves to being a tape drive), the process is hung until
an operator does a REPLY.

I tried doing:

   :listspf ; seleq [dev = foo]

to see if he could use LISTSPF in a sneaky manner, but listspf
fails to validate that the "device" is a valid device of any kind :(

Of course, if that bug were fixed (i.e., if the listspf "dev" was
defined to only allow valid printer classes)...then that would be
a workaround to the problem of identifying a valid printer class.

--
Stan Sieler                                          [log in to unmask]
                                     http://www.allegro.com/sieler.html

ATOM RSS1 RSS2