You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2016/03/16 07:17:33 UTC

[jira] [Commented] (PDFBOX-3274) Unreadable PDF print

    [ https://issues.apache.org/jira/browse/PDFBOX-3274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15196832#comment-15196832 ] 

Andreas Lehmkühler commented on PDFBOX-3274:
--------------------------------------------

Please attach a sample pdf

> Unreadable PDF print
> --------------------
>
>                 Key: PDFBOX-3274
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3274
>             Project: PDFBox
>          Issue Type: Bug
>          Components: PDModel
>    Affects Versions: 1.8.11
>         Environment: Windows (7 and 10), Eclipse Mars
>            Reporter: Arthur Vuijk
>             Fix For: 1.8.11
>
>
> Newby to PDFBox!!
> {code}
> public static void main(String[] args) { 
> 	  printername = "HP Photosmart 6510 series";
>       PDDocument document = null;
>       try
>       {
>     	  PrinterJob Printjob4 = PrinterJob.getPrinterJob();
>     	  document = PDDocument.load ("E:\\1062542195549019.pdf");
>     	  PrintService[] printService = PrinterJob.lookupPrintServices();
>     	  boolean printerfound=false;
>     	  for (int i = 0; !printerfound && i < printService.length; i++)
>     	  {
>     		  if(printService[i].getName().indexOf(printername)!= -1)
>     		  {
>     			  Printjob4.setPrintService(printService[i]);
>     			  printerfound = true;
>     		  }
>     	  }
>     	  document.silentPrint( Printjob4 );
>     	  document.close();
>       } catch (IOException e)
>       {	System.out.println("Fout bij printen");
>       
>       } catch (PrinterException e) {
>     	  System.out.println("Fout bij printen");
> 		e.printStackTrace();
> 	}
>    }
> }
> {code}
> Returns:
> {code}
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> INFO: unsupported/disabled operation: BDC
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> INFO: unsupported/disabled operation: EMC
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> INFO: unsupported/disabled operation: BDC
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> INFO: unsupported/disabled operation: EMC
> mrt 15, 2016 10:01:25 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> INFO: unsupported/disabled operation: BDC
> mrt 15, 2016 10:01:26 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> INFO: unsupported/disabled operation: EMC
> mrt 15, 2016 10:01:26 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> INFO: unsupported/disabled operation: BDC
> mrt 15, 2016 10:01:26 PM org.apache.pdfbox.util.PDFStreamEngine processOperator
> INFO: unsupported/disabled operation: EMC
> {code}
> PDF File contains CID font types!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org