Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Richard <Richard@nugget.demon.co.uk>
Subject: Re: Capturing a print queue
Date: 1998/12/29	[thread overview]
Message-ID: <OTKqsZARpJi2EwAk@nugget.demon.co.uk> (raw)
In-Reply-To: 36829F1A.608D@gecm.com

In article <36829F1A.608D@gecm.com>, Alan Adams <nospam@gecm.com> writes
>Dirty solution:
>
>Make sure the queue is never started.
>Using F$GETQUI from DCL you can find out the file name of the temporary
>file,
>then copy the file, delete the entry from the queue, and do your own
>thing with the file.
>
>Same works from compiled code, use SYS$GETQUI.
>
>GETQUI is probably the most complex system service interface in VMS. The
>HELP examples are useful in DCL, and it's wirth playing with the DCL
>version
>before trying the SYS version, which is even worse.
>
>However, step by step, persistence, and patience produce results.
>
>All this assumes a text printer. Postscript or PCL would be a pain.
>
>(Valium might be useful too.)

Thanks for all this info. I forgot to say that this is for a DEC Alpha
running OSF not VMS. Now I'm beginning to think I asked in the wrong
newsgroup!

The printers are all text printers (thankfully) so it will be a step by
step patient process. You've probably seen my sig so the Valium is quite
appropriate (although the generic is cheaper!)

Cheers
-- 
Richard Eyles                           | General techie anorak
Principal Pharmacist Computer Services  | DOS Win95 AIX HP-Unix (just)
Queen Alexandra Hospital, Portsmouth    | TCPIP IPX Novell



      reply	other threads:[~1998-12-29  5:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-22  5:00 Capturing a print queue Richard
1998-12-22  5:00 ` Brian Schenkenberger, VAXman-
1998-12-23  5:00   ` Richard
1998-12-24  5:00 ` Alan Adams
1998-12-29  5:00   ` Richard [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox