Return Value

char *
Possible values are as follows:
  • A null-terminated string that contains the name of the specific printer, if the PrintMode of the connection is SpecificPrinter.
  • A null-terminated string that contains the name of the Windows default printer, if the PrintMode of the connection is WinDefaultPrinter.
  • NULL if no Printer is configured in the connection, or if the PrintMode of the connection is PrtToDskAppend or PrtToDskSeparate.