OK guys i have hacked S.Lebans pdf creator to rename the fields I want in the format i want -
but i cannot seem to get it to store the pdf in the location I want ?
i want to store it in C:\test
(I will rename it to the server location)
Has anyone tweaked this before
would be appricated
i can upload the d/b later on today if this helps
G
ReportToPDF
Copyright Lebans Holdings 1999 Ltd
Developed and tested under Access 97 through A2003.
The PDF Library file "DynaPDF.dll" and the file "StrStorage.dll" can be located in the same folder as the ReportToPDF.mdb file or in your Windows\System32 folder. The simplest and preferred method is to copy these 2 files into the same folder as your MDB(FE). The DynaPDF.dll file and the StrStorage.dll are NOT ActiveX files. They DO NOT require Registration or References to be set to them.
The StrStorage DLL exposes one function.
Public Function ConvertUncompressedSnapshotToPDF( _
UnCompressedSnapShotName As String, _
OutputPDFname As String = "", _
Optional CompressionLevel As Long = 0, _
Optional PasswordOwner As String = "" _
Optional PasswordOpen As String = "" _
Optional PasswordRestrictions as Long = 0 _
Optional PDFNoFontEmbedding As Long = 0, _
Optional PDFUnicodeFlags as Long = 0 _
) As Boolean
You must supply the full path and filename. Exporting your Report to Snapshot format and then decompressing the Snapshot file is handled by functionality exposed within this MDB. Please open the HowToUse form and examine the code behind the CommandButton controls.
Stephen Lebans
Stephen@lebans.com www.lebans.com
but i cannot seem to get it to store the pdf in the location I want ?
i want to store it in C:\test
(I will rename it to the server location)
Has anyone tweaked this before
would be appricated
i can upload the d/b later on today if this helps
G
ReportToPDF
Copyright Lebans Holdings 1999 Ltd
Developed and tested under Access 97 through A2003.
The PDF Library file "DynaPDF.dll" and the file "StrStorage.dll" can be located in the same folder as the ReportToPDF.mdb file or in your Windows\System32 folder. The simplest and preferred method is to copy these 2 files into the same folder as your MDB(FE). The DynaPDF.dll file and the StrStorage.dll are NOT ActiveX files. They DO NOT require Registration or References to be set to them.
The StrStorage DLL exposes one function.
Public Function ConvertUncompressedSnapshotToPDF( _
UnCompressedSnapShotName As String, _
OutputPDFname As String = "", _
Optional CompressionLevel As Long = 0, _
Optional PasswordOwner As String = "" _
Optional PasswordOpen As String = "" _
Optional PasswordRestrictions as Long = 0 _
Optional PDFNoFontEmbedding As Long = 0, _
Optional PDFUnicodeFlags as Long = 0 _
) As Boolean
You must supply the full path and filename. Exporting your Report to Snapshot format and then decompressing the Snapshot file is handled by functionality exposed within this MDB. Please open the HowToUse form and examine the code behind the CommandButton controls.
Stephen Lebans
Stephen@lebans.com www.lebans.com