Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

how to setup border/margin on POS receipt?

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
posreceiptmarginborder
13 Respostas
58312 Visualizações
Avatar
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
Avatar
Cancelar
M. Höppner
Autor

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
Autor

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
Autor

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
Autor

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
Autor

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

Avatar
Antonio M. Vigliotti
Melhor resposta

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
Avatar
Cancelar
Avatar
Jerry Bhattarai
Melhor resposta

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
Avatar
Cancelar
Avatar
agb80
Melhor resposta

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
Avatar
Cancelar
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
Avatar
Michael Herzog
Melhor resposta

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

 

0
Avatar
Cancelar
Avatar
Thierry Godin
Melhor resposta

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
Avatar
Cancelar
Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
How to remove the border in POS printed receipt ?
pos receipt border
Avatar
0
mar. 15
5571
Custom Pos Receipt
pos receipt
Avatar
Avatar
1
dez. 24
3036
Pos Receipt
pos receipt
Avatar
0
ago. 24
2381
Can you customize Pos receipt via studio? Resolvido
pos receipt
Avatar
Avatar
1
ago. 24
3697
How to add index to each order line in POS receipt?
pos receipt
Avatar
0
jul. 24
2202
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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