Skip to content

This project is an example of using the esc-pos-printer library within a React.js application, powered by Vite for fast development and build times.

Notifications You must be signed in to change notification settings

yayidg22/esc-pos-printer-react-vite

Repository files navigation

ESC-POS-PRINTER with React.js and Vite

See it live escpos-printer-example.netlify.app

What is this?

This project is an example of using the esc-pos-printer library within a React.js application, powered by Vite for fast development and build times.

Features

  • Printing: Demonstrate how to use the esc-pos-printer library to send commands to ESC/POS-compatible printers.
  • React UI: Build a simple user interface in React to interact with the printer library.
  • Fast Development: Utilize Vite for quick development and hot module replacement.

Prerequisites

  • Node.js (20.9.0) and npm or yarn installed on your machine.
  • An ESC/POS-compatible thermal printer connected to your system WITH SHARED OPTION AND NAME CONFIGURED.
  • Running ESC-POS Printer Manager

Installation

  1. Clone the repository:

    git clone https://github.com/yayidg22/esc-pos-printer-react-vite.git
  2. Navigate into the project directory: cd esc-pos-printer-react-vite

  3. Install dependencies:

    npm install
    # or
    yarn install
    

Development

  npm run dev
  # or
  yarn run dev

About

This project is an example of using the esc-pos-printer library within a React.js application, powered by Vite for fast development and build times.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages