Search Results for

    Show / Hide Table of Contents

    Interface IPrintGateway

    Defines the contract for a print gateway service.

    Namespace: Morpheo.Sdk
    Assembly: Morpheo.Sdk.dll
    Syntax
    public interface IPrintGateway

    Methods

    | Edit this page View Source

    GetLocalPrintersAsync()

    Retrieves a list of printers installed on the local machine.

    Declaration
    Task<IEnumerable<string>> GetLocalPrintersAsync()
    Returns
    Type Description
    Task<IEnumerable<string>>

    A collection of printer names.

    | Edit this page View Source

    PrintAsync(string, byte[])

    Sends a print job (RAW ZPL, PDF, etc.) to a specified printer.

    Declaration
    Task PrintAsync(string printerName, byte[] content)
    Parameters
    Type Name Description
    string printerName

    The name of the target printer.

    byte[] content

    The content data to print.

    Returns
    Type Description
    Task
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2025 DEHER Rémi - Propulsé par .NET 10