.NODE

Get(PrinterName)

Category: Get

Syntax: Get ( PrinterName )

Parameters: None

Data type returned: Text

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, and the name of the print queue, as it appears in the Print Center.

If in either operating system the printer information is unavailable for whatever reason, is returned.

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.

Examples:

In Windows,

 Get (PrinterName)

might return \server1Lexmark 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.


: FileMaker Specifications

FileMaker 8 Product Line

Specifications and Storage Limits

Field Types and Import/Export Formats

: Calculation Functions

Working with Calculations Primer

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

Script Step Reference

: Quick Reference

FileMaker Error Codes

FileMaker Keyboard Shortcuts

FileMaker Network Ports

FileMaker Server Command Line Reference

FileMaker XML Reference

: Other Resources

Where to Go for More Information

show all menu





FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Similar book on Amazon

Flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net