Get(PrinterName)

Returns text identifying the default printer name.

Format 

Get ( PrinterName )

Parameters 

None

Data type returned 

text

Originated in version 

6.0 or earlier

Description 

In Windows, returns a string with each of these entries separated by a comma:

  • the printer name
  • the driver name
  • the name of the printer port

In macOS, returns a string with these entries separated by the word on:

  • the queue name of the printer (if provided)
  • the IP address of the printer

If any of this information isn't available, <Unknown> is inserted in the result (except for queue name in macOS).

Notes 

  • In FileMaker WebDirect, this function is not supported and returns an empty string.

Example 1 

Returns HP LaserJet P4015, winspool, Ne03 in Windows.

Returns 24.109.265.43 in macOS.