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

printing without prompting?

edited February 2003 in General
Is it possible (RB 6.03) to just print the document without any preview?

Help!

TIA

Barry

Comments

  • edited February 2003
    Hi Barry,

    sure, set the device to printer and call 'Print'.

    regards,
    Chris Ueberall;
  • edited February 2003
    THanks for prompt response.

    However, can you go one step further and even stop the printer dialog from
    appearing? I simply want to print automatically from within my software, as
    the printer etc are already setup in software.

    Thanks!

    Barry

  • edited February 2003
    Call

    Report.ShowPrintDialog := False;
    Report.Print;

    or

    Make a call to Report.PrintToDevices where you control the print process.


    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited February 2003
    THat's it! Many thanks.

    B
This discussion has been closed.