[nbusers] Re: OT printing PDFs

  • From: Mark Claassen < >
  • To:
  • Subject: [nbusers] Re: OT printing PDFs
  • Date: Mon, 03 Dec 2012 11:19:14 -0500

I just tried this quick on my laptop and I cannot print to my Adobe PDF printer either.  However, I have a 3rd party PDF printer that does work.    This is a Netbeans issue, clearly, by Oracle needs to be notified if they don’t already know.

 

From: Edson Richter [mailto: ]
Sent: Saturday, December 01, 2012 9:39 AM
To:< br>Subject: [nbusers] Re: OT printing PDFs

 

Another option is to use a BufferedImage, then convert to JPG or PNG and then print it, or embed in a PDF using iText.

I don't have the code to show how to, but I made this in the past, and it works.

 

Regards,

 

Edson

> Date: Sat, 1 Dec 2012 07:37:54 -0500
> From: ">
> To: ">
> CC: ">
> Subject: [nbusers] Re: OT printing PDFs
>
> On 12/01/2012 05:18 AM, Andreas Ernst wrote:
> > Hi,
> >
> > with Java 1.7.0_09 you can't use PDF printers, on an earlier version
> > this happend too.
> >
> > Tested on XP, Win7 and Mac - no go, with Adobe PDF Suite, PDFCreator,
> > PDF24.
> >
> > Open a bugreport?
> >
> > I print my document with Graphics2D. I did not found any Java PDF API,
> > that supports that. Or is there an API that support converting a
> > Graphics2D object to their object/document?
> >
> > Regards
> > Andreas< br>> d. Graphics/2D is essentially a flat thing.
> Once you have painted to it you can't get the sub-components out. You
> need a library that builds PDFs. With it you will add this or that thing
> to the model. Once you have that you can generally render it as a
> Graphics object and use that on screen if needed for an image or
> printing yourself. Too, if you have a viewer, then you can use that to
> view things.
>
> JasperReports puts out PDFs for instance. You could technically use it
> to do that and use the JasperViewer. Now, under the hood it uses Apache
> POI and iText (not Apache I think). You could grab a copy of the
> JasperReports projects sources and from there can determine what they
> specifically use and use that as an example.
>
> Wade
>
> --
>
> =================
> Wade Chandler
>
> Software Engineer and Consultant
> NetBeans eans Dream Team Member
>
> wadechandler.com
> netbeans.org
>



[nbusers] OT printing PDFs

Andreas Ernst 12/01/2012

[nbusers] Re: OT printing PDFs

Wade Chandler 12/01/2012

[nbusers] Re: OT printing PDFs

Edson Richter 12/01/2012

[nbusers] Re: OT printing PDFs

Mark Claassen 12/03/2012

[nbusers] Re: OT printing PDFs

Andreas Ernst 12/03/2012

[nbusers] Re: OT printing PDFs

Mark Claassen 12/04/2012

[nbusers] Re: OT printing PDFs

Andreas Ernst 12/11/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20131025.e7cbc9d). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close