Archive for December, 2006

Batch printing?

December 1, 2006

In my current project I had to implement Batch Print feature in a web application. Basically, the requirement was, in an ASPX page you have a datagrid listing a set of files in first coulmn and in the second column you would have a checkbox, which would allow user to select a group of files to print. below this grid you will have a button to Print. So when user selects a particular set of files using checkbox and then clicks on the Print button you should print the documents one-by-one silently, i.e, without opening the associated application. Digging few articles in CodeProject I was able to implement it. The code worked successfully in filesystem, in VS.NET 2005. But when I published the same project in IIS and ran, it gave me an error. I am breaking my head to solve it.