question

tellymasse avatar image
tellymasse asked tellymasse commented

How to remove a cartoon character from receipt?

Generated payment receipt shows a cartoon character. Can anyone please help how to remove it?

4 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

How are you printing? I know that logo is embedded in one of our sample apps.

0 Likes 0 ·
tellymasse avatar image tellymasse commented ·

I am just using these two lines, and getting that cartoon inside my print receipt.

PrintJob printJob = new StaticPaymentPrintJob.Builder().payment(payment).paymentId(payment.getId()).build();
printJob.print(myContext, account, printer);
0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

Please provide a picture of what the receipt looks like and also your merchant name and environment (sandbox.dev.clover.com?).

0 Likes 0 ·
tellymasse avatar image tellymasse commented ·

Jeff, This is the link of image of receipt "https://drive.google.com/file/d/0Bzpq6-qvtntLbmY0dy0zQ1Q5aVU/view?pref=2&pli=1".

Merchant name is "eTouchMenu" and id is "E4P5C595WSF40"

0 Likes 0 ·
Bryanne Vega avatar image
Bryanne Vega answered tellymasse commented

Go to the setup app > payments > disable show logo

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

tellymasse avatar image tellymasse commented ·

In clover device i am not able to find such option as you mention but i have alredy setup disable logo in WEB in setup > payment receipt but its not working. it shows following image inside the receipt.

https://media.licdn.com/mpr/mpr/shrinknp_200_200/p/1/000/006/269/1d86a6e.jpg
0 Likes 0 ·
Jeffrey Blattman avatar image
Jeffrey Blattman answered Loyal Loops commented

The only way an image would get added to a receipt at that spot is via the receipt registration mechanism. I suspect you installed some permutation of the receipt registration example app which adds such images to receipts, or you have otherwise implemented a receipt registration provider in some other app. The sample uses that image.

That is not just any cartoon image, it's me run through the "Simponsize Me" image filter.

2 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Loyal Loops avatar image Loyal Loops commented ·

Hi @jeff, could you provide a link to that receipt registration example app which adds a sample image? On clover's github we see the example for adding text, but not images. Thanks!

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ commented ·

See: https://github.com/clover/clover-andr.... Look at the openFile() method.

0 Likes 0 ·

Welcome to the
Clover Developer Community