Skip to Content
Odoo Menu
  • Prisijungti
  • Išbandykite nemokamai
  • Programėlės
    Finansai
    • Apskaita
    • Pateikimas apmokėjimui
    • Sąnaudos
    • Skaičiuoklė (BI)
    • Dokumentai
    • Pasirašymas
    Pardavimai
    • CRM
    • Pardavimai
    • Kasų sistema - Parduotuvė
    • Kasų sistema - Restoranas
    • Prenumeratos
    • Nuoma
    Svetainės
    • Svetainių kūrėjimo įrankis
    • El. Prekyba
    • Internetinis Tinklaraštis
    • Forumas
    • Tiesioginis pokalbis
    • eMokymasis
    Tiekimo grandinė
    • Atsarga
    • Gamyba
    • PLM
    • Įsigijimai
    • Priežiūra
    • Kokybė
    Žmogaus ištekliai
    • Darbuotojai
    • Įdarbinimas
    • Atostogos
    • Įvertinimai
    • Rekomendacijos
    • Transporto priemonės
    Rinkodara
    • Socialinė rinkodara
    • Rinkodara el. paštu
    • SMS rinkodara
    • Renginiai
    • Rinkodaros automatizavimas
    • Apklausos
    Paslaugos
    • Projektas
    • Darbo laiko žiniaraščiai
    • Priežiūros tarnyba
    • Pagalbos tarnyba
    • Planavimas
    • Rezervacijos
    Produktyvumas
    • Diskucija
    • Patvirtinimai
    • IoT
    • VoIP
    • Žinių biblioteka
    • WhatsApp
    Trečiųjų šalių programos Odoo Studija Odoo debesijos platforma
  • Pramonės šakos
    Mažmeninė prekyba
    • Knygynas
    • Drabužių parduotuvė
    • Baldų parduotuvė
    • Maisto prekių parduotuvė
    • Techninės įrangos parduotuvė
    • Žaislų parduotuvė
    Food & Hospitality
    • Barai ir pub'ai
    • Restoranas
    • Greitasis maistas
    • Guest House
    • Gėrimų platintojas
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architektūros įmonė
    • Konstrukcija
    • Estate Managament
    • Sodininkauti
    • Turto savininkų asociacija
    Consulting
    • Accounting Firm
    • Odoo Partneris
    • Marketing Agency
    • Teisinė firma
    • Talentų paieška
    • Auditai & sertifikavimas
    Gamyba
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Įmonių dovanos
    Sveikata & Fitnesas
    • Sporto klubas
    • Akinių parduotuvė
    • Fitneso Centras
    • Sveikatos praktikai
    • Vaistinė
    • Kirpėjas
    Trades
    • Handyman
    • IT įranga ir palaikymas
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Aplinkos agentūra
    • Reklaminių stendų nuoma
    • Fotografavimas
    • Dviračių nuoma
    • Programinės įrangos perpardavėjas
    Browse all Industries
  • Bendrija
    Mokykitės
    • Mokomosios medžiagos
    • Dokumentacija
    • Sertifikatai
    • Mokymai
    • Internetinis Tinklaraštis
    • Tinklalaidės
    Skatinkite švietinimą
    • Švietimo programa
    • Scale Up! Verslo žaidimas
    • Aplankykite Odoo
    Gaukite programinę įrangą
    • Atsisiųsti
    • Palyginkite versijas
    • Leidimai
    Bendradarbiauti
    • Github
    • Forumas
    • Renginiai
    • Vertimai
    • Tapkite partneriu
    • Services for Partners
    • Registruokite jūsų apskaitos įmonę
    Gaukite paslaugas
    • Susiraskite partnerį
    • Susirask buhalterį
    • Susitikti su konsultantu
    • Diegimo paslaugos
    • Klientų rekomendavimas
    • Palaikymas
    • Atnaujinimai
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Gaukite demo
  • Kainodara
  • Pagalba

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Apskaita
  • Atsarga
  • PoS
  • Projektas
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Žymos (View all)
odoo accounting v14 pos v15
About this forum
Pagalba

how to setup border/margin on POS receipt?

Prenumeruoti

Get notified when there's activity on this post

This question has been flagged
posreceiptmarginborder
13 Replies
58242 Rodiniai
Portretas
M. Höppner

Hi,
with the help of this forum I managed to customize my POS receipt and now I have also me EPSON TM88V running by WiFi. One issue left:
The printout always looks shifted to the right side. At the left side is a free space / border / margin of about 17mm and on the right side are some characters / columns missing.
Where do I setup this values. I was looking in /addons/point_of_sale/static/src/css/pos.css but did not find the right thing.
Who can help?

0
Portretas
Atmesti
M. Höppner
Autorius

additional information: I installed the printer under Windows 7 and Linux Ubuntu and Linux Mageia, via USB and WLAN, all test prints were OK (border about 4mm), when the printer print its own test page (power butte + feed button) the border is also about 4mm, I can additionally print a pattern as test - this is also OK, when I set up to print (STRG+P) including the head- and bottom line, e.g. URL, date, pages, then this information are printed with the correct distance to the edge of the page, so my conclusion is, that it must come from OpenERP and not from the printer or the driver

