I am sorry if this is a duplicate question and please point me to the answer if it is.
Here is my situation:
I have an ASP.NET web forms site that uses SQL server database as its data source. The end user wants to print labels to a Zebra label printer. (Old printer Zebra 110XiIIIPlus-200dpi) I can install this printer on the end users system or it can run from the web server, doesn't matter it is a network printer.
I can retrieve the data from the database ok. My problem starts when I need to print. Lets say that I have four parts, p1 p2 p3 & p4. All the labels have the same format:
Job #, Mark #, Customer, Width(in), Length(in) (which all come from the SQL DB)
The only field that is pulled in query and not printed is the qty. Mark # is the part number (Don't know why it isn't just called part #). Now lets say that p1 has a qty of 12, p2 has a qty of 25, p3 has a qty 321, and p4 has a qty of 35.
When it prints I need to send 12 "copies" of the label for p1, 25 "copies" for p2, 321 "copies for p3, and 35 "copies" for p4.
How do I send 12 labels for p1 to be printed, then use the next record's data and send 24 labels etc. etc.?
I do not have any code for printing yet because i can not figure out how to do this!! Does anyone know of a way that I can do it.
I did find one article here on SO: Print a report Multiple times, (SSRS reporting services) but I am not sure how to make it work, if it even can) for what I need.
One last note I am using VB.Net in the code behind if it makes a difference.
Any help is very much appreciated!