Solved

Check for spooling of printer

Posted on 2004-04-15
5
1,023 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
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now