See it live escpos-printer-example.netlify.app
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.
- 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.
- 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
-
Clone the repository:
git clone https://github.com/yayidg22/esc-pos-printer-react-vite.git
-
Navigate into the project directory:
cd esc-pos-printer-react-vite
-
Install dependencies:
npm install # or yarn install
npm run dev
# or
yarn run dev