escpos-php
 All Classes Namespaces Functions Variables Pages
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Mike42\Escpos\Devices\AuresCustomerDisplay Class Reference
Inheritance diagram for Mike42\Escpos\Devices\AuresCustomerDisplay:
Inheritance graph
[legend]
Collaboration diagram for Mike42\Escpos\Devices\AuresCustomerDisplay:
Collaboration graph
[legend]

Public Member Functions

 initialize ()
 
 selectTextScrollMode ($mode=AuresCustomerDisplay::TEXT_VERTICAL_SCROLL)
 
 clear ()
 
 showFirmwareVersion ()
 
 selfTest ()
 
 showLogo ()
 
 text ($str="")
 
 feed ($lines=1)
 
- Public Member Functions inherited from Mike42\Escpos\Printer
 __construct (PrintConnector $connector, CapabilityProfile $profile=null)
 
 barcode ($content, $type=Printer::BARCODE_CODE39)
 
 bitImage (EscposImage $img, $size=Printer::IMG_DEFAULT)
 
 bitImageColumnFormat (EscposImage $img, $size=Printer::IMG_DEFAULT)
 
 close ()
 
 cut ($mode=Printer::CUT_FULL, $lines=3)
 
 feed ($lines=1)
 
 feedForm ()
 
 release ()
 
 feedReverse ($lines=1)
 
 getCharacterTable ()
 
 getPrintBuffer ()
 
 getPrintConnector ()
 
 getPrinterCapabilityProfile ()
 
 graphics (EscposImage $img, $size=Printer::IMG_DEFAULT)
 
 initialize ()
 
 pdf417Code ($content, $width=3, $heightMultiplier=3, $dataColumnCount=0, $ec=0.10, $options=Printer::PDF417_STANDARD)
 
 pulse ($pin=0, $on_ms=120, $off_ms=240)
 
 qrCode ($content, $ec=Printer::QR_ECLEVEL_L, $size=3, $model=Printer::QR_MODEL_2)
 
 selectCharacterTable ($table=0)
 
 selectPrintMode ($mode=Printer::MODE_FONT_A)
 
 setBarcodeHeight ($height=8)
 
 setBarcodeWidth ($width=3)
 
 setBarcodeTextPosition ($position=Printer::BARCODE_TEXT_NONE)
 
 setDoubleStrike ($on=true)
 
 setColor ($color=Printer::COLOR_1)
 
 setEmphasis ($on=true)
 
 setFont ($font=Printer::FONT_A)
 
 setJustification ($justification=Printer::JUSTIFY_LEFT)
 
 setLineSpacing ($height=null)
 
 setPrintLeftMargin ($margin=0)
 
 setPrintWidth ($width=512)
 
 setPrintBuffer (PrintBuffer $buffer)
 
 setReverseColors ($on=true)
 
 setTextSize ($widthMultiplier, $heightMultiplier)
 
 setUnderline ($underline=Printer::UNDERLINE_SINGLE)
 
 setUpsideDown ($on=true)
 
 text ($str="")
 
 textChinese ($str="")
 
 textRaw ($str="")
 

Public Attributes

const TEXT_OVERWRITE = 1
 
const TEXT_VERTICAL_SCROLL = 2
 
const TEXT_HORIZONTAL_SCROLL = 3
 
- Public Attributes inherited from Mike42\Escpos\Printer
const NUL = "\x00"
 
const LF = "\x0a"
 
const ESC = "\x1b"
 
const FS = "\x1c"
 
const FF = "\x0c"
 
const GS = "\x1d"
 
const DLE = "\x10"
 
const EOT = "\x04"
 
const BARCODE_UPCA = 65
 
const BARCODE_UPCE = 66
 
const BARCODE_JAN13 = 67
 
const BARCODE_JAN8 = 68
 
const BARCODE_CODE39 = 69
 
const BARCODE_ITF = 70
 
const BARCODE_CODABAR = 71
 
const BARCODE_CODE93 = 72
 
const BARCODE_CODE128 = 73
 
const BARCODE_TEXT_NONE = 0
 
const BARCODE_TEXT_ABOVE = 1
 
const BARCODE_TEXT_BELOW = 2
 
const COLOR_1 = 0
 
const COLOR_2 = 1
 
const CUT_FULL = 65
 
const CUT_PARTIAL = 66
 
const FONT_A = 0
 
const FONT_B = 1
 
const FONT_C = 2
 
const IMG_DEFAULT = 0
 
const IMG_DOUBLE_WIDTH = 1
 
const IMG_DOUBLE_HEIGHT = 2
 
const JUSTIFY_LEFT = 0
 
const JUSTIFY_CENTER = 1
 
const JUSTIFY_RIGHT = 2
 
const MODE_FONT_A = 0
 
const MODE_FONT_B = 1
 
const MODE_EMPHASIZED = 8
 
const MODE_DOUBLE_HEIGHT = 16
 
const MODE_DOUBLE_WIDTH = 32
 
const MODE_UNDERLINE = 128
 
const PDF417_STANDARD = 0
 
const PDF417_TRUNCATED = 1
 
const QR_ECLEVEL_L = 0
 
const QR_ECLEVEL_M = 1
 
const QR_ECLEVEL_Q = 2
 
const QR_ECLEVEL_H = 3
 
const QR_MODEL_1 = 1
 
const QR_MODEL_2 = 2
 
const QR_MICRO = 3
 
const STATUS_PRINTER = 1
 
const STATUS_OFFLINE_CAUSE = 2
 
const STATUS_ERROR_CAUSE = 3
 
const STATUS_PAPER_ROLL = 4
 
const STATUS_INK_A = 7
 
const STATUS_INK_B = 6
 
const STATUS_PEELER = 8
 
const UNDERLINE_NONE = 0
 
const UNDERLINE_SINGLE = 1
 
const UNDERLINE_DOUBLE = 2
 

Protected Member Functions

 selectEscposMode ()
 
- Protected Member Functions inherited from Mike42\Escpos\Printer
 wrapperSend2dCodeData ($fn, $cn, $data= '', $m= '')
 
 wrapperSendGraphicsData ($m, $fn, $data= '')
 

Additional Inherited Members

- Static Protected Member Functions inherited from Mike42\Escpos\Printer
static dataHeader (array $inputs, $long=true)
 
static intLowHigh ($input, $length)
 
static validateBoolean ($test, $source)
 
static validateFloat ($test, $min, $max, $source, $argument="Argument")
 
static validateInteger ($test, $min, $max, $source, $argument="Argument")
 
static validateIntegerMulti ($test, array $ranges, $source, $argument="Argument")
 
static validateString ($test, $source, $argument="Argument")
 
static validateStringRegex ($test, $source, $regex, $argument="Argument")
 
- Protected Attributes inherited from Mike42\Escpos\Printer
 $buffer
 
 $connector
 
 $profile
 
 $characterTable
 

Detailed Description

A class for sending ESC/POS-like code to an Aures customer display. The display has some features that printers do not, such as an ability to "clear" the screen.

Member Function Documentation

Mike42\Escpos\Devices\AuresCustomerDisplay::clear ( )

Clear the display.

Mike42\Escpos\Devices\AuresCustomerDisplay::feed (   $lines = 1)

{}

See also
::feed()
Mike42\Escpos\Devices\AuresCustomerDisplay::initialize ( )

{}

See also
::initialize()
Mike42\Escpos\Devices\AuresCustomerDisplay::selectEscposMode ( )
protected

Selects ESC/POS mode.

This device supports other modes, which are not used.

Mike42\Escpos\Devices\AuresCustomerDisplay::selectTextScrollMode (   $mode = AuresCustomerDisplay::TEXT_VERTICAL_SCROLL)
Mike42\Escpos\Devices\AuresCustomerDisplay::selfTest ( )

Instruct the display to begin a self-test/demo sequence.

Mike42\Escpos\Devices\AuresCustomerDisplay::showFirmwareVersion ( )

Instruct the display to show the firmware version.

Mike42\Escpos\Devices\AuresCustomerDisplay::showLogo ( )

Instruct the display to show a pre-loaded logo.

Note that this driver is not capable of uploading a logo, but that the vendor supplies software which has this function.

Mike42\Escpos\Devices\AuresCustomerDisplay::text (   $str = "")

{}

See also
::text()

Member Data Documentation

const Mike42\Escpos\Devices\AuresCustomerDisplay::TEXT_HORIZONTAL_SCROLL = 3

Indicates that overflowing text should cause the display to scroll horizontally, like a news ticker.

const Mike42\Escpos\Devices\AuresCustomerDisplay::TEXT_OVERWRITE = 1

Indicates that the text should wrap and type over existing text on the screen, rather than scroll.

const Mike42\Escpos\Devices\AuresCustomerDisplay::TEXT_VERTICAL_SCROLL = 2

Indicates that overflowing text should cause the display to scroll vertically, like a computer terminal.


The documentation for this class was generated from the following file: