Collaboration diagram for Enumerations:

Enumerations

enum  JobStatus {
  Unknown, Queing, Printing, PrintedOk,
  ErrorBeforePrinting, ErrorWhilePrinting, ErrorAfterPrinting, JobRemoved
}
 Jobs status More...
 
enum  PaperLevel {
  DefaultPaper, CriticalPaper, LowPaper, MediumPaper,
  HighPaper, FullPaper, ErrorPaper = 99
}
 Printer papel level information More...
 
enum  PrinterAlarm {
  PaperLimit, CutsLimit, EndOfPaper, HeadTemperature,
  PowerSupply
}
 Printer properties or components where an event can be raised More...
 
enum  PrinterListAction { Added, Removed }
 Action asociated to adding or removing a printer from the system More...
 
enum  PrinterParameter {
  PaperWidth, TicketOffset, UpperMargin, LeftMargin,
  RightMargin, BottomMargin, Intensity, CutProfile,
  PaperAdj, Speed
}
 Parameter configuration for settings at the printer More...
 
enum  PrinterStatus { Idle, Printing, Error }
 Printer status More...
 

Detailed Description

List of enumerations available for configuration or events

Enumeration Type Documentation

enum JobStatus
strong

Job status.

Job status

Enumerator
Unknown 

Unknow status = 0

Queing 

The job is queued = 1

Printing 

The job is being printed = 2

PrintedOk 

The job has been printed ok = 3

ErrorBeforePrinting 

There was an error before printing the image = 4

ErrorWhilePrinting 

There was an error while printing the image = 5

ErrorAfterPrinting 

There was an error after printing the image = 6

JobRemoved 

Job removed from the queue (before printed)

enum PaperLevel
strong
Enumerator
DefaultPaper 

Default paper level= 0

CriticalPaper 

Critical paper level = 1

LowPaper 

Low paper level = 2

MediumPaper 

Medium paper level = 3

HighPaper 

High paper level = 4

FullPaper 

Full paper level = 5

ErrorPaper 

Error in paper level = 99

enum PrinterAlarm
strong
Enumerator
PaperLimit 

The printer has reached the paper limit counter. = 0

CutsLimit 

The printer has reached the cuts limit counter = 1

EndOfPaper 

The printer has no paper = 2

HeadTemperature 

The head is overheated = 3

PowerSupply 

There are problems with the power supply = 4

enum PrinterListAction
strong
Enumerator
Added 

Printer added = 0

Removed 

Printer removed = 1

enum PrinterParameter
strong
Enumerator
PaperWidth 

Paper width in mm. = 0

TicketOffset 

Horizontal ticket offset in mm. = 1

UpperMargin 

Upper margin in mm. = 2

LeftMargin 

Left margin in mm. = 3

RightMargin 

Right margin in mm. = 4

BottomMargin 

Bottom margin in mm. = 5

Intensity 

Intensity = 6 ( 0-LOW, 1-MEDIUM, 2-HIGH).

CutProfile 

Cut profile for new ticket = 7 (0-NONE, 1-PARTIAL, 2-FULL).

PaperAdj 

Paper adjust = 8 (0-WITHOUT ADJUST or 1-WITH ADJUST).

Speed 

Printer SPEED: 0-ULTRASLOW, 1-SLOW, 2-NORMAL, 3-FAST

enum PrinterStatus
strong

Printer status type.

Printer status type

Enumerator
Idle 

Idle = 0

Printing 

Printing = 1

Error 

Error = 2