The following means are conceivable.
Store in BMP file and print.
- Store the Bitmap data notified from the Web service as a BMP file in the frontend file system (not the session local storage of the browser).
- Print the BMP file using the
printBitmap
method of the POSPrinter device.
- Delete the BMP file when printing is completed normally.
Print data as it is in memory. (When EPSON JavaPOS and printer supports it)
- Convert the Bitmap data notified from the Web service into the BMP file image on the memory.
- Print the BMP file image using the
printMemoryBitmap
method of the POSPrinter device.
- When the printing is completed normally, release the memory of the BMP file image.
(When the front end is a Windows machine) Print on a Windows standard printer.
- Handle printers as Windows standard printers rather than handling them in JavaPOS.
- Switch the printer mode setting and device driver to those of Windows standard printer.
- Convert Bitmap data like page printing using the Windows standard printing API and print it.
Of course, it is necessary to convert the Bitmap data notified from the Web service into BMP file or Windows print data, but it can be done by using API of your OS or Java library function.
Postscript added based on comment.
In that case, you may be using the ePOS SDK instead of the JavaPOS ADK.
However, at least some software development is necessary.
There are four types below, so please try it according to your frontend environment.
Epson ePOS SDK for Universal Windows apps
Epson ePOS SDK for Android
Epson ePOS SDK for iOS
Epson ePOS SDK for JavaScript