Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / ActiveX Controls / September 2003

Tip: Looking for answers? Try searching our database.

How to print a document using IE browser

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Abhishek Srivastava - 30 Aug 2003 14:48 GMT
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.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.