<?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 Re: Batch PDF Printing to PostScript Printer in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925544#M761876</link>
    <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;try setting the DISPLAY variable like this:&lt;BR /&gt;$ export DISPLAY=127.0.0.1:0&lt;BR /&gt;&lt;BR /&gt;and then try acroread like this:&lt;BR /&gt;$ /path/to/acroread -toPostScript -shrink &amp;lt; /path/to/whatever.pdf | lp -d myprinter&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;BR /&gt;</description>
    <pubDate>Sat, 13 Jan 2007 11:15:47 GMT</pubDate>
    <dc:creator>john korterman</dc:creator>
    <dc:date>2007-01-13T11:15:47Z</dc:date>
    <item>
      <title>Batch PDF Printing to PostScript Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925542#M761874</link>
      <description>We need to batch convert PDF files to PostScript for printing.  We're running hp-ux 11.11.  I researched some other posts here on the ITRC and started down the path of using acroreader.  This worked for printing interactively, but I can't determine a way to make it work without having a DISPLAY set. &lt;BR /&gt;&lt;BR /&gt;Has anyone else done this and what did you do?&lt;BR /&gt;&lt;BR /&gt;I am open to using GhostScript, but I have no clue how to get it set up on my system, let alone use it.  &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 12 Jan 2007 13:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925542#M761874</guid>
      <dc:creator>Jeff Carlin</dc:creator>
      <dc:date>2007-01-12T13:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Batch PDF Printing to PostScript Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925543#M761875</link>
      <description>&lt;!--!*#--&gt;When I invoke acroread with -? I get:&lt;BR /&gt;    -toPostScript [options] pdf_file ... [ps_dir]&lt;BR /&gt;    -toPostScript [options] -pairs pdf_file_1 ps_file_1 ...&lt;BR /&gt;    -toPostScript [options]&lt;BR /&gt;        Converts the given pdf_files to PostScript.&lt;BR /&gt;&lt;BR /&gt;On page 5 of the acroread help it says:&lt;BR /&gt;&lt;BR /&gt;To display a list of all Acrobat Reader command-line options (UNIX), start the Acrobat Reader product with the -help option. For example: acroread -help&lt;BR /&gt;&lt;BR /&gt;Page 10 has:&lt;BR /&gt;Printing PDF documents from the command line (UNIX)</description>
      <pubDate>Sat, 13 Jan 2007 05:01:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925543#M761875</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-01-13T05:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Batch PDF Printing to PostScript Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925544#M761876</link>
      <description>Hi Jeff,&lt;BR /&gt;&lt;BR /&gt;try setting the DISPLAY variable like this:&lt;BR /&gt;$ export DISPLAY=127.0.0.1:0&lt;BR /&gt;&lt;BR /&gt;and then try acroread like this:&lt;BR /&gt;$ /path/to/acroread -toPostScript -shrink &amp;lt; /path/to/whatever.pdf | lp -d myprinter&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;John K.&lt;BR /&gt;</description>
      <pubDate>Sat, 13 Jan 2007 11:15:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925544#M761876</guid>
      <dc:creator>john korterman</dc:creator>
      <dc:date>2007-01-13T11:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Batch PDF Printing to PostScript Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925545#M761877</link>
      <description>I had tried that, still get the error:&lt;BR /&gt;&lt;BR /&gt;(acroread:27492): Gtk-WARNING **: cannot open display:</description>
      <pubDate>Sat, 13 Jan 2007 22:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925545#M761877</guid>
      <dc:creator>Jeff Carlin</dc:creator>
      <dc:date>2007-01-13T22:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Batch PDF Printing to PostScript Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925546#M761878</link>
      <description>Try using Xvfb (virtual framebuffer X server).&lt;BR /&gt;&lt;BR /&gt;$ xinit acroread -toPostscript -pairs file.pdf file.ps -- /usr/bin/X11/Xvfb :1</description>
      <pubDate>Sun, 14 Jan 2007 02:08:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925546#M761878</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2007-01-14T02:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: Batch PDF Printing to PostScript Printer</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925547#M761879</link>
      <description>Thanks for the identifying the xinit approach.  It worked for me like this:&lt;BR /&gt;&lt;BR /&gt;xinit /usr/local/bin/printpdf.sh -ld {printer} {pdf_file} -- /usr/bin/X11/Xvfb :0&lt;BR /&gt;&lt;BR /&gt;I wrote a wrapper for acroread to specify the PATH and LD_LIBRARY_PATH for GTK+.  It also specifies some options I needed set for acroread.  &lt;BR /&gt;&lt;BR /&gt;Again, thanks everyone for the help! &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 15 Jan 2007 11:36:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-pdf-printing-to-postscript-printer/m-p/3925547#M761879</guid>
      <dc:creator>Jeff Carlin</dc:creator>
      <dc:date>2007-01-15T11:36:07Z</dc:date>
    </item>
  </channel>
</rss>

