2017-03-06 7 views
0

GhostScript 9,20 donne l'erreur suivante en essayant de convertir une 1 page PDF de PCL:GhostScript (9,20, AIX) Erreur de conversion de PDF à PCL

**** Error reading a content stream. The page may be incomplete. 
       Output may be incorrect. 
Error: /typecheck in --run-- 
Operand stack: 
    --dict:4/4(L)-- 9 11150 9 0 --nostringval-- AP --nostringval-- BS --nostringval-- DA (/Helv 10 Tf 0 g) F 4 FT Tx Ff 12587008 MK --nostringval-- P --nostringval-- Rect --nostringval-- Subtype Widget T (MissingInformation) Type V --nostringval-- Annot 
Execution stack: 
    %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1983 1 3 %oparray_pop 1982 1 3 %oparray_pop 1966 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- --nostringval-- 
Dictionary stack: 
    --dict:1205/1684(ro)(G)-- --dict:1/20(G)-- --dict:83/200(L)-- --dict:83/200(L)-- --dict:135/256(ro)(G)-- --dict:291/300(ro)(G)-- --dict:30/32(L)-- 
Current allocation mode is local 
GPL Ghostscript 9.20: Unrecoverable error, exit code 1 

Il est en cours d'exécution dans Unix AIX avec le suivant:

gs -dSAFER -sDEVICE=pxlmono -sPAPERSIZE=letter -dFIXEDMEDIA -dPDFFitPage 

Sample file that fails

Toute pensée serait appréciée!

Merci,

Ron

+0

Je peux le reproduire simplement avec 'gs gsFail.pdf'. peut-être est-il correct de dire "La page peut être incomplète"? –

Répondre

0

Votre fichier PDF contient une erreur. Il contient une annotation qui a (objet 9):

/V /APPTRIAGE#20CASEONED#3A#0D#0D...Part#20II#3A#20DrugExperimentation#20-#20Drugs#2FMedication#20Not#20Prescribed#3A # 20Was # 20doctor # 20seen # 3F # 20Provide # 20détail # 20if # 20ans # 0D # 0D ... Partie # 20II # 3A # 20AlcoholDrugTreatment # 20- # 20Alcohol # 20Abuse # 20Treatment # 3A # 20Was # 20doctor # 20seen # 3F # 20Provide # 20détail # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20HivAids # 20- # 20VIH # 3A # 20Was # 20doctor # 20seen # 3F # 20Provide # 20détail # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20HivAids # 20- # 20AIDS # 3A # 20Was # 20docteur # 20seen # 3F # 20Provide # 20détail # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20LiverDisease # 20- # 20Esophagus # 20Désordre # 3A # 20Was # 20docteur # 20seen # 3F # 20Provide # 20détail # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Stress # 3A # 20Avoir # 20ou # 20ever # 20recevu # 20disability # 20ou # 20missed # 20work # 20due # 20to # 20psychiatriC# 20raisons # 3F # 20Provide # 20détails # 20 if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Stress # 3A # 20Do # 20ou # 20see # 20a # 20psychiatre # 20ou # 20counselor # 3F # 20Provide # 20détails # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Stress # 3A # 20Was # 20docteur # 20seen # 3F # 20Provide # 20détail # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Stress # 3A # 20support # 20group # 20membre # 20info # 20missing # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20 - # 20Counseling # 20- # 20Stress # 3A # 20date # 20diagnosed # 20missing # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Depression # 3A # 20Have # 20you # 20ever # 20received # 20disabilité # 20ou # 20missed # 20work # 20due # 20to # 20psychiatriC# 20raisons # 3F # 20Provide # 20détails # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Depression # 3A # 20Do # 20ou # 20see # 20a # 20psychiatre # 20ou # 20counselor # 3F # 20Provide # 20détails # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Dépression # 3A # 20Was # 20doctor # 20seen # 3F # 20Provide # 20deta il # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Depression # 3A # 20support # 20group # 20membre # 20info # 20missing # 0D # 0D ... Part # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Depression # 3A # 20date # 20diagnosed # 20missing # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Anxiety # 3A # 20Avoir # 20ou # 20ever # 20recevu # 20disability # 20ou # 20missed # 20work # 20due # 20to # 20psychiatriC# 20reasons # 3F # 20Fournir # 20détails # 20f # 20yes. # 0D # 0D ... Part # 20II # 3A # 20DentalMent # 20- # 20Counseling # 20- # 20Anxiété # 3A # 20Do # 20ou # 20voir # 20a # 20psychiatre # 20ou # 20counselor # 3F # 20Fournir # 20détails # 20if # 20yes. # 0D # 0D ... Part # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20- # 20Anxiété # 3A # 20Was # 20docteur # 20seen # 3F # 20Provide # 20détail # 20if # 20yes. # 0D # 0D ... Partie # 20II # 3A # 20MentalDisorder # 20- # 20Counseling # 20 - # 20Anxiété # 3A # 20support # 20groupe # 20membre # 20info # 20missing # 0D # 0D # 28Continued # 20on # 20next # 20page # 29

Le champ/V d'une annotation peut être une chaîne de texte ou un flux. Cette annotation a un objet nom. Donc c'est immédiatement incorrect. De plus, les objets nom sont soumis à une limite de mise en œuvre qui est donnée dans l'annexe C de la référence PDF en tant que 127 octets, ce qui est considérablement inférieur à ce monstre. Ghostscript autorise des noms plus grands, mais pas aussi grands.

Même si je "corrige" cela, Ghostscript n'aime toujours pas le fichier, et si vous ouvrez le fichier dans Acrobat, puis le fermez, il vous propose d'enregistrer les modifications, ce qui est une bonne indication qu'Acrobat a silencieusement ignoré une erreur.

En fait, le fichier a été modifié et l'édition a encore brisé le fichier.

En bref, votre fichier est cassé, c'est pourquoi cela ne fonctionne pas.