PrinterName not editable?
D 7.01
RB 7.04
I added a report component to a form and am using the header band to print
out a short and simple bit of info. The report is not linked to any
datasource. In code I am setting the ppReport.Printer.PrinterName to
whatever printer I need at that time. The ppReport.ShowPrintDialog is set
to false so that the slip/report will print automatically from code. I am
not sure why, but even after the printer name is set in code, it retains
that printer name of the default printer for that computer.
Please Help!!!
Thanks All,
Branden Johnson
RB 7.04
I added a report component to a form and am using the header band to print
out a short and simple bit of info. The report is not linked to any
datasource. In code I am setting the ppReport.Printer.PrinterName to
whatever printer I need at that time. The ppReport.ShowPrintDialog is set
to false so that the slip/report will print automatically from code. I am
not sure why, but even after the printer name is set in code, it retains
that printer name of the default printer for that computer.
Please Help!!!
Thanks All,
Branden Johnson
This discussion has been closed.
Comments
Do not set the printer name manually. Use the
Report.PrinterSetup.PrinterNames property to select which printer you would
like to use.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I forgot all about that!
Branden Johnson