Solved

Check for spooling of printer

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

932 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

15 Experts available now in Live!

Get 1:1 Help Now