New Forum | Previous | Next | (P-PDF) Developers
Topic: Editing PDFWritr.ini
Conf: (P-PDF) Developers, Msg: 78161
Date: 12/12/2002 02:55 PM
I'm trying to edit the PDFWritr.ini to suppres the print dialog box
In VB I'm using this API call to change the .ini to add the file name of the pdf file. This works as I have checked the .ini file afterwards
Declare Function WritePrivateProfileString Lib "kernel32" Alias _
"WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal _
lpKeyName As String, ByVal lpString As String, ByVal lpFileName As String) As Long
lRC = WritePrivateProfileString("Acrobat PDFWriter", _
"PDFFileName", sFile, "c:\windows\system\pdfwritr.ini")
according to the Acrobat PDFWriter API Reference Table 1.2
"If PDFFileName is present, the Print dialog is suppressed."
The problem is the print dialog box still pops up.
There is an entry in the .ini file which I can't find any info about:
any help would be great