You need to specify a printer data structure name on the printer
 f spec and then define the data structure thus:

 * Printer Data Structure:                                  
d PrinterDS       ds                                        
d  FileName                     10    Overlay(PrinterDS:83) 
d  SpoolNumber                   4b 0 Overlay(PrinterDS:123)



>>> otis_the_cat@xxxxxxxxxxx 9/9/2005 7:50:19 AM >>>
   Is there a way to retrieve the spool file number from a spool file
at the
   time it is created? 
   I need to retrieve the user name and job number from the program
status
   data structure but
   also need the spool file number to use a parameters to pass to
another
   program.
    
   I looked in the archives but didn't find anything on this.
    
   Thanks in advance.


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.