Print Page | Close Window

PRINTER NOT FOUND after re-installing Windows

Printed From: www.exp-systems.com
Category: PDF reDirect
Forum Name: Programming
Forum Discription: VBA and Batch Tools to control PDF reDirect Pro
URL: http://www.exp-systems.com/Forum_exp/forum_posts.asp?TID=519
Printed Date: 22 Nov 24 at 7:32PM


Topic: PRINTER NOT FOUND after re-installing Windows
Posted By: steve
Subject: PRINTER NOT FOUND after re-installing Windows
Date Posted: 07 Aug 09 at 10:04AM

I have been using ReDirect Pro from VBA for about 18 months with no problem.  My motherboard and hard drive had to be replaced so my machine was rebuilt.  I reinstalled reDirect Pro (this time with 2.2.8 rather than 2.2.5), registered and set up a Batch printer for VBA.  On "Printers and faxes" the printer "BatchPDF–VBA" is present as well as "PDF reDirect Pro v2" - both "Ready." 

I am using the "Class to Control PDF reDirect Pro programmatically", Michel_K17, Version 2.1.1 and the associated VBA code "Print_reports."

All worked perfectly before the rebuild and now I get "PRINTER NOT FOUND” - Error(100)

Any ideas?
 
Steve
 



Replies:
Posted By: Michel_K17
Date Posted: 07 Aug 09 at 8:56PM
Hi!

   Yes, I think I see the problem. Please upgrade the ActiveX component to the latest version as well (v2.2.6) which is available [ http://www.exp-systems.com/forum_exp/forum_posts.asp?TID=254 - here ].

   That should get you going.

   Please post back if the error continues as the error you reported does sound like it could also be something else.

   Cheers!



-------------
Michel Korwin-Szymanowski
EXP Systems LLC


Posted By: Michel_K17
Date Posted: 07 Aug 09 at 8:58PM
One more thing: are you also getting the error when using the PDF reDirect Pro printer normally (ie not via the class)?



-------------
Michel Korwin-Szymanowski
EXP Systems LLC


Posted By: steve
Date Posted: 10 Aug 09 at 7:58AM

It does work printing stand-alone (without VBA) before I installed the ActiveX component.   I installed the ActiveX component and the VBA version is still giving the same error.  I checked the Program Files and the entries you show are indeed present.  Their Date Modified is 7/6/2008. 



Posted By: steve
Date Posted: 10 Aug 09 at 8:03AM
I really need this to work now.  (One becomes dependent upon good software)  Perhaps I should go back to version 2.2.5.  It did everything I need.


Posted By: Michel_K17
Date Posted: 10 Aug 09 at 10:21AM
Hi,

   Yes, certainly going back to what worked well is always a good strategy (at least that's what I found). I am surprised nonetheless as I not had any problems with the latest version.

   Do you also get the error when you run my sample VBA code in Word, Excel or Access?

   Anyway, if you decide not to go back to v2.2.5, the next steps would be to go into PDF reDirect Pro >> Preferences >> and turn ON the error log feature. Then, try your VBA code again to record the error, and then go back to the Preferences to recover the log. Copy-and-paste the log into an e-mail sent to exp (at) exp-systems (dot) com.

   If you go back to v2.2.5, and it works, please let me know too, just in case I've missed something.

   Best regards,



-------------
Michel Korwin-Szymanowski
EXP Systems LLC


Posted By: steve
Date Posted: 10 Aug 09 at 12:03PM

I found the problem.  I am embarrassed, but I guess there might be someone out there as careless as I am...so here goes.  When I originally set up the PDF printer, I named it “BatchPDF–VBA.”    When I rebuilt my machine and setup the PDF print again, I entered the name “BatchPDF-VBA” with the small hyphen “-“ instead of the large one, “–“.  That is why the print worked fine in Word and Excel, but not in my VBA code.  All is well now.  Thanks so much for your help, Michel. 



Posted By: steve
Date Posted: 23 Sep 09 at 7:41AM
Problem solved


Posted By: Michel_K17
Date Posted: 23 Sep 09 at 7:04PM
Cool! Smile

Thanks for  posting back.


-------------
Michel Korwin-Szymanowski
EXP Systems LLC



Print Page | Close Window