Giter VIP home page Giter VIP logo

Comments (17)

ray-moncada avatar ray-moncada commented on August 26, 2024 1

@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.

MianSaleem avatar MianSaleem commented on August 26, 2024

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.

furqee avatar furqee commented on August 26, 2024
  • 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.

MianSaleem avatar MianSaleem commented on August 26, 2024

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.

furqee avatar furqee commented on August 26, 2024

from ppp.

MianSaleem avatar MianSaleem commented on August 26, 2024

Oh should check the local plateform logs as PPP is of course cloned locally

from ppp.

furqee avatar furqee commented on August 26, 2024

@ray-moncada Oh thanks i'll check definitely.

from ppp.

furqee avatar furqee commented on August 26, 2024

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.

furqee avatar furqee commented on August 26, 2024

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.

furqee avatar furqee commented on August 26, 2024

its happens whether I send test print or send print via software (Stock Manager)

from ppp.

furqee avatar furqee commented on August 26, 2024

my stock Manager version is 3.4.7

from ppp.

MianSaleem avatar MianSaleem commented on August 26, 2024

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.

furqee avatar furqee commented on August 26, 2024

Printer is working fine in first attempt

from ppp.

furqee avatar furqee commented on August 26, 2024

but 20-30 sec server stops

from ppp.

MianSaleem avatar MianSaleem commented on August 26, 2024

As I understand the print server is crashing after print and I have suggested the work around above.

from ppp.

kdrmlhcn avatar kdrmlhcn commented on August 26, 2024

@furqee did you solve this problem?

from ppp.

furqee avatar furqee commented on August 26, 2024

from ppp.

Related Issues (5)

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.