2
Right now if I want to print a custom message to the receipt print such as 'Hello World from %1', I need to add code to the MPOS to print a custom receipt such as 'CustomReceiptType1'. Then I need to setup a receipt format in DAX, and add a 'custom field', and add the field to the designer. Finally I also need to write CRT code to create a handler for 'GetSalesTransactionCustomReceiptFieldServiceRequest'. So that I can look for the custom field, and set its value to be a value that I have passed in from the MPOS.
It would be great if there was an API that would allow you to print to the receipt printer 'some text' that is passed in as a parameter.
STATUS DETAILS
Declined
Ideas Administrator

Thank you for sharing your idea with us. We appreciate and value your input. While we have decided not to pursue it at this time, we will keep it on our radar and re-evaluate it in the future if there is increased demand from our customers.

Comments

P

Hi Peter,

Let's say you just need to do this only once - and you can print any custom text from POS :) + if you are a partner, you implement this extension only once and share with all the customers, that saves time.

The issue with your requirement is:
1) What alignment should be for the text - right/center/left?
2) What is receipt paper size - 40 chars, 50 chars, etc.
3) If any blank lines should be added before and after the text
4) What printer should be used - Printer 1 or Printer 2 from Hardware profile? (as you can have both active)

So the way provided by Microsoft is really very flexible.. yes, a bit more time consuming, but you can completely control the printing.

Category: Extensibility and Developer experience