Solved

Check for spooling of printer

Posted on 2004-04-15
5
1,052 Views
Last Modified: 2012-06-22
Hi,

I have a module which converts a crystal report to a PDF file using PDF995 as printer. After that the module proceed to do some other processing on this PDF file. The problem occurs while the module starts to do some other processing while the PDF is still spooling and its not generated yet. Is there a way to check the spooling to PDF995 printer? whether it is finished or not so that the module will only proceed after spooling is completed?

Kirti
0
Comment
Question by:kirtirani
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 17

Accepted Solution

by:
zzzzzooc earned 75 total points
ID: 10848684
If it acts as a printer, regular Printer API may apply but I'm not sure.

Some articles to look over..

"Getting the status of the selected printer from Visual Basic"
http://www.merrioncomputing.com/Programming/PrintStatus.htm

"Reading the jobs in the print queue from Visual Basic"
http://www.merrioncomputing.com/Programming/PrintJob.htm

"Monitoring a print queue from Visual Basic"
http://www.merrioncomputing.com/Programming/WatchPrinter.htm
0
 
LVL 4

Assisted Solution

by:JpmSoft
JpmSoft earned 75 total points
ID: 10904399

Check this out!

http://www.codeguru.com/Cpp/W-P/printing/article.php/c5893/

This is a printer port with a special function to be used from visual basic...
It was designed to solve an issue like yours...

Good Luck
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question