add/delete printer while application running
Hi,
if I delete an printer while running my application then he is
nevertheless visible in the list:
FactiveReport.PrinterSetup.PrinterNames.GetText
If I?ll print to this deleted printer (which is visible in the list)
then an access violation appears!
An simular problem i have when I add an new printer. Then the new
Printer is not shown in the list:
FactiveReport.PrinterSetup.PrinterNames.GetText
Regards,
Hoffmann, Jan
if I delete an printer while running my application then he is
nevertheless visible in the list:
FactiveReport.PrinterSetup.PrinterNames.GetText
If I?ll print to this deleted printer (which is visible in the list)
then an access violation appears!
An simular problem i have when I add an new printer. Then the new
Printer is not shown in the list:
FactiveReport.PrinterSetup.PrinterNames.GetText
Regards,
Hoffmann, Jan
This discussion has been closed.
Comments
There is a global printer list class. You can tell it to refresh using the
following code
uses
ppPrintr;
ppPrinters.Refresh;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com