<?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: Ghostscript question in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234730#M39784</link>
    <description>Attached is a PDF conversion using the Postscript and PDF tools that are integrated into Mac OS X.&lt;BR /&gt;&lt;BR /&gt;If there's no Mac OS X box available, here is some reading that might help with your Ghostscript-based approach:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.troubleshooters.com/linux/gs.htm" target="_blank"&gt;http://www.troubleshooters.com/linux/gs.htm&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm" target="_blank"&gt;http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm&lt;/A&gt;</description>
    <pubDate>Tue, 13 Apr 2010 14:27:19 GMT</pubDate>
    <dc:creator>Hoff</dc:creator>
    <dc:date>2010-04-13T14:27:19Z</dc:date>
    <item>
      <title>Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234727#M39781</link>
      <description>Hi everybody,&lt;BR /&gt;&lt;BR /&gt;I have a ghostscript question.&lt;BR /&gt;&lt;BR /&gt;I use ghostscript on OpenVMS, see:&lt;BR /&gt;&lt;BR /&gt;$ gs -version&lt;BR /&gt;Aladdin Ghostscript 6.01 (2000-03-17)&lt;BR /&gt;Copyright (C) 2000 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.&lt;BR /&gt;&lt;BR /&gt;We use it to convert postscript files to PDF.&lt;BR /&gt;This works, with one question left.&lt;BR /&gt;&lt;BR /&gt;Some off the postscript files are in landscape mode, but ghostscript produces a portrait PDF.&lt;BR /&gt;&lt;BR /&gt;I have searched on the Internet, but no solution until now.&lt;BR /&gt;&lt;BR /&gt;Any idea.&lt;BR /&gt;&lt;BR /&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;Piet</description>
      <pubDate>Tue, 13 Apr 2010 05:11:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234727#M39781</guid>
      <dc:creator>Piet Timmers_1</dc:creator>
      <dc:date>2010-04-13T05:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234728#M39782</link>
      <description>Hi Piet,&lt;BR /&gt;&lt;BR /&gt;this may be due to GS selecting the page orientation based on text direction, or getting confused when multiple text directions are in the document. &lt;BR /&gt;&lt;BR /&gt;To my knowledge there is a separation of roles in postscript between the ps file code and the ps interpreter. At least the final determination of page size and orientation is set by the interpreter, with the text description in ps file being mostly agnostic about the limiting dimensions of the page being rendered.&lt;BR /&gt;&lt;BR /&gt;Please see the description of "Setting page orientation" in the PS2pdf documentation...&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm#Orientation" target="_blank"&gt;http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm#Orientation&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;Try experimenting with the AutoRotatePages qualifier (/None or /All or /PageByPage) in combination with the setpagedevice function within the ps file or at the gs command line when printing/viewing the file.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Tue, 13 Apr 2010 08:58:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234728#M39782</guid>
      <dc:creator>Keith Cayemberg</dc:creator>
      <dc:date>2010-04-13T08:58:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234729#M39783</link>
      <description>Hi Keith,&lt;BR /&gt;&lt;BR /&gt;I have tried all the options  I can find in this help information, but still nothing works. When opening the file using Adobe PDF reader I need to rotate it afterwards.&lt;BR /&gt;&lt;BR /&gt;I have attached the file I want to convert to PDF. &lt;BR /&gt;&lt;BR /&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;Piet&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 13 Apr 2010 10:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234729#M39783</guid>
      <dc:creator>Piet Timmers_1</dc:creator>
      <dc:date>2010-04-13T10:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234730#M39784</link>
      <description>Attached is a PDF conversion using the Postscript and PDF tools that are integrated into Mac OS X.&lt;BR /&gt;&lt;BR /&gt;If there's no Mac OS X box available, here is some reading that might help with your Ghostscript-based approach:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.troubleshooters.com/linux/gs.htm" target="_blank"&gt;http://www.troubleshooters.com/linux/gs.htm&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm" target="_blank"&gt;http://pages.cs.wisc.edu/~ghost/doc/cvs/Ps2pdf.htm&lt;/A&gt;</description>
      <pubDate>Tue, 13 Apr 2010 14:27:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234730#M39784</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2010-04-13T14:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234731#M39785</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;Hi Piet,&lt;BR /&gt;&lt;BR /&gt;I have looked at your ps file, and it has a rotate function on each page which is turning all the text on the page by 90Â°.&lt;BR /&gt;&lt;BR /&gt;With a little experimentation, and the troubleshooting doc provided by Hoff, I have a solution which may or may not be workable for your situation.&lt;BR /&gt;&lt;BR /&gt;First using a text editor, I deleted the two lines (one for each page) with the rotate function call. See the  differences output below...&lt;BR /&gt;&lt;BR /&gt;$ diff 356316.PS&lt;BR /&gt;************&lt;BR /&gt;File SYS$SYSDEVICE:[CAYEMBERG.DOWNLOADS.piets_gs]356316.PS;2&lt;BR /&gt;   13   118 118 translate&lt;BR /&gt;******&lt;BR /&gt;File SYS$SYSDEVICE:[CAYEMBERG.DOWNLOADS.piets_gs]356316.PS;1&lt;BR /&gt;   13   -90 rotate -3508 0 translate&lt;BR /&gt;   14   118 118 translate&lt;BR /&gt;************&lt;BR /&gt;************&lt;BR /&gt;File SYS$SYSDEVICE:[CAYEMBERG.DOWNLOADS.piets_gs]356316.PS;2&lt;BR /&gt;  974   118 118 translate&lt;BR /&gt;******&lt;BR /&gt;File SYS$SYSDEVICE:[CAYEMBERG.DOWNLOADS.piets_gs]356316.PS;1&lt;BR /&gt;  975   -90 rotate -3508 0 translate&lt;BR /&gt;  976   118 118 translate&lt;BR /&gt;************&lt;BR /&gt;&lt;BR /&gt;Number of difference sections found: 2&lt;BR /&gt;Number of difference records found: 2&lt;BR /&gt;&lt;BR /&gt;DIFFERENCES /IGNORE=()/MERGED=1-&lt;BR /&gt;    SYS$SYSDEVICE:[CAYEMBERG.DOWNLOADS.piets_gs]356316.PS;2-&lt;BR /&gt;    SYS$SYSDEVICE:[CAYEMBERG.DOWNLOADS.piets_gs]356316.PS;1&lt;BR /&gt;&lt;BR /&gt;Then I forced a landscape format using the following gs batch mode command...&lt;BR /&gt;&lt;BR /&gt;$ gs "-dBATCH" "-dNOPAUSE" "-sOutputFile=NEW.PS" "-sDEVICE=pdfwrite" -&lt;BR /&gt;"-c" "&amp;lt;&amp;gt; setpagedevice" "-f" 356316.PS&lt;BR /&gt;&lt;BR /&gt;The resulting NEW.PS then has the desired text orientation on a landscape formatted page.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;&lt;BR /&gt;Keith &lt;BR /&gt;</description>
      <pubDate>Tue, 13 Apr 2010 16:27:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234731#M39785</guid>
      <dc:creator>Keith Cayemberg</dc:creator>
      <dc:date>2010-04-13T16:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234732#M39786</link>
      <description>Keith,&lt;BR /&gt;&lt;BR /&gt;I almost dare not ask but I have another question.&lt;BR /&gt;&lt;BR /&gt;The resulting PDF is in landscape, but the fist page is in BOLD and the second not. &lt;BR /&gt;&lt;BR /&gt;Do you know why.&lt;BR /&gt;&lt;BR /&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;Piet</description>
      <pubDate>Wed, 14 Apr 2010 05:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234732#M39786</guid>
      <dc:creator>Piet Timmers_1</dc:creator>
      <dc:date>2010-04-14T05:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234733#M39787</link>
      <description>&lt;BR /&gt;Hi Piet,&lt;BR /&gt;&lt;BR /&gt;I don't see any reason for the font to be different between the two pages. The font appears to be bold on both pages with me. This didn't change whether I viewed the NEW.PS using GS on OpenVMS or under Windows XP. The findfont/setfont configuration in the ps file also appears to be identical for both pages.&lt;BR /&gt;&lt;BR /&gt;My gs version on OpenVMS is AFPL Ghostscript 8.54 (2006-05-17)&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Wed, 14 Apr 2010 13:42:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234733#M39787</guid>
      <dc:creator>Keith Cayemberg</dc:creator>
      <dc:date>2010-04-14T13:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234734#M39788</link>
      <description>Keith,&lt;BR /&gt;&lt;BR /&gt;When viewing the postscript file I see on both pages a bold font.&lt;BR /&gt;&lt;BR /&gt;When I use postscript to create a PDF I see bold  on page one and another font on page two using the PDF viewer. The PDF viewer will show an error message when scrolling to page two.&lt;BR /&gt;&lt;BR /&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;Piet</description>
      <pubDate>Thu, 15 Apr 2010 05:13:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234734#M39788</guid>
      <dc:creator>Piet Timmers_1</dc:creator>
      <dc:date>2010-04-15T05:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234735#M39789</link>
      <description>&lt;BR /&gt;Sorry Piet,&lt;BR /&gt;&lt;BR /&gt;I didn't read your explanation carefully enough, and I confused myself about which type of file was being created by gs in the solution I provided. &lt;BR /&gt;&lt;BR /&gt;The command I provided should have read...&lt;BR /&gt;&lt;BR /&gt;$ gs "-dBATCH" "-dNOPAUSE" "-sOutputFile=NEW.PDF" "-sDEVICE=pdfwrite" -&lt;BR /&gt;"-c" "&amp;lt;&amp;gt; setpagedevice" "-f" 356316.PS&lt;BR /&gt;&lt;BR /&gt;The file produced by gs using the pdfwrite device is (of course) a pdf file. The NEW.PDF doesn't need any more conversion to become a pdf.&lt;BR /&gt;&lt;BR /&gt;I also looked at the NEW.PDF using XPDF on OpenVMS and Acrobat Reader on Windows XP. I encountered no error on the 2nd page, and the typeface is the same bold font from the first page.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;&lt;BR /&gt;Keith&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Apr 2010 07:56:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234735#M39789</guid>
      <dc:creator>Keith Cayemberg</dc:creator>
      <dc:date>2010-04-15T07:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ghostscript question</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234736#M39790</link>
      <description>Keith,&lt;BR /&gt;&lt;BR /&gt;Your answer gave me enough informaton to solve the problem.&lt;BR /&gt;&lt;BR /&gt;I was using ghostscript 6.01&lt;BR /&gt;After installing 8.11 everything works fine.&lt;BR /&gt;&lt;BR /&gt;Thank you very much for all the help you gave to me.&lt;BR /&gt;&lt;BR /&gt;Greetings,&lt;BR /&gt;&lt;BR /&gt;Piet</description>
      <pubDate>Fri, 16 Apr 2010 05:37:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/ghostscript-question/m-p/5234736#M39790</guid>
      <dc:creator>Piet Timmers_1</dc:creator>
      <dc:date>2010-04-16T05:37:33Z</dc:date>
    </item>
  </channel>
</rss>

