File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring batch printing documents Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring batch printing documents" Watch "Spring batch printing documents" New topic

Spring batch printing documents

gi tos

Joined: May 15, 2012
Posts: 12

I need to implement a batch that prints documents. (Each end of day we have to print some documents without user interaction).

Do you have any idea how can I do that ?

Thank you in advance.
Emanuel Kadziela
Ranch Hand

Joined: Mar 24, 2005
Posts: 187
You can use Quartz to run scheduled jobs.
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

You will have to interact with the underlying Operating System at some point.

Using Quartz or Spring Batch, if unix call the "lp " command, for Windowz I'm not so sure.

Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 606

Might have helped if you mentioned what your problem is - Scheduling? Printing? How to write a batch job?

Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
I agree. Here's the link:
subject: Spring batch printing documents