|
-
Jun 28th, 2005, 01:24 PM
#1
Thread Starter
Fanatic Member
Send file to printer
I have an intranet web site. On one of these I want to be able to send a pdf file to the printer and have it start printing without any other user interation. Is this possible?
If so, what would be the VB code to do this?
Thanks
-
Jul 27th, 2005, 09:07 AM
#2
Thread Starter
Fanatic Member
Re: Send file to printer
-
Jul 27th, 2005, 09:43 AM
#3
Frenzied Member
Re: Send file to printer
I don't think it is unfortunately. The only way to get the printing preferences window up (i.e. you can't print without some kind of prompt) is by using client-side JavaScript -> window.print(); But I'm presuming either:
a) The PDF is the only thing in the window in which case you cannot use JavaScript.
b) The PDF is displayed using a frame of some kind - I think the default setting for frames is print as layed out on screen in which case you get a screen shot printed out not the full PDF.
DJ
If I have been helpful please rate my post. If I haven't tell me!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|