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:
Ps2txt command line
What are the recommended PCL and PS drivers that work well with verypdf conversion utility?
Question regarding postscript to ascii
Is it possible to print or select only the portrait pages from Postscript to PDF file?
I get I/O error with VeryDOC Postscript to Text Converter Command Line Server License
I want a SDK to convert PDF to DOCX, PS to DOCX, PDF to DOC, PS to DOC formats.
How to use ps2pdfsdk from 64bit C# application
pdf2image converts PDF files into high-quality JPEG, GIF, PNG, TIFF and BMP images for publishing on...