home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!MSUKBS.BITNET!OZMINSKI
- From: OZMINSKI@MSUKBS.BITNET (Stephan Ozminski)
- Newsgroups: comp.os.vms
- Subject: Re: Redirect printer queue
- Message-ID: <01GMPXT70NHSA3CW83@MSUKBS.BITNET>
- Date: 23 Jul 92 17:50:00 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Organization: The Internet
- Lines: 25
-
- >
- >Is there any easy and quick way to catch what is sent to a printer queue and
- >redirect it to another file? The only way I can think of is to modify the
- >symbiont. Any suggestions?
- >
- >Gong Su
-
- The closest we can come to what might help you is to send the file
- to a generic queue that is stopped. A stopped queue will accept print
- jobs and put them in a pending state. We have a dcl procedure that
- runs in a detached process and checks the queue every 30 seconds and
- modifies the print jobs before moving them with set entry/requeue.
- With a privileged account you could do whatever you want to the print
- job while it is pending, including using f$getqui() to find the file
- name and process the file submitted.
-
- -Stephan
-
-
- Stephan J. Ozminski Bitnet: OZMINSKI@MSUKBS
- Michigan State University Internet: OZMINSKI%KBS.DECNET@CLVAX1.CL.
- MSU.EDU
- W.K. Kellogg Biological Station
- 3700 E. Gull Lake Dr.
- Hickory Corners, MI 49060
-