{"id":25,"date":"2008-01-14T15:38:39","date_gmt":"2008-01-14T14:38:39","guid":{"rendered":"http:\/\/wp1.fredptitgars.net\/index.php\/2008\/01\/14\/creer-des-documents-pdf-sous-linux\/"},"modified":"2008-01-14T15:38:39","modified_gmt":"2008-01-14T14:38:39","slug":"creer-des-documents-pdf-sous-linux","status":"publish","type":"post","link":"https:\/\/fredptitgars.ovh\/?p=25","title":{"rendered":"Cr\u00e9er des documents pdf sous linux"},"content":{"rendered":"<h2>Logiciel n\u00e9cessaire<\/h2>\n<p>&#8211; Un linux bien sur<br \/>\n&#8211; Ghostscript (gs)<br \/>\n&#8211; une application pour faire un document comme openoffice<\/p>\n<h2>1 Cr\u00e9ation d&rsquo;un fichier Postscript<\/h2>\n<p>Dans un premier temps, il faut avoir ou cr\u00e9er un document. Ensuite, il suffit de l&rsquo;imprimer, et de sp\u00e9cifier que l&rsquo;on veut l&rsquo;imprimer dans  un fichier:<br \/>\n&#8211; Cochez la case : \u201cImprimer dans un fichier\u201d.<br \/>\n&#8211; Indiquer le nom du fichier avec l&rsquo;extention <strong>ps<\/strong><\/p>\n<h2>2 Convertion au format pdf<\/h2>\n<p>En ligne de commande, aller dans le r\u00e9pertoire ou se trouve le fichier \u00e0 convertir, puis lancer la commande:<\/p>\n<p><code><br \/>\ngs -q -dBATCH -dNOPAUSE -sPAPERSIZE=a4 -sDEVICE=pdfwrite -sOutputFile=fichier_final.pdf fichier.ps<br \/>\n<\/code><\/p>\n<p>Dans cette exemple, nous avons g\u00e9n\u00e9rer l&rsquo;impression dans le fichier <em>fichier.ps<\/em> et nous avons g\u00e9n\u00e9rer le fichier pdf :<em>fichier_final.pdf<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Logiciel n\u00e9cessaire &#8211; Un linux bien sur &#8211; Ghostscript (gs) &#8211; une application pour faire un document comme openoffice 1 Cr\u00e9ation d&rsquo;un fichier Postscript Dans un premier temps, il faut avoir ou cr\u00e9er un document. Ensuite, il suffit de l&rsquo;imprimer, et de sp\u00e9cifier que l&rsquo;on veut l&rsquo;imprimer dans un fichier: &#8211; Cochez la case : [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[],"class_list":["post-25","post","type-post","status-publish","format-standard","hentry","category-linux"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts\/25","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25"}],"version-history":[{"count":0,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=\/wp\/v2\/posts\/25\/revisions"}],"wp:attachment":[{"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fredptitgars.ovh\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}