By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,637 Members | 1,967 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,637 IT Pros & Developers. It's quick & easy.

Printing batch of invoices

P: n/a
I have an array of invoice keys that I need to loop through, display in
a window on screen, then auto print, before looping to the next one,
again displaying on screen, and then auto printing.

I have my array sorted, and I am planning on building up the HTML
invoice using a StringBuilder and then displaying it via a div
InnerHtml. But how do I auto print them, and then repeat the process?

*** Sent via Developersdex http://www.developersdex.com ***
Oct 10 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
All standard printing procedures will open browser's printing dialog. You
need a 3rd party control to print automatically.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mike P" <mi*******@gmail.comwrote in message
news:uz*************@TK2MSFTNGP04.phx.gbl...
>I have an array of invoice keys that I need to loop through, display in
a window on screen, then auto print, before looping to the next one,
again displaying on screen, and then auto printing.

I have my array sorted, and I am planning on building up the HTML
invoice using a StringBuilder and then displaying it via a div
InnerHtml. But how do I auto print them, and then repeat the process?

*** Sent via Developersdex http://www.developersdex.com ***

Oct 10 '07 #2

P: n/a
Isn't it possible to execute a Javascript window.print() on an event
somewhere?

*** Sent via Developersdex http://www.developersdex.com ***
Oct 10 '07 #3

P: n/a
It certainly is but it will still activate the Print dialog.

--
Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net
"Mike P" <mi*******@gmail.comwrote in message
news:O5**************@TK2MSFTNGP06.phx.gbl...
Isn't it possible to execute a Javascript window.print() on an event
somewhere?

*** Sent via Developersdex http://www.developersdex.com ***

Oct 10 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.