Comments (17)
@furqee, just a quick suggestion contact the printer manufacturer, sometimes the printer uses different communication (comm) cards. I had a similar issue with a TSP650 II printer. The problem was that I needed a different comm card. best
from ppp.
You can check your php error logs for more details. It must be some error that causing the server to stop.
- Does your printer support support ESC/POS?
- Does your printer print the test page?
- Can your printer print 200 chars per line? (non-related)
from ppp.
-
Yes my printer support ESC/POS
-
Yes my printer prints the test page
-
Yes it supports 576dots/line
There is no log maintaining in PHP
from ppp.
Does it stop after test print too?
You can check with host for php error logs, if local install then please google for the plateform to search the logs folder
from ppp.
from ppp.
Oh should check the local plateform logs as PPP is of course cloned locally
from ppp.
@ray-moncada Oh thanks i'll check definitely.
from ppp.
PHP Warning: json_decode() expects parameter 1 to be string, array given in D:\xampp\htdocs\ppp-master\app\helpers.php on line 6, referer: http://localhost/
I was getting this error in php logs so i just change array into string, but still print server stop responding after one print
from ppp.
D:\xampp\htdocs\ppp-master>php server.php
Starting server...
Server started
Connected
Received request {"type":"print-receipt","data":{"printer":{"id":"1","title":"LAN Printer","type":"network","profile":"default","char_per_line":"50","path":"","ip_address":"192.168.20.240","port":"9100"},"logo":"http://localhost/pos-platters/pos/assets/uploads/logos/theplatter.png","text":{"store_name":"The Platters","header":"\nBill\n\n","info":"C: Walk-in Customer\nR: \nU: owner\nT: 18/03/2019 20:24\n\n","items":"#1 71079901 - Hot Menu Item\n 1 x 150.00 150.00\n","totals":"Total 150.00\nGrand Total 150.00\n\nItems: 1 (1)\n","footer":"\nMerchant Copy\n"}}}
Printing
Printied
D:\xampp\htdocs\ppp-master>
from ppp.
its happens whether I send test print or send print via software (Stock Manager)
from ppp.
my stock Manager version is 3.4.7
from ppp.
There is no debug option. You can try with different profiles or below work around.
Please try to share the printer and enter the share name for your printer here or for Server Message Block (SMB): enter as a smb://
url format such as smb://computerName/ReceiptPrinterSharedName
from ppp.
Printer is working fine in first attempt
from ppp.
but 20-30 sec server stops
from ppp.
As I understand the print server is crashing after print and I have suggested the work around above.
from ppp.
@furqee did you solve this problem?
from ppp.
from ppp.
Related Issues (5)
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 ppp.