This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring 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: 607

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
It's not a secret anymore!