Number of Copies in a Print Job


G

Greg Duffin

I have a server print queue that has been placed on hold.
All jobs to this printer remain in the queue. Using a
Visual Basic application I wrote, a user logs in and is
presented with their print jobs. This application shows
the print job number, name, pages to print, copies, etc.
The user then selects the desired print job and release
it. The application calculates the total number of pages
to print and asks for confirmation before releasing the
job. (Pages x Copies)

Through my testing (copies = 2) I have noticed the
following:

Notepad - displays number of copies correctly

Powerpoint - displays number of copies correctly

Excel - creates 2 print jobs

Word - COPIES = ZERO

I need to know how to determine the number of copies in a
Word document. I'm thinking this is stored in the spool
file (possibly shadow file). If this is the case, what is
the format of the spool/shadow file and where/how do I get
the number of copies... then again, maybe not.

Additional Information: I'm using the GetJob function
(EnumPrinters, Printer_info_x, Devmode) as well as
EventVB.API

Thanks in advance for your help
 
Ad

Advertisements

S

Skif

Greg, what are you asking for is not as easy to accomplish as
just call GetJob function. This is of course if you are trying to
create somewhat general application.

You are welcome to download and try Sepialine Argos
and see if it fits your needs.
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top