Printer selection under Citrix

edited November 2014 in Devices
Hi,

Delphi XE3, ReportBuilder 14.08, Windows Server 2008, Citrix

I have a problem selecting printers in ReportBuilder.

When I use VCL.Dialogs.PrinterSetupDialog my application sees all in
Citrix attached printers.

However when I preview a report in my application and select a printer
not all printers are visible to ReportBuilder.

Does anybody have a suggestion please ?

Regards,

Ton



---
Dit e-mailbericht bevat geen virussen en malware omdat avast! Antivirus-bescherming actief is.
http://www.avast.com

Comments

  • edited November 2014
    Hi Ton,

    To optimize performance RB caches the list of installed printers. You can
    use the following code to refresh the printer list while the application is
    running.

    uses
    ppPrintr;


    ppPrinters.Refresh;




    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited November 2014
    Thanks Nard,

    It works.
    It seems that attaching printers to a Citrix session is sometimes a bit
    slow.

    Regards,

    Ton

    Nard Moseley (Digital Metaphors) schreef op 19-11-2014 17:14:


    ---
    Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware.
    http://www.avast.com
This discussion has been closed.