File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Printing labels in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Printing labels in java" Watch "Printing labels in java" New topic

Printing labels in java

Sandeep DSouza

Joined: Dec 18, 2003
Posts: 18
I need to print a bunch of name and address as labels in java ... can someone tell me how this can be done in Java.
If I was using MS tecnologies then i would use OLE or something with MS Word. .
I need to know how this can be done in java.. I don't mind using Open Office by sun .
Can some one help me on this one ... will really appriciate it.
Tim Troy
Ranch Hand

Joined: Apr 02, 2003
Posts: 51
I suggest you start with the label printer and software that you have. In my case, I wrote records out to a directory that was being monitored by software by Zebra. The software had a designer tool where you set up how the labels looked and what fields were data driven. My Java app just had to write the data to a file in the expected format.
I agree. Here's the link:
subject: Printing labels in java
jQuery in Action, 3rd edition