Hello All,
I have a very particular requirement from a user of mine.
The user keeps some documents (PDF format) on a http server. The users
of the appliction are not allowed to download the document but should be
able to print the document. The only restriction on printing is that
user should be able to print the document on a printer which is assigned
to him.
How can I meet this requirement. I can write an asp page which gives me
the printer configured for the user (as part of user profile). I can
also write a java script which downloads the document secretly. (without
really making the user know that the file was downloaded and deletes it
when the operation is over).
But now how to issue the print command from inside IE. How can I do
that? do I have to use an embeded activeX control for this? or should
can I use it from vbscript/jscript/java script.
I will really appriciate your help in this matter. Thank you in advance
and please do help me I really need it.
regards,
Abhishek.
G?nther Ritter - 02 Sep 2003 16:24 GMT
You can use ADODB.STREAM with LoadFromFile "YourPdf" and
Response.BinaryWrite ... in asp to send pdf-file to ie.
hth
G?nther
http://www.access-hilfe.de
> Hello All,
>
[quoted text clipped - 21 lines]
> regards,
> Abhishek.