Subject: | |
From: | |
Reply To: | |
Date: | Tue, 11 Apr 2000 10:54:12 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
At 10:47 AM -0600 4/11/00, [log in to unmask] wrote:
>I know that what I ask can be done but I haven't found the answer yet. We
>have a spoolfile that is approx. 30,000 lines. The printer jammed at 20,000
>lines and we don't want to send it all over again. We need to cut out
>lines 5/20,000 (1/5 contain esc. sequences to toggle macro's on our Xerox
>printer so they need to stay with the new spoolfile).
Can you put lines 1/5, your escape sequences, into a flat file? If so, then
this becomes an "environment file". Let's assume you put the escape
sequences into a file (just a regular flat file) called MYENV.PUB, and that
the spoolfile you wish to partially reprint is #o1234. Then you could do...
:file newspfl;dev=lp,1,1;cctl;env=myenv.pub
:spiff
>copy 1234;20001/last,*newspfl
>exit
:showout
And voila, you have a new spoolfile called "newspfl" that starts with line
20001 of your original spoolfile, and has all the printer control in lines
1/5 (or however many lines actually exist in your environment file.).
Hope this helps!
Barry Lake [log in to unmask]
Allegro Consultants, Inc. www.allegro.com
(408)252-2330
|
|
|