Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Needed - Error 429 using ACRODISTXLib.PdfDistiller6

Status
Not open for further replies.

zarkon4

MIS
Dec 16, 2003
641
US
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 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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top