
I have a printout of a document from Adobe which describes the necessary changes for Versions 4 and later of PDFWriter in various Windows flavours. Newer versions of the PDFWriter (packaged with Acrobat and Distiller) use registry settings to control this. Lynn Private Sub cmdCreatePDF_Click() Dim db1 As Database Dim RS2 As Recordset Dim statusbar1 If IsNull(Me.List0) Then MsgBox "Must select a Fleet" Cancel = True Exit Sub End If 'Changes printer driver ChangeToAcrobat 'DoCmd.Hourglass True Set db1 = CurrentDb Set RS2 = db1.OpenRecordset("select * from globalparameters") RS2.Edit RS2!FLEET = Me.List0 RS2.Update statusbar1 = SysCmd(acSysCmdSetStatus, "Processing Fleet: " & Me.List0) Dim PDFFileName As String 'PDFFileName = "C:\test\source\" ' fyi: PDFFilePath = "C:\test\source\" ChangePdfFileName (DLookup("PDFFilePath", "globalparameters") & Me.List0 & ".PDF") Call SetRegString2(HKEY_CURRENT_USER, "Software\Adobe\Acrobat PDFWriter\", "PDFFileName", DLookup("PDFFilePath", "globalparameters") & Me.List0 & ".PDF") DoCmd.OpenReport "rptTNmail", acViewNormal RS2.Close Set RS2 = Nothing DoCmd. Acrobat PDFWriter PDFFilenamec:\temp\report.pdf. I'm not very familiar with API calls, changing registry keys, etc. Since Ver 5.55, we apply a workaround for printing issue of rotated text watermark. Its a Acrobat Reader 5.x issue when taking care of cm opeator with opacity text. This option is only available by changing registry value, and not available as a visible option in property page.
ACROBAT PDFWRITER PDFFILENAME REGISTRY PDF
Sure would appreciate some help figuring this out. PDF Creator PDF Writer FAQ (Frequently Asked Questions).
ACROBAT PDFWRITER PDFFILENAME REGISTRY HOW TO
Does anyone have any code, or a link they can point me to that will show me how to do this I have Acrobat Distiller installed on my computer. I want to be able to print to a pdf file to a specific file name. There is a lot more code with API calls, etc. I have a cyrstal report embeded in my visual basic 6.0 program. Me.List0 is a combobox on a form that the user selects the report from. This information should be fed to the function. It will generate the pdf on for me, except that it prompts me for what to save it as. To troubleshoot, I loaded a trial version of Adobe Distiller and tested it out. This was working a month ago., but now doesn't work for the user. It is fed the destination path and file name. I inherited an Access database with a function that generates and saves a PDF document from a report.
