Active Topics Memberlist Search Help | |
Register Login |
Programming | |
EXP Systems Forum : PDF reDirect : Programming |
Topic: PDF processing too slow | |
Author | Message |
kjs99
Newbie Joined: 21 Aug 09 Location: United States Posts: 1 |
Topic: PDF processing too slow Posted: 21 Aug 09 at 11:36AM |
So this is my issue: I have a VBA program inside of Autocad, that finds all of the titleblock in the drawing and prints them to PDF reDirect. However, it takes redirect a fair amount of time to process the first request, the VBA program finishes and only one drawing gets printed. Is there some way to queue the prints so that redirect has time to process them all? Or do I need to slow down the VBA routine in Autocad?
Any ideas appreciated.
Kevin
|
|
IP Logged | |
Michel_K17
Moderator Group Forum Administrator Joined: 25 Jan 03 Posts: 1673 |
Posted: 21 Aug 09 at 7:06PM |
Hi,
Are you using my ActiveX component with you VBA code? If so, I think I have sample code that shows you how to wait for the print job to complete before printing the next one. I'll post back later tonight with the code, or at least a better description. Cheers! Michel |
|
Michel Korwin-Szymanowski
EXP Systems LLC |
|
IP Logged | |
Michel_K17
Moderator Group Forum Administrator Joined: 25 Jan 03 Posts: 1673 |
Posted: 22 Aug 09 at 10:10AM |
Hi Kevin,
Here is the rest of the story. If you have not already done so, download and install my PDF reDirect Remote Control ActiveX Component from [here]. Look at the code in the MS Word example. Look at the more powerful (extended) conversion function called Convert2PdfEx After starting the conversion to the PDF by printing the document, it calls the function PdfCreated to wait for the job to complete. '------------------------------- The function PdfCreated is pretty short: '--------------------------------------------------------------------------------------- There is one caveat that someone else told me about is that for very large/complex files, waiting 1 minute may be insufficient. You may want to consider giving your computer more time to perfrom the conversion before giving up. Also, note that the function CheckFileAvailable called by PdfCreated which actually checks the output file to ensure that it is 100% written and released. Cheers! Michel |
|
Michel Korwin-Szymanowski
EXP Systems LLC |
|
IP Logged | |
vinill
Newbie Joined: 15 Jan 12 Location: United States Posts: 3 |
Posted: 16 Jan 12 at 11:21PM |
I too have the same issue and this causes too much time. I need to make PDF conversion for printing, fast. I have gone through the suggestions by Michel K17 and I think it will make the situation better. I will definitely download and install the PDF reDirect Remote Control ActiveX Component from by you today itself and will check whether it made PDF conversion faster or not. If queuing facility is available, that will make the process much faster.
|
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |