using PDFCreater inside ASP.NET server

2006-06-23 11:57:23 by patrickl

Hi all,

I want to use PDFCreater inside IIS server (call from ASP.NET ) to generate PDF from word document. But I found that it will pop up a dialog box during the printing process. Is there any way to turn it off so that it can run as a background process?

Patrick


2006-06-23 12:07:44 by thesmilyface

>But I found that it will pop up a dialog box during the printing process.
Which dialog box?

Frank


2006-06-23 12:17:06 by patrickl

[quote=thesmilyface]>But I found that it will pop up a dialog box during the printing process.
Which dialog box?

Frank[/quote]

The Dialoge box will flash for 1 second. saying something like the following:

"Printing Page 1 of
myfile
PDFCreator"

Could it be the windows printing system message?


Patrick


2006-06-23 12:27:23 by thesmilyface

It seems to be that you don't like the help files or that our help files are not good. ;-)

help file -> The Options Menu -> Program settings -> Print -> "Hide the progress dialog during printing"

or

help file -> Com Interface -> clsPDFCreatorOptions -> PrintAfterSavingNoCancel = 0

Frank


2006-06-23 13:04:19 by patrickl

Dear Frank,

Thank you for your help.

It is now working when I print to PDFCreator in word. One small notice: the "Hide the progress dialog during printing" checkbox is checkable(active) only when "Print after saving" checkbox is checked. But it will function as-is even when "Print after saving" checkbox is later unchecked.

However, I can get the command line version honor the "PrintAfterSavingNoCancel = 0" in the option file. I will test some more on this.

Thanks again.

Patrick


2006-06-23 13:09:09 by thesmilyface

Sorry, but I don't understand you.

>One small notice: the "Hide the progress dialog during
>printing" checkbox is checkable(active) only when "Print
>after saving" checkbox is checked.
This is correct.

If you want print after saving and you don't like a dialog you should check "Hide the progress dialog during printing". What is wrong with this behavior?

Frank


2006-06-23 13:23:44 by patrickl

Frank


[quote=thesmilyface]Sorry, but I don't understand you.

>One small notice: the "Hide the progress dialog during
>printing" checkbox is checkable(active) only when "Print
>after saving" checkbox is checked.
This is correct.

If you want print after saving and you don't like a dialog you should check "Hide the progress dialog during printing". What is wrong with this behavior?

Frank[/quote]

From the help file -> Program Settings-> print, it mention that "If you use this setting PDFCreator prints a document AFTER saving". In my case, I don't need to print the document, all I want is to save the .pdf version of my document. However, even during the saving process, the progress dialog popped up. I am not sure if it is related to the fact that PDFCreator use the windows printing system as a channel to generate the pdf. However, that progress dialog can be silenced by the method you mentioned in the previous post.

Thanks

Patrick



2006-06-23 13:44:16 by thesmilyface

Now I understand. You mean you see an dialog if you use the com function ".cPrintFile". Is this correct? If it is than forget "Hide the progress dialog during printing". It has nothing to do with your problem.
The printing dialog comes from the application that print the document.

For example:
If you right click on txt-file and choose print you can see the printing dialog of notepad for a short time. You can link txt-files with a other application that can print txt-files and doesn't show a dialog.

Frank


2006-06-24 06:36:25 by patrickl

[quote=thesmilyface]Now I understand. You mean you see an dialog if you use the com function ".cPrintFile". Is this correct? If it is than forget "Hide the progress dialog during printing". It has nothing to do with your problem.
The printing dialog comes from the application that print the document.

For example:
If you right click on txt-file and choose print you can see the printing dialog of notepad for a short time. You can link txt-files with a other application that can print txt-files and doesn't show a dialog.

Frank[/quote]

Yes, but as I mentioned in the previous post, that progress dialog seemed to be silenced in Word by the following method, i.e. by

1. check (Options Menu -> Program settings -> Print -> "Print after saving")

2. then check
The (Options Menu -> Program settings -> Print -> "Hide the progress dialog during printing")

3. then uncheck (Options Menu -> Program settings -> Print -> "Print after saving")
so it won't print the file out after saving the pdf


I will test it in the IIS server next week. If it behaves as expected, then PDFCreator is also very productive and useful tool in the embedded arena!!

Thanks so much for your explaination. I will post the result of the text next week.

Patrick


2007-11-17 07:18:13 by ben williams

Could you please provide details on how you were able to setup PDFCreator and get it to work in ASP.NET?


2008-01-14 07:55:12 by phillsta

Has anyone figured out how to get PDFCreator working on IIS Server with ASP.Net Pages?

I've managed to get the asp.net page to run the pdfcreator on the server but it doesnt do anything after that.

Any Ideas? Settings i'm missing? etc...