Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I'm making a billing and stock management software for a project in java(using access as database)..i need to print invoice...i tried to use jasper...but that needs sun.jdbcodbc.jdbcdriver that's not there in jdl 8..help me !!

What I have tried:

I copied jdbc.jar and jdbcdriver.dll from internet...nd pasted it in lib in jdk... but it isn't working..
Posted
Updated 6-Apr-18 12:34pm

1 solution

You might want to check out itextpdf or Apache PdfBox. You can create a pdf using those and then easily send that to the printer. This also makes development lot easier.

iText PDF, easy PDF generation for Java or .NET developers | iText[^]

Apache PDFBox | A Java PDF Library[^]

Good luck!
 
Share this answer
 
Comments
Member 13766488 7-Apr-18 4:01am    
Using jasper it was easy to make the layout of invoice(using drag and drop...)...but i think I'll be difficult in case of apache

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900