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

printing businesscards/barcodes

Igor Balos

Joined: May 18, 2007
Posts: 3

I need to make an application for printing bar-codes/business cards. User should be able to choose picture that he wants to print, to set the margins, the size of the paper (a4, a5...), orientation (portrait, landscape), the number of visit-cards/bar-codes that needs to be printed etc.. Application should be used only for printing, not designing.

I don't know where to start, so I would like to ask if somebody could:

1. recommend couple of applications of this type, so I could have a better insight on what needs to be done.

2. recommend a way to 'print/print-preview' the bar-codes/business cards, maybe some examples (I worked with jasperreports before so I thought that maybe I should use jasperreports jrxml file, which I would modify before preview, then the file would be compiled to jasper file and used every time when user wants to print/print-preview. This way, margins, orientation etc. would be set in a gui part (swing/awt), then the data would be written to jrxml file. I don't know if it's a good idea? Is there a better way to solve the printing/print preview of pages, zoom in/out).

3. post couple of links that could help me to get started on the project.

Thanks, Igor
dhwani mathur
Ranch Hand

Joined: May 08, 2007
Posts: 621
ok,i do not have much information on this but i have seen such project.
What you have to do is ,actualy since there is machine which generates the barcode,pass the barcode produced by machine as input by scanning and than save it can say as an image file
for a particular product by giving numbers to it.
Last step is to acess it in your project.Image files can be accesed .
It sounds preety simple but it is not.
I hope may this information help you for your project atleast to some extent.
I agree. Here's the link:
subject: printing businesscards/barcodes
It's not a secret anymore!