You'll create a new printer template and it will only contain the related <XCT> code for your printer at the header template.
You'll create a new print job that uses this printer template. If you disable automatic printing and enter a "button header" for the printjob it will display a button on payment screen or on ticket screen depending on the printjob settings.
Don't forget to add this template to terminal settings...
