SambaPOS Forum

English Boards => Support => Topic started by: razi777 on December 09, 2011, 07:35:10 pm

Title: create LOGO for bill
Post by: razi777 on December 09, 2011, 07:35:10 pm
<BMP>c:\logo.bmp  Edit "Ticket Template"

i added it in the template (the logo is correctly saved in C: and is .bmp file)

But still not working  :-[
Title: Re: create LOGO for bill
Post by: emre on December 12, 2011, 03:50:43 am
The only issue I can think is the bitmap resolution. Bitmap resolution should be 72 dpi and this command works for slip printers.
Title: Re: create LOGO for bill
Post by: SAMBA USER on February 08, 2012, 08:05:04 pm
Hi emre,
I also have the same problem with printing the logo.  I could print the logo and address but it not in the center of the receipt.  Is there any way to adjust so it could be right in the center of the receipt.  Right now is printing  to the left side.

Thanks ;D
Title: Re: create LOGO for bill
Post by: jenem on February 09, 2012, 12:28:55 am
I have tried a logo but is there a <J00> missing before the logo ?

See here for formatting commands.

http://doc.sambapos.org/doku.php/en/tips/sample_ticket_printer_template (http://doc.sambapos.org/doku.php/en/tips/sample_ticket_printer_template)

Edgar
Title: Re: create LOGO for bill
Post by: emre on February 09, 2012, 03:41:02 am
We do not adjust bitmap locations automatically.
For the exact logo location you need, you can try adding some whitespace on left side of your logo with a program like mspaint.

Note: Formatting commands can only format strings.
Title: Re: create LOGO for bill
Post by: aloupos on February 09, 2012, 07:29:10 am
Another approach is to create a bmp file with a small dot or rectangle.  Insert white space on the left side (moving the shape right) and print.  Repeat these steps until the shape is on the right edge of the receipt.  Now you have the exact width, and can center your logo. 

Note that you're not just restricted to 1 bitmap, so you can great headers, footers, custom seperators, etc.  Our receipt has a logo on top and references to twitter and facebook on the bottom. I'll try to post a photo if there's any interest.
Title: Re: create LOGO for bill
Post by: SAMBA USER on February 09, 2012, 12:21:31 pm
Hi aloupos,
Thanks for the info.  Love to see the screenshot.  The more the better.

Thanks! ;D