A question about printing

  • Thread starter Thread starter phil cunningham
  • Start date Start date
P

phil cunningham

Hi there

We have a CAD application written in C# that consists of a series of shapes.
We need to product a range of reports for a range of different paper sizes
(letter size to 36" paper).

Each report contains a Table of Data together with a scaled picture of the
shapes, filled in different colors - it may be one page or can be serval
pages long.

We can see two approaches.
Either render everything to a Grpahics and handle this through the standard
Print and PrintPreview controls

or...
Generate an external file (HTML/XML) and then use Explorer to handle the
pagination viewing and printing. (We can create a BMP/PNG file for the
graphical part)

Does anyone have any experience of this type of problem and whether going
the HTML/XML route will cause problems.

Any feedback will be much appreciated.


Thanks
Phil
 
Phil,

I would say to use the HTML/XML approach if you could. Unless you have
a lot of experience with graphic/printing/layout code, chances are that you
would run into problems (I know I wouldn't want to render text and have to
worry about all of that, for example, how do you know how much text to fit
on a line? The graphics primitives don't have much to help you there).

Hope this helps.
 
Back
Top