• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

batch printing

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can I build batch printing tool with tapestry. I need some starting help here. Also, is there any free tool which I can integrate with my tapestry application
 
Bartender
Posts: 21000
128
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm afraid you'll have to give us more information. Web servers don't usually do batch printing. They're often locked away somewhere far from the printers, for one thing. And for that matter, web browsers make pretty poor print controllers themselves, since they normally limit automated printing for security reasons.

So we need to know what you mean by "batch printing" and what you expected to happen when you request it.
 
Taggu Gupta
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have tomcat as servlet container and tapestry framework to build the web UI. Certain category files are generated at the server and stored there. The requirement is to have the ability to print those files from the client. What i meant for "batch printing" is - those files are listed in the UI and the user should have the ability to click on the subset of files and then issue printing of those files in one action. I would like to know what is the most efficient way to do and what tools are available to achieve this.
 
Tim Holloway
Bartender
Posts: 21000
128
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Web browsers are forbidden to simply download and print. Someone has to select each report and tell the browser to print the page manually. This is done for security reasons. There are some evil people out there, and they've been known to abuse printing. Well, actually, if something can be abused, someone's found a way to abuse it.

There are several ways to batch print that get around that limitation.

1. You can always use a non-browser client, such as a shell script running wget.

2. I think there are ways to make the actual print process automated using JavaScript, but there are some limitations on this and I'm not sure what they are.

3. You can write a Java applet. However, the applet sandbox constraints mean that the applet would have to be security-signed and the client has to accept the signed applet. Which can be a pain. Especially for non-technical users.

In short, there's no brain-dead way to to this, although if someone wants it bad enough, a support person can come out and install one of the above. Or, if you're really brave, you can walk the more savvy users through the process.
 
Die Fledermaus does not fear such a tiny ad:
Enterprise-grade Excel API for Java
https://products.aspose.com/cells/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!