?
Solved

Check for spooling of printer

Posted on 2004-04-15
5
Medium Priority
?
1,062 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 300 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 300 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month13 days, 7 hours left to enroll

800 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