Namespace PTIRelianceLib
Classes
BinaryFile
A convenience wrapper for arbitrary data. This is a reusable, read-only wrapper around the original file that is used throughout this library. A BinaryFile can be created using the static builder methods From(String) or From(Byte[]). Once a BinaryFile has been created, the contents cannot be changed.
DevNullMonitor
A silent progress monitor for flash update and logo writers. As the name implies, this consumes and ignores all data passed to it. This is useful for silent console flash updaters, particularly on systems where constance console drawing may be expensive.
Library
Contains library metadata and configurables
LibraryOptions
Configurable Library settings for compatibility with non-standard configurations.
ProgressMonitor
An event container class specialized for flash update workers.
PTIException
The root of all exception classes in PTIRelianceLib. For convenience, you may wrap library calls with a catcher for this class.
using(var printer = new ReliancePrinter())
{
try
{
printer.FlashUpdateTarget(myFirmware, myReporter);
}
catch(PTIException ex)
{
Console.WriteLine(ex.Message);
}
}
ReliancePrinter
Reliance Thermal Printer class provides access access to flash updating, configuration, status reporting, and other commands. For best results, we recommend testing against the latest available firmware for Reliance.
Use Reliance Tools for PC to update your printer to the latest firmware through the auto update feature. You may also contact our support team to get the latest firmware file at mailto:support@pyramidacceptors.com
Reliance Tools for PC https://pyramidacceptors.com/app/reliance-tools/
Revlev
Standard IPyramidDevice revision descriptor. A revision can be compared using fluent comparison operations such as Equals, Less Than, Greater Than, etc. Older firmware is considerd "less than" newer firmware using semantic versioning rules.
0.0.0 is an invalid firmware revision and is used as the default "invalid" revision.
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);
...
Structs
FixedArray<T>
A fixed length array wrapper
Interfaces
IPyramidDevice
IPyramidDevice is a contract defining what actions all Pyramid products in this library will support. These devices own their own communication source and can be used in MVC binding patterns which is why they are marked IDisposable/>.
Enums
PrinterType
Reliance Printer Types
ReturnCodes
Common return codes generated by this library