<?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: print vector graphics in Software Archive</title>
    <link>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971674#M24101</link>
    <description>I don't know about postscript, but have you considered HPGL formatted output? &lt;BR /&gt;If you can draw to a window, then you can easily translate the draw commands to &lt;BR /&gt;HPGL format. These consist of PU X,Y (move to x,y with pen up, i.e. do not draw line from present position) and PD X,Y (move to x,y with pen down, i.e. draw line from present position). ALong with SP (select pen), PT (pen thickness) and a suitable header/preamble (stolen from a good HPGL-formatted file, see below), you can &lt;BR /&gt;easily create a text file of commands which is importable into any document with a half-decent HPGL filter or HPGL viewer and then print from there. You have to do your own scaling, but this is straightforward - the example below &lt;BR /&gt;shows the size of the numbers - the first few PU and PD's draw a rectangular box &lt;BR /&gt;around the plotting area.&lt;PRE&gt; 
 IN;IP;IW;PS4;PU0,0;PT0.1;SP1;DT; 
 PU1100,1100;PD1100,7475 
 PD9600,7475;PD9600,1100 
 PD1100,1100;PD 
 SP1;LT2; 
 SP1;LT4; 
 PU4961,4875;PD5001,4840 
 SP1;LT2; 
 PU5001,4840;PD5044,4808 
 PU5044,4808;PD5091,4781 
 PU5091,4781;PD5140,4758 
 PU5140,4758;PD5191,4741 
 PU5191,4741;PD5244,4728 
&lt;/PRE&gt; &lt;BR /&gt;Just sign off with the commands&lt;PRE&gt; 
 PU0,0;SP0&lt;/PRE&gt; &lt;BR /&gt;In my experience, some import filters like/demand only one PU or PD command per record. Decent ones will take several commands per record, each seperated by semi-colons. &lt;BR /&gt;HTH</description>
    <pubDate>Fri, 26 Oct 2001 17:00:12 GMT</pubDate>
    <dc:creator>isn-removed200637</dc:creator>
    <dc:date>2001-10-26T17:00:12Z</dc:date>
    <item>
      <title>print vector graphics</title>
      <link>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971673#M24100</link>
      <description>What is the best method for getting vector graphics printed from a visual fortran program.  The documentation only discusses bitmaps which are not good enough for our applications.  Our old mainframe system used a program that converted the stream to a postscript format and sent it to the printer.  Is there something like that for the AC that will work with visual fort ran.  I am new to the AC programming environment.  Any help will be appreciated.  TX</description>
      <pubDate>Thu, 25 Oct 2001 23:16:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971673#M24100</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-10-25T23:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: print vector graphics</title>
      <link>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971674#M24101</link>
      <description>I don't know about postscript, but have you considered HPGL formatted output? &lt;BR /&gt;If you can draw to a window, then you can easily translate the draw commands to &lt;BR /&gt;HPGL format. These consist of PU X,Y (move to x,y with pen up, i.e. do not draw line from present position) and PD X,Y (move to x,y with pen down, i.e. draw line from present position). ALong with SP (select pen), PT (pen thickness) and a suitable header/preamble (stolen from a good HPGL-formatted file, see below), you can &lt;BR /&gt;easily create a text file of commands which is importable into any document with a half-decent HPGL filter or HPGL viewer and then print from there. You have to do your own scaling, but this is straightforward - the example below &lt;BR /&gt;shows the size of the numbers - the first few PU and PD's draw a rectangular box &lt;BR /&gt;around the plotting area.&lt;PRE&gt; 
 IN;IP;IW;PS4;PU0,0;PT0.1;SP1;DT; 
 PU1100,1100;PD1100,7475 
 PD9600,7475;PD9600,1100 
 PD1100,1100;PD 
 SP1;LT2; 
 SP1;LT4; 
 PU4961,4875;PD5001,4840 
 SP1;LT2; 
 PU5001,4840;PD5044,4808 
 PU5044,4808;PD5091,4781 
 PU5091,4781;PD5140,4758 
 PU5140,4758;PD5191,4741 
 PU5191,4741;PD5244,4728 
&lt;/PRE&gt; &lt;BR /&gt;Just sign off with the commands&lt;PRE&gt; 
 PU0,0;SP0&lt;/PRE&gt; &lt;BR /&gt;In my experience, some import filters like/demand only one PU or PD command per record. Decent ones will take several commands per record, each seperated by semi-colons. &lt;BR /&gt;HTH</description>
      <pubDate>Fri, 26 Oct 2001 17:00:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971674#M24101</guid>
      <dc:creator>isn-removed200637</dc:creator>
      <dc:date>2001-10-26T17:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: print vector graphics</title>
      <link>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971675#M24102</link>
      <description>Hi, &lt;BR /&gt; &lt;BR /&gt;I spent a great deal of time getting vector graphics working under &lt;BR /&gt;WINDOWS. I would be happy to zip it all up and send it to you if I had &lt;BR /&gt;an email address. You would strip out all the things you don't need. The interface routines handle output to the screen, hpgl, calcomp and a few &lt;BR /&gt;other odd packages by setting a device string. &lt;BR /&gt; &lt;BR /&gt;Bill</description>
      <pubDate>Fri, 26 Oct 2001 23:19:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971675#M24102</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-10-26T23:19:19Z</dc:date>
    </item>
    <item>
      <title>Re: print vector graphics</title>
      <link>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971676#M24103</link>
      <description>Thanks for the replies. I would like to get your zipped files.  You can e-mail them to me at rob.sewell@lmco.com or at rsewell@home.com.</description>
      <pubDate>Tue, 30 Oct 2001 01:05:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971676#M24103</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-10-30T01:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: print vector graphics</title>
      <link>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971677#M24104</link>
      <description>Bill,  If possible I too would like to look at your graphics routines.  My email is Robert.Magliola@parsons.com.  &lt;BR /&gt; &lt;BR /&gt;If one  is working with source code which has CalComp calls I recommend they look at the page given below at Southhampton Fortran Support.  The public domain routines listed here work well in producing HPGL, and PostScript files. &lt;BR /&gt;&lt;A href="http://www.soton.ac.uk/~fortran/libraries/calcomp/convert.html" target="_blank"&gt;http://www.soton.ac.uk/~fortran/libraries/calcomp/convert.html&lt;/A&gt; &lt;BR /&gt; &lt;BR /&gt;Bob</description>
      <pubDate>Fri, 02 Nov 2001 04:00:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/print-vector-graphics/m-p/971677#M24104</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-11-02T04:00:49Z</dc:date>
    </item>
  </channel>
</rss>

