Comments (10)
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.
I am using EPOS TEP 220M. This printer is compatible with ESC/POS Commands
from escpos-php.
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.
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.
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.
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.
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:
- https://github.com/mike42/escpos-php/blob/master/example/graphics.php
- https://github.com/mike42/escpos-php/blob/master/example/receipt-with-logo.php
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.
perfecto... this works like a charm
from escpos-php.
Good to hear.
Does the EPOS TEP 220M work with both graphics() and bitImage()?
from escpos-php.
Closing this one. NV graphics still not implemented but original enhancement was added.
from escpos-php.
Related Issues (20)
- epson TM-U330B
- epsom TM-U330B
- Problem with printing text and an image in one line
- Please add support for Xprinter XP-420B
- Skadoo
- Printing through ethernet from Linux HOT 1
- Please add the xPrint list for an 80mm thermal receipt printer
- Gainscha does not cut sometimes
- TSC TE200
- Xprinter XP-470B
- basic Samsung laser printer HOT 1
- Star TSP100 (TSP113)
- Does the library support for Epson TM-L90 or Brother PT-P900W printer ? HOT 1
- Print Portable PT-210
- epson lq 310 printer HOT 1
- Print Job suddenly disappear when printing to Brother PT-P950NW HOT 1
- Failed printing in more printers in same process
- Supported model: SYA1GSB8360
- Printer PDF via WindowsPrintConnector error text
- Error when printing pdf despite having imagick active
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from escpos-php.