Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Learn More

White space is not optimised for printing

more options

Hi there,

We are using Firefox Portable for our self service kiosks however we are having real issues while printing longer order slips.

When we want to print slips longer than 25cm, Firefox automatically rescales the PDF and makes it so small that you can't even read sometimes.

Then we extend the paper size so it does not need to rescale however this time if the slip is short it prints the whole blank space remaining wasting a lot of paper.

Chrome does not do that and it only prints the non-blank area on the PDF.

We have tried numerous tips on here and stackoverflow (using about:config) but none seems to help.

I have attached a photo of the slips printed by both browsers for you to see the exact difference.

Thanks for your help!

Hi there, We are using Firefox Portable for our self service kiosks however we are having real issues while printing longer order slips. When we want to print slips longer than 25cm, Firefox automatically rescales the PDF and makes it so small that you can't even read sometimes. Then we extend the paper size so it does not need to rescale however this time if the slip is short it prints the whole blank space remaining wasting a lot of paper. Chrome does not do that and it only prints the non-blank area on the PDF. We have tried numerous tips on here and stackoverflow (using about:config) but none seems to help. I have attached a photo of the slips printed by both browsers for you to see the exact difference. Thanks for your help!
Приложенные скриншоты

Все ответы (1)

more options

The document is a PDF? I don't think you have as much flexibility printing PDFs in Firefox's built-in viewer as in other clients.

"Overlong PDF" scenario: if I open a PDF that is Legal sized (example: https://www.jeffersonscher.com/res/us-legal.pdf), and the preview is set for Letter-sized paper, then Firefox forces downscaling and I can't override it with Scale: 100.

"Short PDF" scenario: If I open a PDF that is Letter sized, and I change the paper size for the printer to Legal in the preview, then the PDF is vertically centered. It looks like this is a known issue with the PDF viewer: https://github.com/mozilla/pdf.js/issues/13264 (actually a thread about receipt printing).

I cannot think of a workaround.