<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic convert pdf to pcl w/ghostscript... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520397#M219808</link>
    <description>The developers are creating pdf output, which they would like to print.&lt;BR /&gt;Initially acroread from adobe, looked like the solution:&lt;BR /&gt;convert pdf to postscript and print....but I found that some of our older laserjet printers (laserjet4) had issues when they received any postscript print request.&lt;BR /&gt;&lt;BR /&gt;Now I am looking at ghostscript to go from pdf to pcl which all printers can support.&lt;BR /&gt;&lt;BR /&gt;I am using the following command to convert the file from pdf to pcl:&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin/gs -sDEVICE=laserjet -sOutputFile=laserjet.prn -dNOPAUSE -q -dBATCH b.1558648.00.out.pdf -c quit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ file b.1558648.00.out.pdf &lt;BR /&gt;b.1558648.00.out.pdf:   lex command text&lt;BR /&gt;&lt;BR /&gt;$ file laserjet.prn &lt;BR /&gt;laserjet.prn:   PCL&lt;BR /&gt;&lt;BR /&gt;Since I am new to ghostscript, are there any arguments I can take advantage of?&lt;BR /&gt;maybe cleanup the syntax listed above?&lt;BR /&gt;&lt;BR /&gt;thanks for your assistance,&lt;BR /&gt;manuel</description>
    <pubDate>Thu, 07 Apr 2005 13:57:21 GMT</pubDate>
    <dc:creator>Manuel Contreras</dc:creator>
    <dc:date>2005-04-07T13:57:21Z</dc:date>
    <item>
      <title>convert pdf to pcl w/ghostscript...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520397#M219808</link>
      <description>The developers are creating pdf output, which they would like to print.&lt;BR /&gt;Initially acroread from adobe, looked like the solution:&lt;BR /&gt;convert pdf to postscript and print....but I found that some of our older laserjet printers (laserjet4) had issues when they received any postscript print request.&lt;BR /&gt;&lt;BR /&gt;Now I am looking at ghostscript to go from pdf to pcl which all printers can support.&lt;BR /&gt;&lt;BR /&gt;I am using the following command to convert the file from pdf to pcl:&lt;BR /&gt;&lt;BR /&gt;/usr/local/bin/gs -sDEVICE=laserjet -sOutputFile=laserjet.prn -dNOPAUSE -q -dBATCH b.1558648.00.out.pdf -c quit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ file b.1558648.00.out.pdf &lt;BR /&gt;b.1558648.00.out.pdf:   lex command text&lt;BR /&gt;&lt;BR /&gt;$ file laserjet.prn &lt;BR /&gt;laserjet.prn:   PCL&lt;BR /&gt;&lt;BR /&gt;Since I am new to ghostscript, are there any arguments I can take advantage of?&lt;BR /&gt;maybe cleanup the syntax listed above?&lt;BR /&gt;&lt;BR /&gt;thanks for your assistance,&lt;BR /&gt;manuel</description>
      <pubDate>Thu, 07 Apr 2005 13:57:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520397#M219808</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2005-04-07T13:57:21Z</dc:date>
    </item>
    <item>
      <title>Re: convert pdf to pcl w/ghostscript...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520398#M219809</link>
      <description>I am particularly looking for a way to incorporate the actual printing of the new PCL file.&lt;BR /&gt;&lt;BR /&gt;a ONEliner would be great...&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;manuel</description>
      <pubDate>Thu, 07 Apr 2005 15:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520398#M219809</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2005-04-07T15:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: convert pdf to pcl w/ghostscript...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520399#M219810</link>
      <description>ok, I found my one liner...I think:&lt;BR /&gt;&lt;BR /&gt; cat b.1558648.00.out.pdf  | /usr/local/bin/gs -sDEVICE=laserjet -q -dNOPAUSE -dPDFFitPage -dBATCH -sOutputFile=- -  2&amp;gt; /dev/null | lp -d printerID&lt;BR /&gt;&lt;BR /&gt;the only problem is that the output tends to be high and to the right...&lt;BR /&gt;&lt;BR /&gt;I have tried several ghostscript options to try and scale the image, unfortunately none have yet to work...&lt;BR /&gt;&lt;BR /&gt;any ideas?&lt;BR /&gt;manuel&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Apr 2005 17:19:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520399#M219810</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2005-04-07T17:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: convert pdf to pcl w/ghostscript...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520400#M219811</link>
      <description>Now that I can convert pdf to pcl and print, I would like to write something to recognize the file TO BE printed.&lt;BR /&gt;&lt;BR /&gt;I was thinking that I could utilize the "file" command, as pdf files/output (regardless of file extention) indicates "lex command text"...&lt;BR /&gt;&lt;BR /&gt;$ file tps_tcdockinv_format.pdf &lt;BR /&gt;tps_tcdockinv_format.pdf:       lex command text&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Is there another way to determine that a file is a PDF file?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;manuel&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Apr 2005 12:12:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/convert-pdf-to-pcl-w-ghostscript/m-p/3520400#M219811</guid>
      <dc:creator>Manuel Contreras</dc:creator>
      <dc:date>2005-04-14T12:12:57Z</dc:date>
    </item>
  </channel>
</rss>

