<?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: acroread command line in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655902#M615065</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;to run the acroread, you need GUI, or exported Display to some Xserver.&lt;BR /&gt;&lt;BR /&gt;acroread reuired GUI.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
    <pubDate>Thu, 01 Jul 2010 21:11:12 GMT</pubDate>
    <dc:creator>Michal Kapalka (mikap)</dc:creator>
    <dc:date>2010-07-01T21:11:12Z</dc:date>
    <item>
      <title>acroread command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655901#M615064</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;I am attempting to use acroread to print PDF files via the command line on my 11.23 installation.  I have acrobat reader 7.0.9 installed and operational, but whenever I try to execute acroread from the command line I get an "Cannot open display" error.  I am using PuTTY to connect, so there is no display to open.&lt;BR /&gt;&lt;BR /&gt;# acroread -help&lt;BR /&gt;&lt;BR /&gt;(acroread:15331): Gtk-WARNING **: cannot open display:&lt;BR /&gt;#&lt;BR /&gt;# acroread&lt;BR /&gt;&lt;BR /&gt;(acroread:15358): Gtk-WARNING **: cannot open display:&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have successfully used acroread from an X emulator, but my ultimate goal here is to use acroread from the command line and script something that will run in cron to print PDF's automatically.&lt;BR /&gt;&lt;BR /&gt;Any help or ideas are greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;--John</description>
      <pubDate>Thu, 01 Jul 2010 20:21:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655901#M615064</guid>
      <dc:creator>John Talaga</dc:creator>
      <dc:date>2010-07-01T20:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: acroread command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655902#M615065</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;to run the acroread, you need GUI, or exported Display to some Xserver.&lt;BR /&gt;&lt;BR /&gt;acroread reuired GUI.&lt;BR /&gt;&lt;BR /&gt;mikap</description>
      <pubDate>Thu, 01 Jul 2010 21:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655902#M615065</guid>
      <dc:creator>Michal Kapalka (mikap)</dc:creator>
      <dc:date>2010-07-01T21:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: acroread command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655903#M615066</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Did you try something like this:&lt;BR /&gt;&lt;BR /&gt;# acroread -toPostScript&lt;BR /&gt;-size a4 myfile.pdf | lp -dmyprinter&lt;BR /&gt;&lt;BR /&gt;The alternative is to try to use&lt;BR /&gt;Ghostscript.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;VK2COT&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Jul 2010 21:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655903#M615066</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2010-07-01T21:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: acroread command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655904#M615067</link>
      <description>&lt;!--!*#--&gt;For interactive (-looking) use, it may demand&lt;BR /&gt;an X display (even if it doesn't really need&lt;BR /&gt;one).  I know nothing, but I gather that for&lt;BR /&gt;(very) non-interactive use (like, say,&lt;BR /&gt;"-toPostScript"), it may be less demanding.</description>
      <pubDate>Thu, 01 Jul 2010 21:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655904#M615067</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-07-01T21:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: acroread command line</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655905#M615068</link>
      <description>Hello all,&lt;BR /&gt;&lt;BR /&gt;It appears mikap is correct in that the GUI is required.&lt;BR /&gt;&lt;BR /&gt;Using VK2COT's suggestion:&lt;BR /&gt;&lt;BR /&gt;# acroread -toPostScript mydocument.pdf | lp -diss&lt;BR /&gt;&lt;BR /&gt;(acroread:29368): Gtk-WARNING **: cannot open display:&lt;BR /&gt;lp: standard input is empty&lt;BR /&gt;lp: request not accepted&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;I missed whatever document said that an X server was required for acroread, so I am just wondering... with Ghostscript will I be able to print pdf's automatically with a Bourne shell script via cron?&lt;BR /&gt;&lt;BR /&gt;Thanks all,&lt;BR /&gt;&lt;BR /&gt;--John&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 02 Jul 2010 14:51:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/acroread-command-line/m-p/4655905#M615068</guid>
      <dc:creator>John Talaga</dc:creator>
      <dc:date>2010-07-02T14:51:24Z</dc:date>
    </item>
  </channel>
</rss>

