Freezing Issue caused by network printers

My main issue with Samba POS is that it freezes when it can not find the network printers. If your Samba POS v5 is moving slow or is Freezing this can be a sign that 1 of your network printer is malfunctioning or disconnect.

I have a setup with 2 POS and 8 network printers. Samba POS freeze and sometimes crashes if it is unable to reach a printer.

How can I fix this?

This is not the case with SambaPOS. It should not do that at all unless you try to use the printer. THis could be something with your computer.

Did you setup some kind of customization that needs access to a printer? by default this would not affect sambapos.

Interesting that you have this problem. IF you can provide more context into what is happening maybe we can help you understand it. We have hundreds of thousands of sambapos installations and we do not see cases where a networked printer would stop sambapos from working. SambaPOS only accesses that if it sends a print job.

Hi Jesse, thank you for your response. I must apologize for any misinformation. However, this happens when we send to print a ticket.

Eg: Samba Pos will crash or Freeze if the kitchen network printer is offline when the cashier submits a ticket.

Another example: if the customer reciept printer is offline then SambaPOS will freeze.

Hope this helps to explain my point better.

That helps. So this must be an issue with your printer template then. Can you share that template? Even sending a print to an offline printer will not freeze sambapos it will just popup a single error.

Here is copy of the customer receipt template:
"
[LAYOUT]
– General layout

Great Buy
MONTEGO BAY JAM
CUSTOMER TICKET ID/RECIEPT #:{TICKET NO}
-

Order:{TICKET TAG: Seq No}
Order Type:{TICKET TAG:Order Type}
- Date:{TICKET DATE} Time:{TIME} Server: {USER NAME} {ENTITIES} -

{ORDERS}
=

{DISCOUNTS}
[Total Gift:|{ORDER STATE TOTAL:Gift}]
Subtotal:|[=F(TN(β€˜{TICKET TOTAL}’)-TN(β€˜{TAX TOTAL}’))]
{TAXES}
{SERVICES}
Total:|{TICKET TOTAL}
{PAYMENTS}
[Change Due:|{TICKET TAG: CHG}]

=
RATES: USD=[=F(TN(β€˜{EXCHANGE RATE:USD}’),β€˜#,##0.##’)] CAD=[=F(TN(β€˜{EXCHANGE RATE:CAD}’),β€˜#,##0.##’)] EUR=[=F(TN(β€˜{EXCHANGE RATE:EUR}’),β€˜#,##0.##’)] GBP=[=F(TN(β€˜{EXCHANGE RATE:GBP}’),β€˜#,##0.##’)]
T H A N K Y O U

[DISCOUNTS]
{CALCULATION NAME} %{CALCULATION AMOUNT}|{CALCULATION TOTAL}

[SERVICES]
{CALCULATION NAME}|{CALCULATION TOTAL}

[PAYMENTS:Cash]
{PAYMENT NAME} Tendered:|{TENDERED TOTAL}

[PAYMENTS:USD Cash]
USD Tendered:|[=F(TN(β€˜{PAYMENT AMOUNT}’)/TN(β€˜{EXCHANGE RATE:USD}’),β€˜#,##0.##’)]

[PAYMENTS:EUR Cash]
EUR Tendered:|[=F(TN(β€˜{PAYMENT AMOUNT}’)/TN(β€˜{EXCHANGE RATE:EUR}’),β€˜#,##0.##’)]

[PAYMENTS:CAD Cash]
CAD Tendered:|[=F(TN(β€˜{PAYMENT AMOUNT}’)/TN(β€˜{EXCHANGE RATE:CAD}’),β€˜#,##0.##’)]

[PAYMENTS:GBP Cash]
GBP Tendered:|[=F(TN(β€˜{PAYMENT AMOUNT}’)/TN(β€˜{EXCHANGE RATE:GBP}’),β€˜#,##0.##’)]

[ORDERS GROUP|PRODUCT TAG:ReceiptImage:Pork,Chicken]
{GROUP KEY}

[ORDERS GROUP:Pork]
-
PORK ITEMS
-

[ORDERS GROUP:Chicken]
-
CHICKEN ITEMS
-

[ORDERS]
– Default format for orders
- {QUANTITY} {NAME}|{TOTAL PRICE}
{ORDER TAGS}

[ORDERS:Gift]
– Format for gifted orders
- {QUANTITY} {NAME}|GIFT
{ORDER TAGS}

[ORDERS:Void]
– Nothing will print for void lines

[ORDER TAGS]
– Format for order tags
* {ORDER TAG NAME} | {ORDER TAG PRICE}

[ENTITIES:Table]
– Table entity format
Table: {ENTITY NAME}

[ENTITIES:Customer]
– Customer entity format
Customer: {ENTITY NAME} | {ENTITY DATA:Phone}
[TAXES]
GCT({TAX RATE}%):expressionless: {TAX AMOUNT}
"

@Jesse any help on this? Is my template causing the issue

I can’t really help you. Can you try a different template? You will know right away if that’s it. Maybe try a new router or switch. Or new cable or a new terminal?

This is not an issue for our other restaurants but hardware fails every day. Maybe it’s hardware?

Try to figure it out by eliminating things

@Jesse Thank you, I have been diagnosing this issue for sometime now, change switch, and test on 4 terminals, with same result. Do you know if samba has a best practice guideline for setting up printers?

What is ReceiptImage?

Are you printing images on your receipt? If so, can the computer access those images. I have found that spaces in file path to images can sometimes cause problems.

1 Like

Good catch bob images would cause that.

Thanks bob, yes images can cause these issues, i have had that experience before, yes the computer is able to access the images.

I will remove this from the template and provide you with an update. Thank you. Nice catch…

We really do not have any people having problems with it. I think yours may be those images now that we found it. Images take a lot of data to send especially if you have a few. It will certainly slow it down.

Check Switch/Hub, Cable/Connections.

I removed the images and same issue. This is the process i use to replicate the issue.

  1. Turn off the terminal printer
  2. Print a ticket and the application hang. See attached image
  3. Press β€œwait for the program to respond” still get nothing. Stays hanging
  4. Turn on the terminal printer
  5. Press β€œwait for the program to respond” again then reciept print and hanging stop and i can work normal again.

These are the steps I have used to keep testing the issue.

Do you have any custom printers or devices connected? This is not how Sambapos behaves with networked printers usually. Something is causing it to need the printer online in your setup.

Good day to all. Based on my experience with printers, I had this error in the past, the problem was that the printer’s IP had changed.

Until I had to assign them a fixed IP. Maybe something could be happening in that sense and in the Windows services I had to restart the print queue service.

I am now doing a complete look over of my setup, I will need to do a backup and test independently, unable to do proper test on production system.

@Oscar_Castillo, thank you, but all our printers has static IP. I eliminate the queue and observed that this happens when the printer is not connect to the network by doing the steps I mentioned above.

Send me a backup of your database I can test at office.

Please check that the printer drivers are correct.

1 Like