Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

365
Visualizações
how to adjust the printing page size to my barcode size in php

I have a barcode printer and a sticker roll, on which the printer is going to print the barcode. The size of each sticker is 2.5" * 1.5". I have already generated the barcode using a library now when I print this barcode, the browser is printing the whole page and not just the barcode I have tried different approaches like making a div and giving it the specific width/height and only printing that specific div but the problem is still the same. .I am attaching an image to make my problem clear

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Here is the solution to my problem from @KIKO SOFTWARE:

In "More Settings Dropdown" the paper size must match the size of paper you're using. If your size (2.5" * 1.5) is not there, you can add it. This is usually done in the printer settings of the operating system.

Just go to Control Panel>Hardware and Sound>Devices and Printers

Right-click on your printer select "Printer Preferences" then in Page Setup click "New" and add your required size :(

And here is the result

Thanks to @KIKO SOFTWARE

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda