Announcement

Collapse
No announcement yet.

Advice on generating printed ellipse plots

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Advice on generating printed ellipse plots

    I am attempting to convert to a Windows application a technical
    analysis that used PB 2.x for DOS to do the
    statistical part of the analysis and pascal to generate a laser
    printed ellipse plot using the data from the analysis. The
    calculations are being handled using Access with VBA and PB/DLL
    v 6 with the results being stored in tables. I am trying to
    determine how to generate printed ellipse plots in this
    environment.

    ------------------

  • #2
    Charles,
    If you can plot the points on your output window on the screen, you can use the same procedure to do it on a DC created for your specific printer.
    regards,

    ------------------
    [email protected]
    :) IRC :)

    Comment


    • #3
      Ian,

      The current procedure does not write to the screen but only a
      printed output carefully scaled for one plot per page for HP Printers.
      I was trying to avoid writing to the windows screen. If necessary
      to do so is Graphics Tools one way to accomplish the task?

      Charles

      ------------------

      Comment


      • #4
        Yes you could certainly use Graphics Tools to do this, rather than wading through the print API functions. Eric Pearson will probably be along shortly to offer some simple advice on how to do it with GT's.

        ------------------
        Lance
        PowerBASIC Support
        mailto:[email protected][email protected]</A>
        Lance
        mailto:[email protected]

        Comment


        • #5
          Charles,
          Since your application generates a table of points, you could use PowerPoint(tm), or Harvard Graphics(tm), or another third party graphing application under Windows to do the actual output for you.
          regards,

          ------------------
          [email protected]
          :) IRC :)

          Comment


          • #6
            Charles --

            The current version of Graphics Tools does not support printing, but (without giving too much away) I can tell you that that situation will probably be changing shortly. Watch the Third Party forum for an announcement in the next few weeks...

            -- Eric Pearson, Perfect Sync Software


            ------------------
            Perfect Sync Development Tools
            Perfect Sync Web Site
            Contact Us: mailto:[email protected][email protected]</A>
            "Not my circus, not my monkeys."

            Comment


            • #7
              Gentlemen,

              Thank you for your comments. The suggestion by Ian would be valid if we
              generated all the points and could store in a table. I am aware of articles
              that explore that output technique. Our application procedure makes
              use of the printer's HP-GL pen mode to draw the elipse. If sub routines are
              not done in a certain order you can end up with draglines often
              seen with plotter outputs.

              We will wait and see what develops for Graphic Tools. For the present
              time at least we can use Access,VBA, and PWDLL to solve the analysis
              portion with a parameter ouput file to drive the pascal application.
              Using a scanner on the plots provides a stored image for use by report
              generators for the complete report output. Not neat but it will work.

              Charles

              ------------------

              Comment

              Working...
              X