PurchFormLetter::callPrintersettingsFormletter Method [AX 2012]

Modifies the printer settings by using the standard print job settings dialog box.

client server public static boolean callPrintersettingsFormletter(PurchFormLetter _purchFormLetter, [PrintSetupOriginalCopy _originalCopy])

Run On

Called

Parameters

_purchFormLetter
Type: PurchFormLetter Class
The PurchFormLetter class where the printer settings are modified.
_originalCopy
Type: PrintSetupOriginalCopy Enumeration
A value that indicates whether the printer settings are being modified for the original or for a copy; optional.

Return Value

Type: boolean
true if the settings were modified; otherwise, false.

The callPrinterSettingsFormLetter method is static so that users can select AOS printers. Selecting AOS printers requires that the SysPrintForm form is called from the server.

Show: