Je souhaite reconvertir mon fichier .ps (créé à partir d'un fichier .pdf crypté) au format .pdf.
L'utilisation de ps2pdf
dans ghostscript me donne le message suivant sur l'invite de commande:
This PostScript file was created from an encrypted PDF file.
Redistilling encrypted PDF is not permitted.
Error: /undefined in
--eexec-- Operand stack: --nostringval-- --dict:89/200(L)-- quit Execution stack: %interp_exit .runexec2 --nostringval--
--nostringval-- --nostringval-- 2 %stopped_Push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_Push 1977 1 3 %oparray_pop 1976 1 3
%oparray_pop 1960 1 3 %oparray_pop 1852 1 3
%oparray_pop --nostringval-- %errorexec_pop .runexec2
--nostringval-- --nostringval-- --nostringval-- 2 %stopped_Push --nostringval-- 1843 2 3 %oparray_pop
--nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1198/1684(ro)(G)-- --dict:1/20(G)-- --dict:89/200(L)-- --dict:1198/1684(ro)(G)--
Current allocation mode is local Last OS error: No such file or directory
GPL Ghostscript 9.18: Unrecoverable
error, exit code 1
Est-il possible de reconvertir mon fichier .ps en .pdf si je connais le mot de passe du fichier .pdf crypté d'origine à partir duquel le fichier .ps a été créé?
Pourquoi n'utilisez-vous pas imagemagick? Essaye ça:
convertir monfichier.ps monfichier.pdf
J'espère que ça vous aide