You are here: Re: Print to printer « All PHP « IT news, forums, messages
Re: Print to printer

Posted by sTony on 11/20/06 15:33

<wesley@ispace.co.za> wrote in message
news:1164016258.364113.309160@m73g2000cwd.googlegroups.com...
> Hi All, i want to print the contents of my form to a printer when the
> page loads.
>
> This code works :
> <body onLoad="self.print();">
>
> but i want to print automatically, without asking me to confirm
> printing or choosing my default printer.
>
> Can this be achieved? If so, how?
>
> Thanks
> Wes
>
Hi Wes,

I certainly hope that it's not possible. Imagine how annoying popups
would be if they actually printed themselves! I suspect that you could
acheive what your after if you only want it for your own computer, but I
doubt you could get a page to print on someone elses computer without the
print-job being verified first. It might not even be possible on your own
machine. If you do get it figured out, please post how you did it. I'm
curious.

sTony.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация