Jump to content

print jrprint with jdk1.3 to network printer


Recommended Posts

By: Fan TC - fan-tc

print jrprint with jdk1.3 to network printer

2003-09-10 05:46

Hi folks!

 

Basically I like to print a PDF from Java to a network printer or spooler known only by ip/port. I'm forced to use JDK1.3, so the new javax.print is not applicable. I realised that direct PDF printing is not possible yet (even with JDK1.4.2). Postscript or PCL in contrast ist possible. Thus I tried unsuccessfully to get a printable stream or byte array out of one of these JasperPrintManager methods: printReport(), printPage() or printPages() to send the stream directly to a spooler (via Berkeley lpr).

I don't want to use an external solution to convert pdf to ps. Is there any open source Java pdf2ps lib available? Does anyone know a way to realise network printing?

 

I would be pleased with any answers.

 

Dennis

 

 

 

By: T.Gopalakrishnan - tgopal

Hide field

2003-09-04 04:51

How to hide an field in iReport conditionally.

 

 

 

 

By: Jeremie Weldin - jweldin

RE: Hide field

2003-09-04 11:13

use the Print When in the properties of the object.

 

 

 

 

By: T.Gopalakrishnan - tgopal

RE: Hide field

2003-09-10 05:43

Can any one provide a sample snippet for this

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...