PS to PDF conversion using COM in vb.net
It looks like this has been posted before but the page no longer exists. I am trying to use PDFCreator in vb.net to send a post script(.ps) file to the printer the examples provided in the COM folder for vb.net don't seem to work with post script files only text files.
Any help,
Thanks
Correct. 
cPrintFile is for non-postscript and printable files.
Hello,
i got the same Problem, i cant convert .ps to .pdf. No Error Messeage, but no Pdf File too. Maybe something is wrong in my sourcecode:
Case 2 'Pdf Creator
Set pdfjob = New PDFCreator.clsPDFCreator
On Error GoTo Ends:
ThisWorkbook.PrintOut ActivePrinter:="PDFCreator", printtofile:= _
True, Collate:=True, PrToFileName:=(Pfad & Datei & ".ps")
On Error GoTo Ends:
pdfjob.cConvertPostscriptfile (Pfad & Datei & ".ps"), (Pfad & Datei & ".pdf")
End Select
I got the .ps file, but the convert to pdt doesnt work, did i miss something in the code?
Greetings & thx
Strasser


Looks like I figured it out; I was trying to use the .cPrintFile but there is a
.cConvertPostscriptfile
that seems to work fine.
Thanks,