Coder Social home page Coder Social logo

Comments (10)

mike42 avatar mike42 commented on May 18, 2024

Hi sysxlabs,

This feature is not currently available, but I'll take and see what would be required to add it. So that I can pull up the specs for it, what model printer you're testing this with?

from escpos-php.

sysxlabs avatar sysxlabs commented on May 18, 2024

I am using EPOS TEP 220M. This printer is compatible with ESC/POS Commands

from escpos-php.

sysxlabs avatar sysxlabs commented on May 18, 2024

Still Waiting for the update on this enhancement. I used this library on my EPOS TEP 220M and it's working beautifully.... but now stuck in this one issue... I am waiting for this library to get updated ASAP.

from escpos-php.

dudwig avatar dudwig commented on May 18, 2024

Maybe this article helps a bit:
http://nicholas.piasecki.name/blog/2009/12/sending-a-bit-image-to-an-epson-tm-t88iii-receipt-printer-using-c-and-escpos/

from escpos-php.

mike42 avatar mike42 commented on May 18, 2024

Hey all, Unfortunately, I don't currently have access to a printer to do an implementation for this, so it's not likely to be done in the next few months.

It's definitely possible/worthwhile/well documented, and I'm happy to accept any pull requests which add the functionality.

from escpos-php.

mike42 avatar mike42 commented on May 18, 2024

While I wait for an Epson TM T20 to code proper bitmap uploads with, sysxlabs, could you checkout the testing branch and see if this test function works on your printer?

$escpos -> image_nv_print_test();

from escpos-php.

mike42 avatar mike42 commented on May 18, 2024

Basic image support is now available- you can print a local PNG file from the computer. NV graphics are not quite as straightforward, so I'll leave this feature request open.

You currently need GD to manipulate the images (package php5-gd in Debian).

Documentation:

Usage examples:

And if it doesn't work with your printer, the older bitImage() command is also there as a fallback:

For the NV graphics, there are several ways to upload and print them (older bitImage and newer graphics commands). I've made some progress on saving & printing bit images from NV memory, but the results are not satisfactory. So at the moment, I would suggest a direct print-from-PNG approach.

from escpos-php.

sysxlabs avatar sysxlabs commented on May 18, 2024

perfecto... this works like a charm

from escpos-php.

mike42 avatar mike42 commented on May 18, 2024

Good to hear.

Does the EPOS TEP 220M work with both graphics() and bitImage()?

from escpos-php.

mike42 avatar mike42 commented on May 18, 2024

Closing this one. NV graphics still not implemented but original enhancement was added.

from escpos-php.

Related Issues (20)

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.