Recent

Author Topic: LazReport - TfrPreview - how to print without printer selection window?  (Read 7247 times)

abmservice

  • Jr. Member
  • **
  • Posts: 69
Making use of print and preview LazReport FrPreview - how do
  frPreview1.Print;
This pops up a window with a choice of printer and I do not want that window just want to print directly to a predefined printer-how to do it?

teos

  • Full Member
  • ***
  • Posts: 157
Re: LazReport - TfrPreview - how to print without printer selection window?
« Reply #1 on: August 25, 2012, 10:37:29 pm »
old and probably you have the answer..

frReport1.PrepareReport if needed runs all functions and fills variables,

frReport1.PrintReport or PrintPeparedReport will print it without printer selection.

 

TinyPortal © 2005-2018