Print just added order

I am trying to print the order that has been just added without closing ticket, or better, before closing ticket.

this piece of paper I will print is only for the “Self service” menu item so the customer has a paper with the weight of the plate.

this print job action prints nothing:

This print job action prints the whole ticket:

I am a little bit lost with the states I imagine…

can anyone help me out!!! URGENTEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE

Thanks!!!

G.

In the Action: for Order State try making it a variable and define New from within the rule instead of the Action. It will be able to read it then. Should work let me know if it doesn’t. I just tested it and it worked on mine.

PS you had it right just sometimes it can not read it unless you call the State from the rule instead of the action. You do this by using variables in the action.

I personally use variables for almost all actions. I think it is a good practice and allows more flexibility later down road.

1 Like

variables oooooooooooo
please can you post a screen?

Thanks… variables is my sambapos´s nightmare!!!
jajajajajaj

thanks!!!

G.

for Order State in your action instead of New make it [:State]

Then delete the action and add it again to your rule and type New in the box that says State from inside the action you just added.


2 Likes

Sorry it took me a bit to figure out how to print screen from my surface tablet lol.

1 Like

sorry my dear friend… it prints the whole ticket!!!

G.

On mine it is not. It is only printing Orders with State of New. Show some screenshots of yours so I can see what is happ[ening. Show a shot of the actual Ticket Screen so I can see your order states please. And are you pressing a button to print or did you automate it/.

oooo, as allways… I must have done something terribly wrong!!!jajajjajajajaj


Look at your action and look at mine. Your Order State Name is blank and I do not have anything for Value but you do.

Order State Name should be Status
Order State should be [:State]
Order State Value should be blank.

Make those changes, delete the action from rule then add it again and put New into the State Box again then save and try it again. It should work.

sorry;;;; it has been a crazy day…
to much work…

THANKS!!!

now it prints nothing at all…


When you tested it. You did have orders with Status of New right? Can you show a screenshot of Ticket screen?

Notice it did not print the two that had Status of submitted.

Here is a screenshot setup with Order Added to Ticket just like yours.

yes…

the rule is supposed to print as soon as you add it to the ticket…

i have added a message and the message appears…
so it seems to be a problem with state or variable…

G.

you did delete the action from rule Save it then add it back and enter New again?

1 Like

yes sir I did…

thanks!!!

G

your state and variable are correct so it has to be a problem with something else. Probably the rule constraint. try taking the constraint off to see if it prints. If it does then we need to look into the constraint.

took out constriant, still no print…
Thanks!!!

G.

You have done something Wrong. I tried every combination with mine and it works just fine. Make sure you did not misspell something or forgot to save something. I added a constraint for specific menu item and it worked as intended.

Give more screenshots of everything maybe. The Print Job, Rule, Action, Settings > States ETC

When you took the action out of the rule did you save it and then reopen it and add the action again? Its not enough to just take action out then immediately put it back.

ok… here we go…




my head is hurting today… jajajajajajajaj cant think anymore…

lsat three days where crazy

G

Default mapping for rule?

All of those screenshots look good nothing wrong in them that I can see. I can not see if the Action is updated or not though. But if you said you did remove it then save the rule with no actions then reopened the rule and added the action it should be OK. So it must be something else we are missing. I setup mine exactly as your screenshots and it is working flawlessly.

EDIT: We can eliminate obvious stuff. Try setting printer to demo and see if it prints into notepad. This would eliminate possibility of it being printer. If it does not print to notepad then we know its a configuration issue still. If it does print to notepad then it would be something to do with printer.

The same printer is used for tickets and works, since I print tickets right after adding an order…
action was removed from rule, logged out, logged in and added…

i cant imagine why…

but now i will add an extra feature… I want to print only THE LAST ORDER ADDED… not all the NEW ones…

is it possible?

thanks!!!

G.