M. Höppner
Autorius

and it has nothing to do with the margin etc. set in pos.css .point-of-sale .pos-sale-ticket { text-align: left; width: 300px; background-color: white; margin: 20px; padding: 15px; padding-bottom:30px, the image on the screen looks perfect!!!

M. Höppner
Autorius

hello again, even printing on A4 shifts the picture and cuts off the right side, so I'm sure it has nothing to do with the printer or with the OS (Linux or Windows) - it looks like an OpenERP issue, picture of the POS bill: https://db.tt/rWNOLNro

Javier Sevilla

Have the same problem. Has anybody been able to solve it?

M. Höppner
Autorius

the (not really) funny thing ist, if I go to Point of Sale => Orders => Button Reprint (ATTENTION another template is used here) the receipt looks good, no shift to one side, exactly in the middle so it is a problem with the other template / report! it would be really great to get help from the OpenERP team!

M. Höppner
Autorius

any news on this topic - I'm sure I'm not the only one!

Portretas
Antonio M. Vigliotti
Best Answer

Hi,

you should change 2 files.

in ./point_of_sale/static/src/xml/pos.xml you should change pos-ticket object

in ./point_of_sale/static/src/css/pos.ccs you should:

  • add new left-align class
  • set width 88%
  • set margin to 0 (but this works well just with Chrome)

You can download file here https://github.com/antoniov/Odoo-Italy/tree/7.0

All the diffrences are marked as [antoniov]

 

Hope this help

Antonio Maria Vigliotti

1
Portretas
Atmesti
Portretas
Jerry Bhattarai
Best Answer

Before making any changes first click on Print Receipt >

the on print preview page > go to more setting then Finally set

"Scale = 70" in print preview page.


Will work .

0
Portretas
Atmesti
Portretas
agb80
Best Answer

If you use this soft https://github.com/Fedrojesa/ProxyPoS you can use directly EsC/PoS templates for generate the receipts forgeting about CSS and other weird situations with printed receipts.

0
Portretas
Atmesti
Faheem Khan

how to install proxypos in openerp @agb80

OdooBot
Hello Faheem,

ProxyPoS is not mean to be installed on openerp but on the box you are going to be used properly as Point of Sale. The intention is to intercept the communication OpenERP PoS try to do with a server sending the information for interact with the PoS devices.

On 08/09/15 05:22, Faheem Khan wrote:
<blockquote cite="mid:1441707731.498382091522217.424540075546407-openerp-52798-forum.post@accounts-a.odoo.com" type="cite">

how to install proxypos in openerp @agb80

M. Faheem Khan

+923324647347

Sent by Odoo S.A. using Odoo about Forum Post False
Portretas
Michael Herzog
Best Answer

Hi there. For me it worked when I added "@page {margin:0;}" in the pos.css. 

 

0
Portretas
Atmesti
Portretas
Thierry Godin
Best Answer

Hi,

I do not use this printer, but in my company I do configure POS receipt printers with this settings (in Firefox) :

Scale = 88% (play around here to fit the ticket)

Uncheck "adapt to page size"

Margins : 0 , 0 ,0 ,0

Footer/header page = nothing

Hope this helps

0
Portretas
Atmesti
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registracija
Related Posts Replies Rodiniai Veikla
How to remove the border in POS printed receipt ?
pos receipt border
Portretas
0
kov. 15
5517
Custom Pos Receipt
pos receipt
Portretas
Portretas
1
gruod. 24
2931
Pos Receipt
pos receipt
Portretas
0
rugp. 24
2292
Can you customize Pos receipt via studio? Solved
pos receipt
Portretas
Portretas
1
rugp. 24
3603
How to add index to each order line in POS receipt?
pos receipt
Portretas
0
liep. 24
2078
Bendrija
  • Mokomosios medžiagos
  • Dokumentacija
  • Forumas
Atvirasis kodas
  • Atsisiųsti
  • Github
  • Runbot
  • Vertimai
Paslaugos
  • Odoo.sh talpinimas
  • Palaikymas
  • Atnaujinti
  • Pritaikytas programavimo kūrimas
  • Švietimas
  • Susirask buhalterį
  • Susiraskite partnerį
  • Tapkite partneriu
Apie mus
  • Mūsų įmonė
  • Prekės ženklo turtas
  • Susisiekite su mumis
  • Darbo pasiūlymai
  • Renginiai
  • Tinklalaidės
  • Internetinis Tinklaraštis
  • Klientai
  • Teisinis • Privatumas
  • Saugumas
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo yra atvirojo kodo verslo programų rinkinys, kuris apima visas įmonės poreikius: CRM, El. Prekybą, Apskaitą, Atsargų, Kasų sistemą, Projektų valdymą ir kt.

Unikali Odoo vertės pasiūla – būti tuo pačiu metu labai lengvai naudojama ir visiškai integruota sistema.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now