Codeunit 2617 Printer Setup Impl.

System Application, System.Device

Source AL, 70 lines

src/System Application/App/Printer Management/src/PrinterSetupImpl.Codeunit.allines 11 to 26 of 70, Copyright (c) Microsoft Corporation. MIT

codeunit 2617 "Printer Setup Impl."{    Access = Internal;    InherentEntitlements = X;    InherentPermissions = X;    var        PrinterSetup: Codeunit "Printer Setup";        NetworkPrinterTxt: Label 'Network Printer', Locked = true;        NoPrinterSettingsMsg: Label 'No configuration is available for this printer.';        UnableToSetDefaultPrinterErr: Label 'Cannot set this printer as the default printer.';        SetMyDefaultPrinterSucessMsg: Label 'Printer %1 is set as default printer for all reports. You can open Printer Selections page to see the created entry.', Comment = '%1 = Printer ID';        SetDefaultPrinterForAllUsersSucessMsg: Label 'Printer %1 is set as default printer for all reports of all users. You can open Printer Selections page to see the created entry.', Comment = '%1 = Printer ID';    procedure GetPrinterType(Printer: Record Printer): Enum "Printer Type"    begin

All 70 lines

Public procedures 5 in 29

OpenPrinterSettings(PrinterID: Text)17-29
GetPrinterSelectionsPage(var PageID: Integer; var IsHandled: Boolean)17-29
SetDefaultPrinterForCurrentUser(PrinterID: Text)17-29
SetDefaultPrinterForAllUsers(PrinterID: Text)17-29
GetPrinterType(Printer: Record Printer): Enum "Printer Type"new in 19

All 6 procedures in 17-29

Changes 2 in 19

List17181920212223242526272829
Procedures2
GetPrinterCategory(var PrinterType: Enum "Printer Type"; Device: Text[50])gone after 18
gone
GetPrinterType(Printer: Record Printer): Enum "Printer Type"new in 19
added

All 2 changes in 17-29