PrintForm Readme
30-Mar-2007
PrintForm
Windows Form Printing Component (TRIAL Version) 2.1.0.10.
Thank you for using PrintForm.NET. PrintForm gives you easy to use printing solutions for your .NET
application, with as little as one line of code.
New Features in Version 2.1.0.10
- Fix: Updated licensing code for Vista compatability.
New Features in Version 2.1.0.9
- Fix: Added TMGDevelopment.Licensing.Res.resources to PrintForm assembly to fix MissingManifestResourceException error in VS 2005.
New Features in Version 2.1.0.8
- Enh: PrintMethodPrint_TextBox modifed to use TextBoxBase, allowing it to handle the 2005 MaskedTextBox (when specified by AddSupportedType).
- Enh: PrintForm.InternalEmfType property now allows finer control of the type of metafile used for assembly of the final image. This can give better rendering of the spacing of some fonts when set to a GDI+ compatibile setting.
New Features in Version 2.1.0.7
- Fix: e.Graphics argument null in PrintForm.PreDraw event arguments.
- Fix: Honor KnownColor.Transparent in Control.BackColor where possible.
- Fix: Includes TMGDevelopment.Shared.dll 1.0.0.4 fix: accounting for PrintChainManager.Gap value in remaining space on page.
- Fix: Includes TMGDevelopment.Shared.dll 1.0.0.4 fix: first PrintChainManager.DocumentChanged event no longer raised from PrintChainManager.OnBeginPrint, happens during PrintChainManager.OnPrintPage only now.
New Features in Version 2.1.0.6
- Fix: Text alignment problems with setting RightToLeft=Yes corrected for TextBox, ComboBox in DropDownList mode, NumericUpDown and RichTextBox. These controls are now printed as they are displayed on the Form.
New Features in Version 2.1.0.5
- Fix: NullReferenceException when printing Controls with zero Height or Width. These controls and their children now no longer printed.
New Features in Version 2.1.0.4
- Fix: Correct updown button alignment problem for NumericUpdown controls.
- Fix: Correct printing problem with ListView controls (formerly had dependency on latest CLR service packs, see v2.1.0.2 notes, now printed using PrintMethodPrint).
New Features in Version 2.1.0.3
- Fix: Correct clipping error for ScrollableControl derived controls.
- Fix: Correct RichTextBox printing issue when empty string set.
- Enh: PrintMethodOleDraw now exposes a virtual GetOcx method to allow customisation for other types of ActiveX control wrapper.
New Features in Version 2.1.0.2
- Fix: Correct CheckBox printing issue using PrintMethodPrintToMetaFile. PrintMethodPrintToMetaFile requires CLR 1.0SP3, 1.1SP1 or 2.0. Added fallback to PrintMethodPrint if required service pack level not available. ListView and TreeView cannot be printed in this scenario.
New Features in Version 2.1.0.1
- Fix: Correct printed height when chain printing a ScrollableControl with AutoFit=None.
New Features in Version 2.1.0.0
- New: IPrintMethodAdapter helper classes added.
- Enh: Unified namespaces across PrintAdapters, PrintForm and PrintControls.
- Enh: PrintForm.dll renamed to TMGDevelopment.PrintForm.dll.
- Enh: PrintChaining.dll renamed to TMGDevelopment.Shared.dll and more common classes added.
- Enh: FxCop etc rules applied.
- Fix: VS2005 compatability.
New Features in Version 2.0.1.6
- New: SetDefaultUseLegacy method added. Allows setting default value on
dynamically created Forms / Controls etc.
New Features in Version 2.0.1.5
- Fix: Correct layout of pages in page chaining scenario when manual zoom factor set.
- Fix: TextBox printing issue on XP/2003 boxes.
New Features in Version 2.0.1.3
- Fix: Reset and ShouldSerialize VS Designer
support methods added for UseLegacyPrinting and
BackColorWhilePrinting.
New Features in Version 2.0.1.2
- New: AutoZoom property indicating to the user what scaling was calculated.
- Fix: Scrollable Form prints at correct location independent of scrollbar positions.
- Fix: AutoFit.Body now works correctly.
New Features in Version 2.0.1.0
- New: Help file"How do I ... ?" questions and answer list
- New: Complete Help file documentation of PrintForm and Printing namespaces
- New: Help file PrintForm technical overview
- New: Samples (see 'Getting Started' below for details) Application: TaxForm,
Advanced: PrintLargeControl, PrintToFile, PrintToMultiPageTiffFile,
UserControlWithLegacy; Intermediate: PrintHiddenForm, PrintMultipleHiddenForm,
PrintToBitmap.
- Fix: Intermittent failure to print TextBoxes on forms with large number of
controls (>300).
- Fix: Button, CheckBox & RadioButton in FlatStyle=System
don't print as .NET controls, and didn't used to as legacy either. Now fixed to
work as legacy.
- Fix: MonthCalendar no longer replaces backcolor at printtime even if it's not been specified as
this affects the header too.
- Fix: BackColor fill of nested scrollable panel now drawn as correct size
- Fix: BackColorWhilePrinting for metafile based controls now defaults to the
control's BackColor if no alternative set (mainly because RichTextBox doesn't
honor it's BackColor in the rendered RTF, so we have to force it)
New Features in Version 1.3.1.0
- New: PrintChainManager and IPrintChaining definition
moved to shared assembly, PrintChaining.dll. PrintChaining
shared with PrintAdapters component library
New Features in Version 1.3.0.0
- New: Added PrintChainManager to PrintForm
- New: Added IPrintChaining interface implementation on PrintForm
New Features in Version 1.2.2.0
- Fix: Added code to set BackColor for metafile when printing RichTextBox
- Fix: Apply zoom scale factor to scrollable control translation offset.
New Features in Version 1.2.1.0
- New: PrintControl overload allowing user to turn off GDI+ interpolation (for exact bitmap
exports)
- Fix: PrintControl printing clipped to MarginBounds for offset-printed controls (e.g. for Tiled printing across multiple pages)
New Features in Version 1.2.0.0
- New: printing support for .NET TabletPC controls (Microsoft.Ink.InkEdit
and Microsoft.Ink.InkPicture)
- New: PrintForm.PreDraw
event allows you to take charge of printing a particular control
- New: PrintForm.PrintControl
method allows you render any control to any Graphics object - use
PrintForm in custom printing / owner draw scenarios
- Improved printing of RichTextBox and TextBox
controls
- Improved printing of ActiveX controls accessed via COM Interop
New Features in Version 1.1.0.0
- AutoFit to Page with X/Y Centering option (new PrintForm.AutoFit
and PrintForm.CenterStyle properties)
- Print Borders of Forms for Screen Shot printout (new PrintForm.PrintBorders property)
- Manual Zoom setting (new PrintForm.ManualZoom property)
Installation Instructions
You must be logged in as an Administrator when you
install PrintForm.NET. To begin the installation process, run the setup.exe program included with
your installation files. After the installation process has
completed you will need to add the PrintForm components to your
Toolbox in Visual Studio.NET using the following procedure:
1. Open the Visual Studio .NET editor.
2. Right click on the 'General' tab of the Toolbox, and select
'Customise Toolbox...'. (You may alternatively add it to the
Windows Forms tab, or create a new tab).
3. Select the '.NET Framework Components' tab of the Customise
Toolbox Dialog and scroll down until you find 'PrintForm' with a namespace of
TMGDevelopment.Windows.Forms. Check this, highlight the row and click the namespace column
header to sort by namespace. Check all the other controls in the
TMGDevelopment.Windows.Forms namespace and click OK.
You should now be able to drag any PrintForm component from the
General Tab of the Toolbox onto your Form.
Getting Started
PrintForm includes a number of sample applications, but probably
the best place to get started is with the technical overview document in the help file, installed under the PrintForm entry on your
Start menu.
If you have any problems using PrintForm, please contact us
via our website at http://www.winformreports.co.uk/contactus.asp
PrintForm.NET © 2002-2006 TMG Development Ltd