We have an application that contains 2 dll's that I think are from verydoc: ps2pdfsdk.dll and psconvrt.dll. When we generate a pdf from the application the save location defaults to a temp directory. Each time we attempt to save a pdf we get this location and must navigate to the desired directory. Is there a way to setup our PDF utility to default to the last used location a file was saved or a fixed location other than the temp directory?
===================================
If you are using ps2pdfsdk.dll library, you can control the file location from your source code, please refer to following sample VB code,
~~~~~~~~~~~~~~~~~~~~~~
Private Declare Function VeryPDF_PSToPDF Lib "ps2pdfsdk.dll" (ByVal strCommandLine As String) As Long
Private Sub ps2pdf_Click()
Dim nRet As Long
Dim strCmd As String
strCmd = "ps2pdf" & " -$" & " XXXXXXXXXXXXXXXXXXXX"
strCmd = strCmd & " C:\test.ps"
strCmd = strCmd & " C:\test.pdf"
nRet = VeryPDF_PSToPDF(strCmd)
MsgBox (Str(nRet))
End Sub
~~~~~~~~~~~~~~~~~~~~~~
Related Posts
Related posts:
Do you have Postscript Converter?
Is Postscript to PDF has an option to select only the portrait pages?
Is it possible to print or select only the portrait pages from Postscript to PDF file?
I want a SDK to convert PDF to DOCX, PS to DOCX, PDF to DOC, PS to DOC formats.
Easily convert PCL and Postscript documents to and from multiple file formats for viewing, printing ...
How to convert Postscript files to PDF files with OCR function?
pdf2image converts PDF files into high-quality JPEG, GIF, PNG, TIFF and BMP images for publishing on...
How to Convert PostScript Files to PDF and Add Barcodes/QR Codes Using VeryPDF PostScript to PDF Con...