Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anastaciocintra/escpos-coffee-samples
/ functions
Functions
162 in github.com/anastaciocintra/escpos-coffee-samples
⨍
Functions
162
◇
Types & classes
50
↓ 60 callers
Method
write
just slice the image and print sequentially with regular escpos write image @param escPos @param image @param wrapper @param bitonalAlgorithm @throws
miscellaneous/BarcodeGen/src/main/java/lib/ImageHelper.java:118
↓ 20 callers
Method
getHeight
()
miscellaneous/AndroidImage/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/androidimage/CoffeeImageAndroidImpl.java:51
↓ 16 callers
Method
getWidth
()
miscellaneous/AndroidImage/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/androidimage/CoffeeImageAndroidImpl.java:46
↓ 8 callers
Method
addError
Add one error status, that is impeding to work @param status can be, for example (paper is end)
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:118
↓ 8 callers
Method
addError
Add one error status, that is impeding to work @param status can be, for example (paper is end)
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:125
↓ 8 callers
Method
bitAndCompare
Return true if bit set configured on mask is ok @param n - bit set to be compared @param toCompare - mask the bit compare @return boolean
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:252
↓ 8 callers
Method
bitAndCompare
Return true if bit set configured on mask is ok @param n - bit set to be compared @param toCompare - mask the bit compare @return boolean
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:331
↓ 6 callers
Method
getHeight
()
miscellaneous/pdfprintingandroid/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/CoffeeImageAndroidImpl.java:50
↓ 6 callers
Method
write
just slice the image and print sequentially with regular escpos write image @param escPos @param image @param wrapper @param bitonalAlgorithm @throws
miscellaneous/CoffeeBitmap/src/main/java/lib/ImageHelper.java:118
↓ 5 callers
Method
getWidth
()
miscellaneous/pdfprintingandroid/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/CoffeeImageAndroidImpl.java:45
↓ 4 callers
Method
getImage
(sampleImages image)
usual/samples-common/src/main/java/SamplesCommon.java:24
↓ 4 callers
Method
getOutputStream
Provide one instance of OutputStream of SerialStatus @return one instance of outputstream @throws IOException
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:265
↓ 4 callers
Method
getSubimage
(int x, int y, int w, int h)
miscellaneous/AndroidImage/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/androidimage/CoffeeImageAndroidImpl.java:56
↓ 3 callers
Method
statusChanged
Call all the UsbPrinterEvent functions added on event listener. This method is internally called whenever the printer status changed @see #addEventLi
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:456
↓ 2 callers
Method
addEventListener
Add printerStatusEventListener to list of events triggered on status changed @see #statusChanged() @param printerStatusEventListener - implementation
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:346
↓ 2 callers
Method
addEventListener
Add usbPrinterEventListener to list of events triggered on status changed @see #statusChanged() @param usbPrinterEventListener - implementation of Usb
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:447
↓ 2 callers
Method
finish
Finish the SerialStatus class, release comPort resource to be used on another program. You should call this method before exit. After finish is called
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:209
↓ 2 callers
Method
finish
Finish the UsbStatus class, release usb resource to be used on another program. You should call this method before exit. After finish is called, you c
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:288
↓ 2 callers
Method
getImage
(sampleImages image)
miscellaneous/sliceimage/src/main/java/SliceImage.java:52
↓ 2 callers
Method
haveAnyError
Test if the printer have any error @return true if the printer have any error
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:91
↓ 2 callers
Method
haveAnyError
Test if the printer have any error @return true if the printer have any error
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:98
↓ 2 callers
Method
print
()
miscellaneous/UsbStatus/src/main/java/Principal.java:151
↓ 2 callers
Method
processData
This abstract method is called after bytes read from printer. the objective of implementation is to populate the list of errors according to bytes. Ea
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:321
↓ 2 callers
Method
statusChanged
Call all the PrinterStatusEvent functions added on event listener. This method is internally called whenever the printer status changed @see #addEven
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:355
↓ 2 callers
Method
write
just slice the image and print sequentially with regular escpos write image @param escPos @param image @param wrapper @param bitonalAlgorithm @throws
miscellaneous/sliceimage/src/main/java/lib/ImageHelper.java:115
↓ 2 callers
Method
write
just slice the image and print sequentially with regular escpos write image @param escPos @param image @param wrapper @param bitonalAlgorithm @throws
miscellaneous/pdfprintingandroid/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/ImageHelper.java:112
↓ 1 callers
Method
FlyingSauer
(PrinterOutputStream outputStream)
miscellaneous/CoffeeBitmap/src/main/java/CoffeeBitmap.java:190
↓ 1 callers
Method
GraphcsImageWrapper
(String printerName)
usual/graphics-image/src/main/java/GraphicsImageSample.java:21
↓ 1 callers
Method
GraphcsImageWrapper
(String printerName)
usual/dithering/src/main/java/DitheringSample.java:20
↓ 1 callers
Method
GraphcsImageWrapper
(String printerName)
usual/raster-image/src/main/java/RasterImageSample.java:22
↓ 1 callers
Method
Graphics2D
(PrinterOutputStream outputStream)
miscellaneous/CoffeeBitmap/src/main/java/CoffeeBitmap.java:44
↓ 1 callers
Method
GraphicsImageWrapper
(String printerName)
usual/bitimage/src/main/java/BitImageSample.java:23
↓ 1 callers
Method
Sample
(String printerName)
usual/charcode/src/main/java/CodeTableSample.java:19
↓ 1 callers
Method
Sample
(String printerName)
usual/pulsepin/src/main/java/pulsePinSample.java:16
↓ 1 callers
Method
Sample
(String printerName)
usual/barcode/src/main/java/BarcodeSample.java:21
↓ 1 callers
Method
Sample
(String printerName)
usual/textprintmodestyle/src/main/java/TextPrintModeStyleSample.java:18
↓ 1 callers
Method
Sample
(String printerName)
usual/textstyle/src/main/java/TextStyleSample.java:22
↓ 1 callers
Method
addInfo
used to add one info status @param status can be, for example (printer is ok) @see #processData(byte[], int)
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:127
↓ 1 callers
Method
addInfo
used to add one info status @param status can be, for example (printer is ok) @see #processData(byte[], int)
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:134
↓ 1 callers
Method
findDevice
(UsbHub hub, short vendorId, short productId)
miscellaneous/Usb4JavaStream/src/main/java/lib/Usb4JavaStream.java:111
↓ 1 callers
Method
findDevice
Find Usb4java device @param hub @param vendorId can be get on lsusb command @param productId can be get on lsusb command @return Usb device used on Us
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:342
↓ 1 callers
Method
fnc1
(String portDescriptor)
miscellaneous/SerialStream/src/main/java/Principal.java:31
↓ 1 callers
Method
fnc1
()
miscellaneous/Usb4JavaStream/src/main/java/Usb4JavaEscPosCoffee.java:18
↓ 1 callers
Method
getMapErrors
Get the map of all errors returned by the printer. @return Status map
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:101
↓ 1 callers
Method
getMapErrors
Get the map of all errors returned by the printer. @return Status map
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:108
↓ 1 callers
Method
getMapInfo
Get the map of all info returned by the printer. @return Status map
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:109
↓ 1 callers
Method
getMapInfo
Get the map of all info returned by the printer. @return Status map
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:116
↓ 1 callers
Method
getSubimage
(int x, int y, int w, int h)
miscellaneous/pdfprintingandroid/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/CoffeeImageAndroidImpl.java:55
↓ 1 callers
Method
getURL
(String imageName)
usual/samples-common/src/main/java/SamplesCommon.java:31
↓ 1 callers
Method
getURL
(String fileName)
miscellaneous/PdfPrinting/src/main/java/PdfPrinting.java:52
↓ 1 callers
Method
getURL
(String imageName)
miscellaneous/sliceimage/src/main/java/SliceImage.java:59
↓ 1 callers
Method
getURL
(String imageName)
miscellaneous/Usb4JavaStream/src/main/java/Usb4JavaEscPosCoffee.java:12
↓ 1 callers
Method
getUsbStream
Provide one instance of UsbStream @return one instance of outputstream @throws IOException
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:361
↓ 1 callers
Method
isFinished
()
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:223
↓ 1 callers
Method
isFinished
()
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:302
↓ 1 callers
Method
jEditorPane
(PrinterOutputStream outputStream)
miscellaneous/CoffeeBitmap/src/main/java/CoffeeBitmap.java:123
↓ 1 callers
Method
onStatusChanged
()
miscellaneous/SerialStatus/src/main/java/lib/PrinterStatusEvent.java:31
↓ 1 callers
Method
onStatusChanged
()
miscellaneous/UsbStatus/src/main/java/lib/UsbPrinterEvent.java:31
↓ 1 callers
Method
print
()
miscellaneous/SerialStatus/src/main/java/Principal.java:168
↓ 1 callers
Method
printInfo
(String host, int port)
usual/tcpip-stream/src/main/java/TcpIpSample.java:14
↓ 1 callers
Method
printInfo
(String printerName)
usual/getstart/src/main/java/GetstartSample.java:15
↓ 1 callers
Method
printPdf
(PrinterOutputStream outputStream)
miscellaneous/PdfPrinting/src/main/java/PdfPrinting.java:21
↓ 1 callers
Method
printzxing
(EscPos escpos)
miscellaneous/BarcodeGen/src/main/java/BarcodeGen.java:33
↓ 1 callers
Method
processData
This abstract method is called after bytes read from printer. the objective of implementation is to populate the list of errors according to bytes. Ea
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:242
↓ 1 callers
Method
run
(PrinterOutputStream outputStream)
miscellaneous/sliceimage/src/main/java/SliceImage.java:13
↓ 1 callers
Method
showWindow
()
miscellaneous/SerialStatus/src/main/java/Principal.java:49
↓ 1 callers
Method
showWindow
()
miscellaneous/UsbStatus/src/main/java/Principal.java:24
↓ 1 callers
Method
sliceImage
Slice vertically the image in maxHeight offsets @param coffeeImage implementation of CoffeeImage {@link java.awt.image.BufferedImage} or Bitmap (andro
miscellaneous/PdfPrinting/src/main/java/lib/ImageHelper.java:75
↓ 1 callers
Method
sliceImage
Slice vertically the image in maxHeight offsets @param coffeeImage implementation of CoffeeImage {@link java.awt.image.BufferedImage} or Bitmap (andro
miscellaneous/BarcodeGen/src/main/java/lib/ImageHelper.java:75
↓ 1 callers
Method
sliceImage
Slice vertically the image in maxHeight offsets @param coffeeImage implementation of CoffeeImage {@link java.awt.image.BufferedImage} or Bitmap (andro
miscellaneous/sliceimage/src/main/java/lib/ImageHelper.java:72
↓ 1 callers
Method
sliceImage
Slice vertically the image in maxHeight offsets @param coffeeImage implementation of CoffeeImage {@link java.awt.image.BufferedImage} or Bitmap (andro
miscellaneous/CoffeeBitmap/src/main/java/lib/ImageHelper.java:75
↓ 1 callers
Method
sliceImage
Slice vertically the image in maxHeight offsets @param coffeeImage implementation of CoffeeImage {@link java.awt.image.BufferedImage} or Bitmap (andro
miscellaneous/pdfprintingandroid/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/ImageHelper.java:69
↓ 1 callers
Method
write
just slice the image and print sequentially with regular escpos write image @param escPos @param image @param wrapper @param bitonalAlgorithm @throws
miscellaneous/PdfPrinting/src/main/java/lib/ImageHelper.java:118
Method
CoffeeImageAndroidImpl
(Bitmap bitmap)
miscellaneous/AndroidImage/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/androidimage/CoffeeImageAndroidImpl.java:41
Method
CoffeeImageAndroidImpl
(Bitmap bitmap)
miscellaneous/pdfprintingandroid/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/CoffeeImageAndroidImpl.java:40
Method
ImageHelper
creates an ImageHelper with default values
miscellaneous/PdfPrinting/src/main/java/lib/ImageHelper.java:52
Method
ImageHelper
creates an ImageHelper with default values
miscellaneous/BarcodeGen/src/main/java/lib/ImageHelper.java:52
Method
ImageHelper
creates an ImageHelper with default values
miscellaneous/sliceimage/src/main/java/lib/ImageHelper.java:49
Method
ImageHelper
creates an ImageHelper with default values
miscellaneous/CoffeeBitmap/src/main/java/lib/ImageHelper.java:52
Method
ImageHelper
creates an ImageHelper with default values
miscellaneous/pdfprintingandroid/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/ImageHelper.java:46
Method
OutputStream
()
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:288
Method
Print
(Context context)
miscellaneous/AndroidImage/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/androidimage/Print.java:24
Method
Print
(Context context)
miscellaneous/pdfprintingandroid/app/src/main/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/Print.java:26
Method
SerialStatus
Instantiate this class and init the "getting status" on separate thread. It will work until you turn off your printer / disconnect or call the finish
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:141
Method
SerialStatusTMT20
Instantiate this class and init the "getting status" on separate thread. It will work until you turn off your printer / disconnect or call the finish
miscellaneous/SerialStatus/src/main/java/SerialStatusTMT20.java:44
Method
SerialStream
create one instance based on port descriptor @param portDescriptor object corresponding to the user-specified port descriptor On Windows machines, th
miscellaneous/SerialStream/src/main/java/lib/SerialStream.java:58
Method
Status
(int key, String value)
miscellaneous/SerialStatus/src/main/java/lib/SerialStatus.java:58
Method
Status
(int key, String value)
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:60
Method
Usb4JavaStream
(short vendorId, short productId, byte interfaceNumber, byte endpointAddress)
miscellaneous/Usb4JavaStream/src/main/java/lib/Usb4JavaStream.java:40
Method
UsbStatus
Instantiate this class and init the "getting status" on separate thread. It will work until you turn off your printer / disconnect or call the finish
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:151
Method
UsbStatusTMT20
(short vendorId, short productId, byte interfaceNumber, byte endpointAddressOut, byte endpointAddressIn)
miscellaneous/UsbStatus/src/main/java/UsbStatusTMT20.java:35
Method
UsbStream
()
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:384
Method
actionPerformed
(ActionEvent actionEvent)
miscellaneous/SerialStatus/src/main/java/Principal.java:99
Method
actionPerformed
(ActionEvent actionEvent)
miscellaneous/UsbStatus/src/main/java/Principal.java:79
Method
addition_isCorrect
()
miscellaneous/AndroidImage/app/src/test/java/com/github/anastaciocintra/escposcoffeesamples/androidimage/ExampleUnitTest.java:13
Method
addition_isCorrect
()
miscellaneous/pdfprintingandroid/app/src/test/java/com/github/anastaciocintra/escposcoffeesamples/pdfprintingandroid/ExampleUnitTest.java:13
Method
dataEventOccurred
(UsbPipeDataEvent event)
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:228
Method
errorEventOccurred
(UsbPipeErrorEvent usbPipeErrorEvent)
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:223
Method
forceClaim
(UsbInterface usbInterface)
miscellaneous/Usb4JavaStream/src/main/java/lib/Usb4JavaStream.java:64
Method
forceClaim
(UsbInterface usbInterface)
miscellaneous/UsbStatus/src/main/java/lib/UsbStatus.java:175
next →
1–100 of 162, ranked by callers