Coder Social home page Coder Social logo

parzibyte / imprimir_ticket_php Goto Github PK

View Code? Open in Web Editor NEW
13.0 3.0 10.0 240 KB

Ejemplo de uso de la librería de Mike42 para imprimir ticket con PHP

Home Page: https://parzibyte.me/blog/2017/09/10/imprimir-ticket-en-impresora-termica-php/

License: MIT License

PHP 100.00%
php esc-pos ticket printer thermal-printer example

imprimir_ticket_php's Introduction

imprimir_ticket_php

Ejemplo de uso de la librería de Mike42 para imprimir ticket con PHP

Modo de uso

Este es un ejemplo reproducible y listo para probar. Para hacerlo, simplemente:

  1. Instala y comparte tu impresora
  2. Descarga o clona este repositorio
  3. Colócalo en tu servidor web, si usas XAMPP entonces es en htdocs
  4. Cambia el nombre de la impresora en index.php
  5. Visita el ejemplo en tu navegador web ingresando a http://localhost/imprimir_ticket_php (o si lo colocaste en otra carpeta la ruta puede variar)

Si lo hiciste bien, tendrás algo así:

Ticket impreso con PHP usando ESC POS y librería de Mike42

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.