HP3000-L Archives

July 2001, 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:
H Lassiter <[log in to unmask]>
Reply To:
H Lassiter <[log in to unmask]>
Date:
Tue, 10 Jul 2001 11:16:20 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (38 lines)
I have a simple command file that does just what you want.  It uses the SPOOLF command with the ;PRINT option.


PARM S1="" , dev="LP", pri=8
if NUMERIC("!S1") then

spoolf O!s1.out.hpspool;print;show;dev=!dev;pri=!pri

else
   echo
   echo Print a spool file that is in the SPSAVE state.
   echo Directs print to DEV=LP,8 (default).
   echo
   echo      PSPSAVE spoolid [out_device] [pri]
   echo
   echo Sample:
   echo          PSPSAVE 1234
   echo
comment   echo Choose from the current spoolfile list below:
comment    spoolf o@;seleq=[state="SPSAVE"];show
endif



Forrest Smith wrote:

> How can I print a spoolfile that is deffered and spsaved?  I have tried to change the outfence on the dev but the spoolfile is deferred so it won't print.  I have copied the file, then tried to print, but the control characters aren't coming across.  I do not have NBSpool.  As far as I can see there is no way to change a spoolfiles characteristics after it has been spsaved.
>
> Forrest Smith
> Ecometry Administrator
> (760) 918-3705
>
> * 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