2 Replies - 1778 Views - Last Post: 20 April 2011 - 05:12 AM Rate Topic: -----

#1 hkharshu  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 02-September 09

report printing instruction to a printer in java

Posted 20 April 2011 - 03:33 AM

is there any class or method in java to give print instruction to a printer to print a table from database or any other data?


Is This A Good Question/Topic? 0
  • +

Replies To: report printing instruction to a printer in java

#2 Luckless  Icon User is offline

  • </luck>
  • member icon

Reputation: 292
  • View blog
  • Posts: 1,146
  • Joined: 31-August 09

Re: report printing instruction to a printer in java

Posted 20 April 2011 - 04:49 AM

Maybe you can take those tables and output them to a formatted text document then take a look at PrinterJob. I've admittedly never personally used PrinterJob, but it looks like the right class for you in the Java API. You should at least start there
Was This Post Helpful? 0
  • +
  • -

#3 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10185
  • View blog
  • Posts: 37,603
  • Joined: 27-December 08

Re: report printing instruction to a printer in java

Posted 20 April 2011 - 05:12 AM

Check out the following tutorials:
http://www.dreaminco...-java-printing/
http://download.orac...ting/index.html
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1