Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

363
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda