Welcome to LEAD Support Forum Login | Register | Faq  

    LEAD Support Forum
  Resource to find answers and post technical questions about LEAD products.
Search    
   

Re: How do you know when the ePrint process is done creating your image files
Started by scotbeery at 01-30-2009 16:01. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  01-30-2009, 16:01
scotbeery is not online. Last active: 3/15/2010 10:17:51 PM scotbeery

Top 500 Posts
Joined on 01-30-2009
Posts 10
How do you know when the ePrint process is done creating your image files
Reply Quote

I've developed a program that will convert pdf and word docs into tiff files and then use those files immediately after print to load into another system.   This has been working good when the documents are small and quick to print.   However, if I sent a much larger word document, it's taking a long time to complete the conversion to tiff.   I'm using vb.net and I've created a console application.  I've tried adding the event to my code that says when it's done with the job, but the events don't seem to fire until my code is not using the CPU.  

Is there another way of determining when the print job is done other than using the event?  Is there a function call that I can call to give me the status of the print job?   If I was writing a windows form app and just printing one doc, the event would be fine, but with a console application(batch process), it's kind of hard to look for an event to fire.  


   Report 
  02-01-2009, 11:02
Maen Hasan is not online. Last active: 3/15/2010 4:38:38 PM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 2,563
Re: How do you know when the ePrint process is done creating your image files
Reply Quote
Hello,

I sent you a reply through support email.

Thanks,
Maen Badwan
LEADTOOLS Technical Support
   Report 
  02-02-2009, 10:11
Maen Hasan is not online. Last active: 3/15/2010 4:38:38 PM Maen Hasan



Top 10 Posts
Joined on 08-05-2004
Posts 2,563
Re: How do you know when the ePrint process is done creating your image files
Reply Quote
The ePrint events are regular COM events and there's nothing special about them. Is there something in your application that blocks the normal event handling mechanism from working?

Does the printing output file creation get delayed with the event firing, or does the file get created but event gets delayed?

If there's a part of the code that goes into a loop or performs lengthy processing, can you insert a call to System.Windows.Forms.Application.DoEvents()? Of course if your console application doesn't reference System.Windows.Forms, you might not be able to call this function.
 
Thanks,
Maen Badwan
LEADTOOLS Technical Support
   Report 
Post
LEAD Support Fo... » Enduser » ePrint » Re: How do you know when the ePrint process is done creating your image files

Powered by Community Server, by Telligent Systems