Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphical output - Print logo #3

Closed
sysxlabs opened this issue Jan 19, 2015 · 10 comments
Closed

Graphical output - Print logo #3

sysxlabs opened this issue Jan 19, 2015 · 10 comments

Comments

@sysxlabs
Copy link

Hi Mike,

I am writing for another enhancement, I have a NV Logo uploaded to the printer memory, now I want to print that logo... If this functionality is already provided then I want to know the syntax for it.

When I send print from windows, the NV Logo is printed, but when I tried to print with this code, the NV Logo is not printing.

Thanks

@mike42
Copy link
Owner

mike42 commented Jan 23, 2015

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?

@sysxlabs
Copy link
Author

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

@sysxlabs
Copy link
Author

sysxlabs commented Feb 9, 2015

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.

@dudwig
Copy link

dudwig commented Feb 9, 2015

@mike42
Copy link
Owner

mike42 commented Feb 14, 2015

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.

@mike42 mike42 changed the title Enhancement Graphical output - Print logo Feb 14, 2015
mike42 added a commit that referenced this issue Feb 15, 2015
@mike42
Copy link
Owner

mike42 commented Feb 15, 2015

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();

@mike42
Copy link
Owner

mike42 commented Mar 14, 2015

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.

@sysxlabs
Copy link
Author

sysxlabs commented Apr 3, 2015

perfecto... this works like a charm

@mike42
Copy link
Owner

mike42 commented Apr 5, 2015

Good to hear.

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

@mike42
Copy link
Owner

mike42 commented Feb 23, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants