CORE POS - IS4C
The CORE POS front end
Public Member Functions | List of all members
EmailPrintHandler Class Reference
Inheritance diagram for EmailPrintHandler:
PrintHandler

Public Member Functions

 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)
 
 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)
 
 BarcodeWidth ($scale=3)
 
 writeLine ($text, $to=false)
 
 RenderBitmapFromFile ($fn, $align='C')
 
- Public Member Functions inherited from 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)
 

Detailed Description

Distribute receipt via email

Most methods are not implemented because they have no purpose in a non-physical receipt

Member Function Documentation

EmailPrintHandler::Bold (   $on = true)

Enable or disable bold font

Parameters
$onboolean enable
Returns
string printer command
EmailPrintHandler::CarriageReturn ( )

Get carriage return

Returns
string printer command
EmailPrintHandler::LineFeed (   $lines = 1)

Get newlines

Parameters
$linesnumber of lines
Returns
string printer command
EmailPrintHandler::Tab ( )

Get printer tab

Returns
string printer command
EmailPrintHandler::writeLine (   $text,
  $to = false 
)

Write output to device

Parameters
theoutput string

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