Need to print with a twist
Posted: Wed Feb 13, 2008 5:35 pm
I have created a script that querys mysql into a neatly aligned report for printing. This works great when I want to print one form at a time but I really need to add the ability to print multiple reports at one time.
For the example my report uses a GET function to access the proper records. I want to keep this form for printing single records but i would also like to add the ability to print all records between (lets say) 100 and 150 with one form submission. I could use a between variable in the my query but I think that would result in a mess with the form.
Currently I submit the form and use the browsers print option. I have been trying different things including the printer_open function but I think I need a new approach. I am not against using Java or even active X because this is an intranet site that we are using locally.
I have been at this form all day so there could be a very easy way to accomplish what I want but my brain is taxed.
Thanks for the advice,
Mick
For the example my report uses a GET function to access the proper records. I want to keep this form for printing single records but i would also like to add the ability to print all records between (lets say) 100 and 150 with one form submission. I could use a between variable in the my query but I think that would result in a mess with the form.
Currently I submit the form and use the browsers print option. I have been trying different things including the printer_open function but I think I need a new approach. I am not against using Java or even active X because this is an intranet site that we are using locally.
I have been at this form all day so there could be a very easy way to accomplish what I want but my brain is taxed.
Thanks for the advice,
Mick