Author Topic: Moving Cash Drawer Open button  (Read 10175 times)

lemmings

  • Full Member
  • ***
  • Posts: 165
Moving Cash Drawer Open button
« 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

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Moving Cash Drawer Open button
« Reply #1 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.