Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Check if any printer installed

edited August 2007 in General
Our many new users often have no printer installed and then get the error
message.

"Screen printer does not support printing"

Do you know of any Code to check for installed printers and warn the user.

Using Delphi 5 and Rebuilder 7.04



--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited August 2007
    Forgot to sign off correctly

    John Chapman




    --- posted by geoForum on http://delphi.newswhat.com
  • edited August 2007
    Hi John,

    This is an issue that was fixed for a later version of ReportBuilder. One
    option would be to install a device-free printer driver such as the
    Microsoft Document Image Writer to avoid this message. You can also try
    searching for this message in the ppPrintr.pas file to possibly disable it
    in certain cases manually.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited August 2007
    Thanks Nico.

    I'll look in 10.04 and 7.04.

    Installing any new software outside the delphi app is not practical
    (1000+ PCs and another team).




    --- posted by geoForum on http://delphi.newswhat.com
  • edited August 2007
    John,

    How about checking Printer.Printers.Count?

    Stephan


This discussion has been closed.