|
I can sent you an *cmd *clp and the *pgm which monitors an outq reads from each new splf the first heading line and send it to an user's message queue. Regards Hannes Rosner -----Original Message----- From: janusz.prusaczyk@big.pl [mailto:janusz.prusaczyk@big.pl] Sent: Friday, August 25, 2000 5:30 AM To: RPG400-L@midrange.com Subject: My own spooling program? Would it be difficult to write a program monitoring OUTQ, getting text from spool files and changing their status based on spool name and USRDTA. To be clear, I would like to write something which would work like this: 1. User prints something, as he/she always does 2. Spool enters OUTQ 3. My program gets notified about new spool 4. My program checks spool name and user data 5. My program gets text from spool file 6. {My program sends this text through network to different Perl program, notifying it about spool name and USRDTA} -OR- {writes this to IFS text file creating unique filename from spool name and USRDTA, IFS file is monitored by my Perl program} -OR- {RPG sends printer control commands to a printer through CA printer session [not network printer with own IP address]} 7. My Perl program does watever I want with received data, in this particular example converts it to RTF and prints. +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.