qbd software ltd [UK]
moth > qbd software
qPrinter Index Enhanced Visual Basic Printer Object with Print Preview.
Page: 17 Feb 2005
 
Links
Moth
qPrinterē
qPē Documentation
qPrinter 1.6
 
News
-=[ qPrinterē Update ]=-

-=[ qPrinterē PDF Documentation Available ]=-

 
Contact
Mail Moth

Screenshot of new qPrinter2 Report ExampleIntroduction

Your forms and user interface look great but when your user prints a document from your program they end up with something that looks like a 1970's bank statement.

We often needed to create printed documents and reports based on information supplied by the user and we wanted to be able to allow users to Preview and Print those documents.  Unfortunately the Visual Basic Printer Object is so inadequate we decided to make some improvements.

qPrinter was developed to allow professional printed output from Visual Basic without resorting to using (and distributing) a RichTextBox Control.  It is not suitable for Word Processor applications (see the Useful Links section at the bottom of this page).  We are currently finalising qPrinterē than includes new features like Image support.

Background

The Visual Basic Printer Object has always been difficult to work with.  Many programmers are surprised to find it doesn't even provide basic word-wrapping support, something that we take for granted with Visual Basic controls.  Many people resort to using Fixed Width fonts (like Courier) so that every line contains an exact number of characters.

Although the Printer Object has properties to change printer settings like 'orientation' and 'papersize', there is no guarantee that they will have any effect.  If you distribute an application that uses the VB Printer Object you may find what worked on your development machine has no effect on your user's machine.  See the mothTips page for further information about working with Printer properties.

qPrinterē

The latest version of qPrinterē is now available.  qPrinterē is not compatible with earlier versions.  We have moved toward a Document Object to make improving the project easier and as a better way of organising items to be printed.  See the qPrinterē page.  Update release 19 October 2002.

qPrinter 1.6

qPrinter 1.6 is still available for download.  We would recommend using the latest version.  qPrinter 1.6 is available in Dutch, French, Turkish and also for Visual Basic 5. See the qPrinter16 page.

Credits
We would like to thank the following people for their contributions to this project:
  • Derrick King for PDF documentation
  • Alain - again and again :)
  • Jarry of Jacsoft
  • Johan Ansink
  • Giuseppe Pagnoni
  • Hernan Diego Garcia [www.latrompa.com]
  • Nuno Sousa
  • Kanojia Yogesh
  • Danny
  • Tomasz Mochol
  • Knut Boegel
  • John Sheppard
  • The Bozena [The Bozena's Visual Basic Web]
  • Metin YAVUZ
  • Iker 'KiKoLo' Celorrio
  • Thomas Braad Hannibal
  •  
    Useful Links
    Ramosoft
    Home of the excellent rsPrintPreview by Leontti Ramos.  A great free VB Print Preview dll that uses the API rather than the VB Printer Object.  It is also available from vbCity along with other examples of Leontti's work including the excellent Visual Studio Tabs Control
    Microsoft Two knowledge base articles:
    Q193379: How to Add Print Preview to Visual Basic Applications
    and:
    Q146022: Set Up the RichTextBox Control for WYSIWYG Printing
     

    ©2001-2004 qbd software ltd