I have a printer setup as a postscript printer, I print to it then convert it to a pdf file. If I run the code as an
Administrator it will work great. As a power user it will not run and I get an error 429. Any one have any ideas on what is going on?
running xp sp2 and adobe 6.0 professional.
Also the printer is setup with a local port to a directory and file
in which the user has full access.
the code:
Note:Reference is set to Acrobat Distiller
C:\Program Files\Adobe\Acrobat 6.0\Distillr\acrodist.exe
Dim objPrt As Printer
Dim objAdobe As ACRODISTXLib.PdfDistiller6
Set objAdobe = New ACRODISTXLib.PdfDistiller6
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.EndDoc
objAdobe.FileToPDF "C:\psfile.ps", "c:\NewPDF.pdf", ""
Set objAdobe = Nothing
Administrator it will work great. As a power user it will not run and I get an error 429. Any one have any ideas on what is going on?
running xp sp2 and adobe 6.0 professional.
Also the printer is setup with a local port to a directory and file
in which the user has full access.
the code:
Note:Reference is set to Acrobat Distiller
C:\Program Files\Adobe\Acrobat 6.0\Distillr\acrodist.exe
Dim objPrt As Printer
Dim objAdobe As ACRODISTXLib.PdfDistiller6
Set objAdobe = New ACRODISTXLib.PdfDistiller6
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.Print ";ljsfg;ljsg;lsfjgfs;ljhfslj"
Printer.EndDoc
objAdobe.FileToPDF "C:\psfile.ps", "c:\NewPDF.pdf", ""
Set objAdobe = Nothing