Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Error Message when a Label dropped into any Band.

edited January 2003 in General
"Canvas does not support drawing"

I get the above error message when ever I drop a label into any of the three
bands Header, Detail or Footer. But the label sticks on to the band. Again
when I try to change the font etc of the Label the same error message
appears. I need a quick remeady please.

Thanks in Advance !

Moorthy
~~~~~

Comments

  • edited January 2003
    Sounds like the printer driver is not installed correctly or otherwise not
    cooperating. When a label is dropped on a report, the printer driver is used
    to measure the text and to calculate the width that the label needs to be.
    The screen canvas is not used, unless you set the
    Report.PrinterSetup.PrinterName to Screen.

    Try reinstalling the printer driver with the latest one available from the
    printer manufacturer. If that doesn't help, then try installing an HP
    LaserJet 4 or 5 driver as the default printer (you don't need a printer to
    have a driver installed). Restart Delphi and retest.

    What printer are you using? I can install the latest driver and test it at
    design time.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited January 2003
    Thanks Jim,

    You are right. Im using a Virtual printer server, there was a networking
    problem regarding port settings, I corrected it and now Im back on track.

This discussion has been closed.