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

Pirnt Directly

edited June 2005 in General
Delphi 5 Enterprise.
Report Builder Enterprise.

Sorry by my poor english.

i wan't to push a botton and send data directly to printer, without preview.

Regards
--
Jorge C. Mosquera R.
Investigaci?n y Desarrollo
www.sitis.info

Comments

  • edited June 2005
    Hi Jorge,

    You can change the device the report automatically prints to using the
    TppReport.DeviceType property. This propert is available in the object
    inspector in Delphi at design time or at run time by using the following
    code before calling Report.Print..

    Report.DeviceType := 'Printer';

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited June 2005
    > i wan't to push a botton and send data directly to printer, without

    also, in addition to what Nico stated, set

    TppReport.ShowPrintDialog := False;

    --
    Ed Dressel
    Team DM
This discussion has been closed.