Jump to content
We've recently updated our Privacy Statement, available here ×

How to print to an OutputStream (PCL) ?


pnicolay

Recommended Posts

Hi,

I've JasperReports running native on iSeries (AKA AS/400) generating PDF documents, however I also want to print these reports.  I looked at various topics about printing, but I can't find any method that sends the report to an OutputStream (which is what I need to send data to an iSeries printer directly).

If I use JasperExportManager.exportReportToPdfStream(print, myOutputStream) the printer ofcourse gets the PDF (which it doesn't understand, and so prints rubbish) instead of PCL5 data (which it would be able to print).

Is JasperReports capable of generating a PCL data stream (I would think it does because it can print on my Windows PC) ?

Thanks,
Paul

 

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...