1. Maria Adiela Tabares Marin
  2. PowerBuilder
  3. Wednesday, 13 November 2019 19:57 PM UTC

Good afternoon,

Please tell me what is the syntax in pb 2017 to use the windows api GetDefaultPrinter. Thank you

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 13 November 2019 21:28 PM UTC
  2. PowerBuilder
  3. # 1

Hi Maria;

  FYI:  the external function declaration should be ...

FUNCTION Boolean GetDefaultPrinter ( Ref string pszBuffer, Ref ulong pcchBuffer ) Library "winspool.drv" Alias For "GetDefaultPrinterW"

 

HTH ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.