Author Topic: create LOGO for bill  (Read 20089 times)

razi777

  • Newbie
  • *
  • Posts: 15
create LOGO for bill
« 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  :-[

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: create LOGO for bill
« Reply #1 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.

SAMBA USER

  • Newbie
  • *
  • Posts: 23
Re: create LOGO for bill
« Reply #2 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

jenem

  • Full Member
  • ***
  • Posts: 154
Re: create LOGO for bill
« Reply #3 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

Edgar

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: create LOGO for bill
« Reply #4 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.

aloupos

  • Newbie
  • *
  • Posts: 25
Re: create LOGO for bill
« Reply #5 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.

SAMBA USER

  • Newbie
  • *
  • Posts: 23
Re: create LOGO for bill
« Reply #6 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