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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set up Acrobat to make it to be used by ASP

Status
Not open for further replies.

vicky2003

Programmer
May 27, 2003
22
0
0
CA
Hi,Everyone
I met a problem maybe someone have experience with it.
I tried to call acrobat distiller to convert .ps file to pdf file. It show excute failed. If I tried using VB,it successed! So I think maybe asp user doesn't have right access to the distiller. Anyone know how to set it?
Here is the code in asp.
acr = Server.CreateObject("pdfdistiller.PdfDistiller.1")
acr.bShowWindow = False
acr.FileToPDF "d:\lta\1.ps", "d:\lta\1.pdf", "Print"
Marshal.ReleaseComObject(acr)
acr = Nothing

Thanks advance,
Vicky




 
it does not support server

RocSky SPlitPDF:Split one multipage Pdf document into one page PDF Documents
RocSky PDFMerger:Merge many a PDF document in a folder into one PDF document

Pls visit
 
Sorry,I don't think so. This function works fine in WinNT Server. But It doesn't work in Wondows 2000 Server. I think it should be permission problem.
 
You're both right. It is possible to make Distiller work with ASP, you need the correct permissions. I don't remember what they are, which account. Sorry, I'm working in ASP.NET these days. I think it's the IUSR_ServerName account.

However, Distiller is not LICENSED to work in a server environment, so this is a dead-end for you.

Acrobat offers Distiller Server, but it's cost-prohibitive.

For server-based PostScript processing, I have used activePDF Server for years.
Here's their comparison of activePDF Server and Distiller Server:
I've also designed environments which use GhostScript and ImageMagick on Unix/Linux servers.



Thomas D. Greer
Providing PostScript & PDF
Training, Development & Consulting
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top