SambaPOS Forum

English Boards => Support => Topic started by: lemmings on March 05, 2013, 06:42:00 pm

Title: Moving Cash Drawer Open button
Post by: lemmings on March 05, 2013, 06:42:00 pm
Due to a few incidents at our restaurant I need to move the Open Drawer button.

The Cash Drawer option in main menu is restricted to Manager pin codes so I would want to place under the Income transactions, Expense Transactions and Customer Accounts - so some manual code intervention is needed.

I have my button, I already have the printjob and template. But when I use the AppServices.PrintService method to execute the printjob nothing happens.

Running debug shows that printjob is always a null variable.

How are you assigning print templates to buttons, will this only work if the button is assigned to a open ticket.

Any assistance would be appreciated
Title: Re: Moving Cash Drawer Open button
Post by: emre on March 06, 2013, 05:16:36 am
You can call PrintService.ExecutePrintJob(printjob); to print when there is no active ticket. All other methods works if there is an active ticket.