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

Fatal error when "php esc2html.php receipt-with-logo.bin > receipt-with-logo.htm" is called #484

Closed
abhayjb opened this issue Dec 12, 2017 · 1 comment

Comments

@abhayjb
Copy link

abhayjb commented Dec 12, 2017

Fatal error: Uncaught Error: Class 'Imagick' not found in /Users/abhaybhat/projects/Github_abhayjb/escpos-tools/src/Parser/Command/StoreRasterFmtDataToPrintBufferGraphicsSubCmd.php:80 Stack trace: #0 /Users/abhaybhat/projects/Github_abhayjb/escpos-tools/esc2html.php(59): ReceiptPrintHq\EscposTools\Parser\Command\StoreRasterFmtDataToPrintBufferGraphicsSubCmd->asPng() #1 {main} thrown in /Users/abhaybhat/projects/Github_abhayjb/escpos-tools/src/Parser/Command/StoreRasterFmtDataToPrintBufferGraphicsSubCmd.php on line 80

I installed all dependencies from composer.phar, not sure why 'Imagick' class is not found

@mike42
Copy link
Owner

mike42 commented Mar 5, 2018

I'm going to close this off. You have the wrong project, that command is from https://github.com/receipt-print-hq/escpos-tools

Also, a quick Google search for Imagick should turn up installation instructions for your platform, but I've raised a bug receipt-print-hq/escpos-tools#44 because the dependency is not correctly recorded.

@mike42 mike42 closed this as completed Mar 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants