CORE POS - IS4C
The CORE POS front end
|
Public Member Functions | |
centerString ($text, $big=false) | |
writeLine ($text, $to=false) | |
addRenderingSpacer ($str) | |
Public Member Functions inherited from COREPOS\pos\lib\PrintHandlers\EmailPrintHandler | |
Tab () | |
CarriageReturn () | |
centerString ($text, $big=false) | |
DrawerKick ($pin=2, $on=100, $off=100) | |
writeLine ($text, $to=false) | |
RenderBitmapFromFile ($fn, $align='C') | |
Public Member Functions inherited from COREPOS\pos\lib\PrintHandlers\PrintHandler | |
Tab () | |
LineFeed ($lines=1) | |
PageFeed ($reset=true) | |
CarriageReturn () | |
ClearPage () | |
CharacterSpacing ($dots=0) | |
centerString ($text, $big=false) | |
TextStyle ($altFont=false, $bold=false, $tall=false, $wide=false, $underline=false) | |
GotoX ($dots=0) | |
TransposeBitmapData ($data, $width, $tallDots=false) | |
InlineBitmap ($data, $width, $tallDots=false, $wideDots=false) | |
Underline ($dots=1) | |
ResetLineSpacing () | |
LineSpacing ($space=64) | |
Reset () | |
SetTabs ($tabs=null) | |
Bold ($on=true) | |
DoublePrint ($on=true) | |
PaperFeed ($space) | |
PaperFeedBack ($space) | |
PageMode () | |
Font ($font=0) | |
CharacterSet ($set=0) | |
LineMode () | |
PageOrient ($orient=0) | |
Rotate ($on=true) | |
PageRegion ($x=0, $y=0, $dx=65535, $dy=65535) | |
MoveX ($dots) | |
AlignLeft () | |
AlignCenter () | |
AlignRight () | |
PaperRoll ($receipt=true, $journal=false, $endorse=false, $validation=false) | |
PanelButtons ($on=true) | |
LineFeedBack () | |
DrawerKick ($pin=2, $on=100, $off=100) | |
CodeTable ($table=0) | |
UpsideDown ($on=true) | |
CharacterZoom ($horiz=1, $vert=1) | |
GotoY ($dots=0) | |
Test ($type=3, $paper=0) | |
Density ($factor=1.0) | |
ColorBlack () | |
ColorRed () | |
Invert ($on=true) | |
SpeedHigh () | |
SpeedMedium () | |
SpeedLow () | |
BarcodeHRI ($below=true, $above=false) | |
LeftMargin ($dots=0) | |
DotPitch ($primary=0, $secondary=0) | |
DiscardLine () | |
PreCutPaper ($full=false) | |
CutPaper ($full=false, $feed=0) | |
PrintableWidth ($dots=65535) | |
MoveY ($dots) | |
Smooth ($on=true) | |
BarcodeHRIFont ($font=0) | |
BarcodeHeight ($dots=162) | |
BarcodeUPC ($data, $upcE=false) | |
BarcodeEAN ($data, $ean8=false) | |
BarcodeCODE39 ($data) | |
BarcodeITF ($data) | |
BarcodeCODEABAR ($data) | |
BarcodeCODE93 ($data) | |
BarcodeCODE128 ($data) | |
RasterBitmap ($data, $width, $height, $tallDots=false, $wideDots=false) | |
BarcodeWidth ($scale=3) | |
writeLine ($text) | |
RenderBitmapFromFile ($fn, $align='C') | |
RenderBitmap ($arg, $align='C') | |
rawEscCommand ($command) | |
renderBitmapFromRam ($image_id) | |
addRenderingSpacer ($str) | |
Additional Inherited Members | |
Static Public Member Functions inherited from COREPOS\pos\lib\PrintHandlers\PrintHandler | |
static | factory ($class) |
COREPOS\pos\lib\PrintHandlers\HtmlEmailPrintHandler::addRenderingSpacer | ( | $str | ) |
Insert a chunk of information into the receipt that writeLine() will later use during rendering. By default adds nothing.
COREPOS\pos\lib\PrintHandlers\HtmlEmailPrintHandler::writeLine | ( | $text, | |
$to = false |
|||
) |
Write output to device
the | output string |
setup SMTP parameters
or just use PHP mail()
rewrite item lines in a table; end the table at the end-of-items spacer and add any footers as simple lines of text