Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1931

List a printer/RIP hard drive contents?

Newsgroups comp.lang.postscript
Date 2014-07-21 07:10 -0700
Message-ID <e53da347-e00a-4892-8de1-1d6a40961ec8@googlegroups.com> (permalink)
Subject List a printer/RIP hard drive contents?
From Malc P <malcrp@gmail.com>

Show all headers | View raw


Hi
I'm a PS newbie and dealing with an old document management system so please bear with me!...

Anyhow, the document management system I'm trying to work with here prints postscript documents with overlays; the overlays are .docs printed to file as .eps files loaded to the RIP on the printer using the following code:

%!PS-Adobe-3.0                                                                  
/InBuf 8192 string def                  %input buffer                           
/WriteToFile                            % writes to file 'filename'             
{                                                                               
        /destination exch (w) file def  % Open dest file                        
        {                                                                       
                currentfile InBuf readstring                                    
                exch destination exch writestring                               
                not { exit } if                                                 
        } loop                                                                  
        destination closefile                                                   
} bind def
(OVERLAYS/PENS0103.PS.p0001.eps) WriteToFile
%!PS-Adobe-3.0 EPSF-3.0                                                       
%%Title: Microsoft Word - PENS0103.doc                                    
%%Creator: PScript5.dll Version 5.2.2                                         
%%CreationDate: 7/15/2014 16:23:41
...yada yada yada to describe the document - in this case "PENS0103.eps"  
%%EOF


What I'd like to be able to do is interrogate the RIP to get the contents of the OVERLAYS directory; whether that's to print it on the printer or return it as strings. Anyone able to help?
Thanks
Malc

Back to comp.lang.postscript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

List a printer/RIP hard drive contents? Malc P <malcrp@gmail.com> - 2014-07-21 07:10 -0700
  Re: List a printer/RIP hard drive contents? luser- -droog <mijoryx@yahoo.com> - 2014-07-22 01:19 -0700

csiph-web