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

Stop plugin

Call this endpoint to stop and kill the plugin programatically. This will stop the plugin as soon as it responds to the request, so don't wait for a response, because if the plugin answers then there was an error turning it off

You can double check if the plugin is not running by making a request to get the version

Method: GET

Relative URL: /apagar

Example response: It shoud not answer the request

Example (JavaScript client side)

try {
    await fetch("http://localhost:8000/apagar");
    // Error stopping plugin, it should not answer the call
} catch (e) {
    // The plugin did not answer, likely it is turned off
    console.log(e)
}
Last updated:
Prev
Forward