Groups | Blog | Home
all groups > inetserver asp components > april 2007 >

inetserver asp components : Print PDF in asp w/o print dialog



charles
4/3/2007 3:17:28 PM
Hi,

I have searched my forum for an answer. But I still want to confirm
with reality.
is it possible to print PDF w/o the print dialog to show up?

I use this command acrobat.exe /t c:\myFile.pdf at command prompt. it
printed directly to default printer. I am trying to do the same in asp
using

<%
set wshell = CreateObject("WScript.Shell")
wshell.run "acrobat.exe /t c:\myFile.pdf "
set wshell = nothing
%>

but I always get the same error:
Error Type:
(0x80070002)

I gave the ISUR_<computername> the permission to execute at adobe
folder and .exe but stil not working

Does anybody have an answer for this problem?

thank you,
Charles
Raj
4/5/2007 7:36:13 PM
Also, add everyone
[quoted text, click to view]

AddThis Social Bookmark Button