473,405 Members | 2,344 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Printing batch of invoices

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
3 1528
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: John | last post by:
Hi I am looking into Oki ML 590 and ML 591 printers to see if any of these will work with multi-part (multiple copies) continuous stationery for printing invoices from access. Has anyone had any...
1
by: Earl Anderson | last post by:
Using WinXP & AccessXP, I'd like to automatically have the records that I've just printed in a report automatically updated to have the 'print date & time' immediately inserted into a 'Date/Time'...
1
by: Frank | last post by:
I have an asp.net application that needs to do a batch print without showing the print preview or the printer settings dialog. I know that this possible using a windows app but how can I do...
0
by: ALMA_J_III | last post by:
Hi all! Customer will use HP LaserJet 4200TN printer for printing of invoices. 3 different versions of invoice on different color of paper should be to print. HP LaserJet 4200TN have 3 paper...
1
by: Mitchell Vincent | last post by:
I've had this trouble in every language I've tried for Windows. Apparently the problem is with the underlying controls or something.. When I loop through and use a hidden web gadget to load and...
1
by: Parasyke | last post by:
Thanks for any help.. I currently have a database with about 100 products with picture links in an external folder. I have a form from which I can successfully display a product, its...
2
by: =?Utf-8?B?TUFUVA==?= | last post by:
What i am trying to accomplish is programatically creating Invoices and then Printing them out. I don't really need to "View" them before they print. How I am trying to do this is I have created...
22
Missionary
by: Missionary | last post by:
I need to batch print reports. I've looked at past posts about batch printing, but I don't know visual basic, so I'll need some coaching. I have a report based on a parameter query. I have it...
3
by: sheldonlg | last post by:
I have been asked to implement a "Print All" function to an application. The current screen has a list of invoices. Clicking on any one of them (via a preview button) opens a new window for that...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.