Forum OpenACS Q&A: batch printing from the browser
I am considering the use of openacs4.2 for a particularly unique
requirement. The system that is to be developed needs to gather data
from a database (easy enough so far), put it into a text file with
page breaks ( manageable ) and automatically print it's contents
from the browser with the click of a button (now I stomped).
My question is whether it is possible to do this - print a text file
from a browser.
You could probably do something with Active X but that would obviously limit your audience.
The choice of whether to use OpenACS on the server side is completely different from how you print the pages on the client side.
remote sites and will not be accessible to the public - only to
I have already developed a solution based on
It's an active x control that runs on the client side and allows me
to control the paper width, footer headers and page setup of the
document to be printed.
Since it's activex a requirement is using IE4 or higher.
What I do is display the text file in a browser window with the
appropriate page breaks (using CSS) and make a call to the print
funciton on the onload event.
However, I am very welcome to other ideas.
Many Thanks for responding.