Windows Service
Posted: Tue May 26, 2009 12:21 pm
I can't get the Bullzip to use the settings created using PDFPrinterSettings when running my application as a Windows Service. It creates the settings to "C:\Documents and Settings\LocalService\Bullzip\PDF Printer\runonce@Bullzip PDF Printer.ini" but when the print is executed it uses default settings and that created ini does not get deleted. It does not matter where the ini is located, it still uses the default settings. I tried copying the file to multiple places (including c-root, system root, system32, application data folder, etc.) I can however get it to work if I run my application as a normal application (not as service). Bullzip then creates the settings to "C:\Documents and Settings\mikko\Application Data\Bullzip\PDF Printer\runonce@Bullzip PDF Printer.ini".
I was hoping I could use the default settings ini for this, but it seems (at least reading it from the documentations) that there is no keyword for the document path? Something like this:
[PDF Printer]
output=<docpath>\<basedocname>.pdf
showsettings=never
showpdf=yes
showprogress=no
showprogressfinished=no
confirmoverwrite=no
Can someone help me please?
I was hoping I could use the default settings ini for this, but it seems (at least reading it from the documentations) that there is no keyword for the document path? Something like this:
[PDF Printer]
output=<docpath>\<basedocname>.pdf
showsettings=never
showpdf=yes
showprogress=no
showprogressfinished=no
confirmoverwrite=no
Can someone help me please?