Click to See Complete Forum and Search --> : Send file to printer
indydavid32
Jun 28th, 2005, 01:24 PM
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
indydavid32
Jul 27th, 2005, 09:07 AM
Bump
dj4uk
Jul 27th, 2005, 09:43 AM
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
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.