Search Results for

    Show / Hide Table of Contents

    Class Status

    Printer status data include metrics about temperature sensors, and paper movement. TEST

    ...
    var status = printer.GetStatus();
    Console.WriteLine("Printer is: {0}", status.TicketStatus);
    Console.WriteLine("Printer Errors: {0}", status.PrinterErrors);
    ...
    Inheritance
    System.Object
    Status
    Namespace: PTIRelianceLib
    Assembly: PTIRelianceLib.dll
    Syntax
    public class Status : object, IParseable

    Properties

    | Improve this Doc View Source

    ArmRaw

    Raw ADC value for arm sensor

    Declaration
    public ushort ArmRaw { get; }
    Property Value
    Type Description
    System.UInt16

    Raw ADC value for arm paper sensor

    | Improve this Doc View Source

    HeadTemp

    Temperature of the head in deg C

    Declaration
    public byte HeadTemp { get; }
    Property Value
    Type Description
    System.Byte

    Head temperature in degrees Celsius

    | Improve this Doc View Source

    HeadVoltage

    ASCII string of the head input voltage. "XX.XX" (Volts)

    Declaration
    public string HeadVoltage { get; }
    Property Value
    Type Description
    System.String

    Head voltage in DC volts

    | Improve this Doc View Source

    NotchRaw

    Raw ADC value for notch sensor

    Declaration
    public ushort NotchRaw { get; }
    Property Value
    Type Description
    System.UInt16

    Raw ADC value for notch sensor

    | Improve this Doc View Source

    PaperRaw

    Raw ADC value for paper sensor

    Declaration
    public ushort PaperRaw { get; }
    Property Value
    Type Description
    System.UInt16

    Raw ADC value for paper sensor

    | Improve this Doc View Source

    PathRaw

    Raw ADC value for path sensor

    Declaration
    public ushort PathRaw { get; }
    Property Value
    Type Description
    System.UInt16

    Raw ADC value for path sensor

    | Improve this Doc View Source

    PresenterRaw

    Raw ADC value for presenter sensor

    Declaration
    public ushort PresenterRaw { get; }
    Property Value
    Type Description
    System.UInt16

    Raw ADC value for presenter sensor

    | Improve this Doc View Source

    PrinterErrors

    Printer error status

    Declaration
    public ErrorStatuses PrinterErrors { get; }
    Property Value
    Type Description
    ErrorStatuses

    Zero or more errors may be set at once

    | Improve this Doc View Source

    SensorStatus

    Sensor statuses

    Declaration
    public SensorStatuses SensorStatus { get; }
    Property Value
    Type Description
    SensorStatuses

    Covered or Uncovered sensor flags

    | Improve this Doc View Source

    TicketStatus

    Where the ticket is at.

    • 0 : Idle = no ticket
    • 1 : Printing = Ticket has data
    • 2 : Un-presented Ticket = Ticket is cut but not presented
    • 3 : Presented Ticket = Ticket is cut and presented
    Declaration
    public TicketStates TicketStatus { get; }
    Property Value
    Type Description
    TicketStates

    Ticket be in exactly one state

    Methods

    | Improve this Doc View Source

    Serialize()

    Declaration
    public byte[] Serialize()
    Returns
    Type Description
    System.Byte[]

    Payload data

    | Improve this Doc View Source

    ToString()

    Returns a summary of the status report a. la

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    string

    Examples

    Head Voltage: 24 V DC

    Head Temperate: 22 °C

    Sensor Status: Platen

    ...

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 Pyramid Technologies
    Generated by DocFX