Codeunit 2616 Printer Setup

System Application, System.Device

Source AL, 60 lines

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

codeunit 2616 "Printer Setup"{    Access = Public;    /// <summary>    /// Gets the type of a printer.    /// </summary>    /// <param name="Printer">The printer.</param>    /// <returns>The printer type.</returns>    [Scope('OnPrem')]    procedure GetPrinterType(Printer: Record Printer): Enum "Printer Type"    var        PrinterSetupImpl: Codeunit "Printer Setup Impl.";    begin        exit(PrinterSetupImpl.GetPrinterType(Printer));    end;

All 60 lines

Events 3 in 29

[IntegrationEvent] OnOpenPrinterSettings(PrinterID: Text; var IsHandled: Boolean)17-29
[IntegrationEvent] OnSetAsDefaultPrinter(PrinterID: Text; UserID: Text; var IsHandled: Boolean)17-29
[IntegrationEvent] GetPrinterSelectionsPage(var PageID: Integer; var IsHandled: Boolean)17-29

Public procedures 1 in 29

GetPrinterType(Printer: Record Printer): Enum "Printer Type"new in 19

Changes 1 in 19

List17181920212223242526272829
Procedures1
GetPrinterType(Printer: Record Printer): Enum "Printer Type"new in 19
added

All 1 changes in 17-29