Blair2004 / NexoPOS

The base version of NexoPOS, which is a web-Based Point Of Sale (POS) System build with Laravel, TailwindCSS, and Vue.Js.
https://my.nexopos.com
GNU General Public License v3.0
890 stars 370 forks source link

Nexo Print Server Local printing - Default printer not applicable when you have two or more printers #1478

Closed mbugikp closed 1 year ago

mbugikp commented 1 year ago

Describe the bug The setup is bar, restaurant, and kitchen each has its own printer so we have three printers using NPS for local printing.

To Reproduce Steps to reproduce the behavior: Have a kitchen printer, add a bar printer, add a restaurant printer, the kitchen printer will printer kitchen orders, the bar printer will print bar orders and the restaurant printer will print restaurant orders. NPS requires a default printer choose any printer for my case I will choose restaurant printer as default printer.

Since I am using Gastro I will send an order to the Kitchen and it gets printed correctly, I go to the bar on first floor make an order it gets printed correctly on the bar printer, I proceed to print the bill/receipt it gets printed down stairs by the restaurant printer which happens to be the default printer. Now the waiter has to go down stairs to get the customer bill/receipt from the restaurant printer wasting a lot of time.

Expected behavior Waiter should be able to print customer bill/receipt from bar printer, NPS should only print through the default printer if waiter did not choose a printer, therefore we should provide waiter with a list of available printers to choose from before printing is completed. You can imagine leaving a printer on the first floor (bar) to go and pick a bill/receipt on the ground floor(restaurant).

Screenshots

Environment:

ahorasoyfelipe commented 1 year ago

hello, we have solved that using the configuration of each computer example:

1 computer in the cashier has 3 connections to the printers, one is called the bar, another kitchen and another cashier

In the 2 computers bar and kitchen are configured in the same way

Cashier : 192.168.123.150 bar : 192.168.123.160 kitchen: 192.168.123.170

but on a second pc the configuration of that pc is:

cashier: connected by usb

therefore if I print from pc 1, it appears on the cashier printer that is on the same pc and on the second pc, the system reads that the printer is still called a cashier, but it prints it on the printer installed on that pc

In short, use the same printer names on each PC, but on each PC when you install the printers you can configure them with different ports

mbugikp commented 1 year ago

Thank you @ahorasoyfelipe but I am getting lost. 1) Do you have nexo print server? If yes are you using local printing? 2) What is your default printing gateway? Web or nps? POS Settings printing gateway

3) I am using network printers for restaurant and kitchen, the bar printer is connected by usb, will this scenario still work?

Blair2004 commented 1 year ago

I proceed to print the bill/receipt it gets printed down stairs by the restaurant printer which happens to be the default printer.

Where do you "proceed to print"? This will help us understand which section still use the default printer.

mbugikp commented 1 year ago

proceed to print Print_order

Blair2004 commented 1 year ago

What version of NPS Adapter your using ? It's not mentionned

mbugikp commented 1 year ago

NPS Adapter 4.8.6

Blair2004 commented 1 year ago

Use 4.8.7 as that version nows allows you to select the printer before printing.

mbugikp commented 1 year ago

Okay. Let me check.

Blair2004 commented 1 year ago

Comment if the issue persists