
Is this forum still active?
I need to select a specific printer that is not Windows default for one specific report. Is there a way to do that?
Regards, Nenad
Thank you!hgarciaj escribió: Jue Jun 10, 2021 3:19 am First you have to identify tthe correct name for the printer you need, (check tprinter class) then you have to send it to your fr3 with this:
::oFastReport:oPrintOptions:cPrinter:="your printer"
Regards
Unfortunately, this is not work (undefined variable cPrinter). I try with
::Super NOT NEEDED.CLASS frReportManager FROM TFastReport
Código: Seleccionar todo
oFr := FrReportManager():New()
oFr:SetProperty("DESIGNER", "DefaultFont.Charset", 238)
oFr:SetFormatSettings(frxThousandSeparator, ".")
...
Código: Seleccionar todo
::Create()
::LoadFromFile (::cScript)
::Init()
::ShowReport()