[SP-pm] Módulo PDF::API2 gerando pdf com erro.

Eduardo Almeida eduardo at web2solutions.com.br
Fri Oct 30 17:20:47 PDT 2015


Lucas, sem muito analisar, ta com cara de que o pdf ta mal formado :)

Em 10/30/15 22:06, Lucas Moraes escreveu:
> Boa noite pessoal.
> Eu cortei várias partes de muitos PDF e estou juntando estas partes em 
> apenas uma pagina de PDF.
> Estou conseguindo com exito, mas os arquivo gerado esta ficando muito 
> grande e lento para abrir. Então eu fui usar Ghostscript para tentar 
> diminuir, veja o erro que gera.
>
> lucas em lucas-moraes:~/Downloads$ gs -sDEVICE=pdfwrite 
> -dCompatibilityLevel=1.4 -o out.pdf in.pdf
> GPL Ghostscript 9.10 (2013-08-30)
> Copyright (C) 2013 Artifex Software, Inc.  All rights reserved.
> This software comes with NO WARRANTY: see the file PUBLIC for details.
> Processing pages 1 through 1.
> Page 1
> Loading NimbusMonL-Bold font from 
> /usr/share/fonts/type1/gsfonts/n022004l.pfb... 4469108 2736066 2176520 
> 753832 3 done.
>    **** Error reading a content stream. The page may be incomplete.
>    **** Error reading a content stream. The page may be incomplete.
>    **** File did not complete the page properly and may be damaged.
>
>    **** This file had errors that were repaired or ignored.
>    **** The file was produced by:
>    **** >>>> PDF::API2 2.025 [linux] <<<<
>    **** Please notify the author of the software that produced this
>    **** file that it does not conform to Adobe's published PDF
>    **** specification.
>
> Alguém pode me ajudar ou indicar os possíveis problemas?
> Desde já eu agradeço.
> Bom final de semana a todos.
>
>
>
> =begin disclaimer
>     Sao Paulo Perl Mongers: http://sao-paulo.pm.org/
>   SaoPaulo-pm mailing list: SaoPaulo-pm em pm.org
>   L<http://mail.pm.org/mailman/listinfo/saopaulo-pm>
> =end disclaimer


-- 
Eduardo Almeida - Software Engineer
eduardo em web2solutions.com.br - 27.99831.8663

*WEB2 Solutions* - Inovando, sempre!
-------------- Pr?xima Parte ----------
Um anexo em HTML foi limpo...
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20151030/3c0c9791/attachment-0001.html>
-------------- Pr?xima Parte ----------
Um anexo n?o-texto foi limpo...
Nome: dhtmlx_certified.png
Tipo: image/png
Tamanho: 11630 bytes
Descri??o: n?o dispon?vel
URL: <http://mail.pm.org/pipermail/saopaulo-pm/attachments/20151030/3c0c9791/attachment-0001.png>


More information about the SaoPaulo-pm mailing list