HTTP to ESC POS  pluginHTTP to ESC POS plugin
Home
  • Introduction
  • Download plugin
  • Install and share your printer
  • Hello printer
  • HTTP API description
  • Print
  • Get printers
  • Plugin version (ping)
  • Forward
  • Stop plugin
  • Init
  • Write text
  • Pulse (Open cash drawer)
  • Partial cut
  • Paper cut
  • Feed paper
  • Text with charcode page
  • Set justification
  • Change font size
  • Set underline
  • Set bold text
  • Upside down print
  • 90 degrees rotation
  • Inverse mode printing
  • Set font
  • Enable custom characters
  • Disable custom characters
  • Disable chinese character mode
  • Enable chinese character mode
  • Define custom character
  • Filesystem image
  • Internet image
  • HTML
  • Webpage
  • Base64 image
  • Code 39 barcode
  • Code 93 barcode
  • Pdf 417 barcode
  • UPC A barcode
  • UPC E barcode
  • Ean barcode
  • EAN 8 barcode
  • 2of5 ITF barcode
  • Codabar barcode
  • Code 128 barcode
  • QR code
  • Beep
  • Beeper and alarm notification
Playground
Compatible printers
  • Español
  • English
Home
  • Introduction
  • Download plugin
  • Install and share your printer
  • Hello printer
  • HTTP API description
  • Print
  • Get printers
  • Plugin version (ping)
  • Forward
  • Stop plugin
  • Init
  • Write text
  • Pulse (Open cash drawer)
  • Partial cut
  • Paper cut
  • Feed paper
  • Text with charcode page
  • Set justification
  • Change font size
  • Set underline
  • Set bold text
  • Upside down print
  • 90 degrees rotation
  • Inverse mode printing
  • Set font
  • Enable custom characters
  • Disable custom characters
  • Disable chinese character mode
  • Enable chinese character mode
  • Define custom character
  • Filesystem image
  • Internet image
  • HTML
  • Webpage
  • Base64 image
  • Code 39 barcode
  • Code 93 barcode
  • Pdf 417 barcode
  • UPC A barcode
  • UPC E barcode
  • Ean barcode
  • EAN 8 barcode
  • 2of5 ITF barcode
  • Codabar barcode
  • Code 128 barcode
  • QR code
  • Beep
  • Beeper and alarm notification
Playground
Compatible printers
  • Español
  • English
  • HTTP API description
  • Print
  • Get printers
  • Plugin version (ping)
  • Forward
  • Stop plugin

Plugin version (ping)

Use this method to tell if the plugin is running, it serves as a ping and as a way to get plugin version

Method: GET

Relative URL: /version

Example response:

{
    "version": "3.5.0",
    "plataforma": "Desktop",
    "sistemaOperativo": "windows"
}
  • version: string indicating the plugin version
  • plataforma: string current platform to tell if it's the desktop plugin or the Android plugin
  • sistemaOperativo: string Operating system

Example (JavaScript client side)

try {
    const httpResponse = await fetch("http://localhost:8000/version");
    const pluginDetails = await httpResponse.json();
    console.log(pluginDetails);
} catch (e) {
    // The plugin did not answer
    console.log(e)
}
Last updated:
Prev
Get printers
Next
Forward