Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

359
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!