QUE CORPORATION - Using Filemaker pro X

 <  Day Day Up  >  

Get(PrinterName)

Category: Get

Syntax: Get ( PrinterName )

Parameters: none

Description: Returns information about the currently selected printer.

In Windows, Get (PrinterName) returns a text string containing the printer name, driver name , and printer port, separated by commas.

In Mac OS, Get (PrinterName) returns a text string with the name or IP address of the printer, as it appears in the Print Center.

Examples:

In Windows,

Get (PrinterName)

might return \\server1\Lexmark Optra M412 PS3, winspool,Ne02: .

In Mac OSX,

Get (PrinterName)

may return the IP address 255.5.5.255 .

Or it may return the name of the current printer (if the printer is not networked). For example, hp Laserjet 4200 .

Comments:

If there are certain print jobs that require that a specific printer be selected, you can test for Get (PrinterName) within a script and ask the user to select a different printer if necessary.

 <  Day Day Up  >  

Категории