January 31, 2007 at 3:32 pm
Hi,
We have an Inventoy department that always needs a certain report printed out 3 times - they are tiring of pressing print and changing the number every time. This is a c#.net application. I was looking at the ReportViewer Control and noticed it does have a print button on it, but couldn't find a print method. Anyone have any tips?
Thanks!
Sam
February 5, 2007 at 8:00 am
This was removed by the editor as SPAM
February 5, 2007 at 8:17 am
ugg... programming a solution because someone doesn't like to click print 3 times.....they don't need to File...Print...change to 3...just teach them to click the print button off the tool bar three times.
otherwise,
how far do you want to go with this? are you eliminating all human interaction and just printing? creating a browser program to open the page and then print it, then scheduling the program to run at a schedule time? creating a SQL Server web task and printing from the server?
if the c# applcation is under your control, all the printers can be enumerated and you can send files to them;, if the application ahs a print button you could call the click event from within the code, or change the add an extra button that calls the click event 3 times.
Lowell
February 6, 2007 at 9:19 am
Hi Lowell,
Thanks for your help.
I'm guessing they are not able to print directly from the report due to the ActiveX control for printing not being installed. I have the same problem and can not install it due to right.
I've just been told they export to a pdf and then print 3 copies of that, quite a few times a day, with the input parameters changing each time. I'm thinking that if we can eliminate the saving to and opening a PDF, that will reduce their time spent saving, opening, and printing by a nice amount.
This seems like something that should be easier - for example , throw: ReportViewer1.print() in an OnClick and you're off to the races. I'm not too informed on printers and how something like this could work with the wide variety of drivers.
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply