Problem on Win Server 2008 - not enqueues prints when launched from my app

Hi All,

I wrote a simple application in C# that copyes all the excel files of one folder in another one and then it open them with Excel, print to PDF end close Excel.

The output file must have the same name of the copyed xls file, and must be placed in the same folder. My code works properly on win 7 x64, but on Win Server 2008 it doesnt "really" enqueue all the prints. The PDFCreator UI shows no prints in queue and when my program check the number of ".cCountOfPrintjobs" it says 0. But if I close PDFCreator, I open Excel and try to print another file with PDFCreator a new istance comes out and it has all the prints added before in the queue. Obviously it ask for path and name where to save the file instead of print it automatically...

PdfCreator version 1.7.0, but also on 1.6.2 there is the same problem... My code is in C# on .NET 4.

Any suggestion? THANKS! :)



up? :)

Hi,


could you send us the code via email or post it here? 
Have you tried, if closing and reopening the pdfcreator without starting another print job has the same effect?

regards,

Robin

Hi Robin, 

Here’s the code of the function that prints excel file to pdf
https://dl.dropboxusercontent.com/u/86180877/PDFCreator%20Problem.docx
Unfortunatelly it’s a bit too long to post it here.

 If you prefer I can send you all the small VS2010 project via email.  
 
Thank you so much!
Regards

Nicolò

Hi Robin, 

Do you successfully download my code? Thanks

Nicolò

Hi,


Philip had a look at it and would like to come back to your offer of sending us the project by mail (support@pdfforge.org).
Did you install PDFCreator in server mode? (shouldn´t be installed in server mode in your case)

regards,

Robin