DynaPDF.Print.FormNames
-----------------------

Queries list of form names.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [DynaPDF](component_DynaPDF.md) | [11.5](newinversion115.md) | ❌ No | ✅ Yes | ❌ No | ✅ Yes, on Windows | ❌ No |

MBS( "DynaPDF.Print.FormNames" { ; PrinterName } ) 

**MBS**( **"DynaPDF.Print.FormNames";** /\* Queries list of form names. \*/  
**$PrinterName**) /\* Optional; The printer to query.  
If empty, uses default printer.e.g. "Laser Printer" \*/ 

### Parameters

| Parameter | Description | Example | Flags |
|---|---|---|---|
| PrinterName | The printer to query.   If empty, uses default printer. | "Laser Printer" | Optional |

### Result

Returns list or error.

### Description

Queries list of form names.  
We added this function to allow you to query the names to be used with [DynaPDF.Print.SetSetting](DynaPDFPrintSetSetting.md) function.  
See also [Print](https://www.monkeybreadsoftware.com/DynaPDF-Manual/PrintPDFFile.shtml) function in DynaPDF manual.

### Examples

Query form names:

 MBS ( "DynaPDF.Print.FormNames"; "" )  
<small>  
Example result:   
Letter  
Letter Small  
Tabloid  
Ledger  
Legal  
... 210 names in list when we tested this function.</small>### See also

- [DynaPDF.Print](DynaPDFPrint.md)
- [DynaPDF.Print.GetDevNames](DynaPDFPrintGetDevNames.md)
- [DynaPDF.Print.SetDevNames](DynaPDFPrintSetDevNames.md)
- [DynaPDF.Print.SetSetting](DynaPDFPrintSetSetting.md)

### Release notes

- **Version 11.5**
    - Added [DynaPDF.Print.FormNames](https://www.mbsplugins.eu/DynaPDFPrintFormNames.shtml) function to get list of form names for printer on Windows.

### Blog Entries

- [New in version 11.5 of MBS FileMaker Plugin](https://www.mbsplugins.de/archive/2021-11-30/New_in_version_115_of_MBS_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 11.5pr3](https://www.mbsplugins.de/archive/2021-10-25/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 13th October 2021 , last changed 13th October 2021

  
[DynaPDF.Print](DynaPDFPrint.md) - [DynaPDF.Print.GetDevMode](DynaPDFPrintGetDevMode.md)

[HTML Version](DynaPDFPrintFormNames.shtml)