Printing fails because LC_PAPER is ignored

Bug #39438 reported by Tero Karvinen on 2006-04-13
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Medium
Unassigned

Bug Description

Print defaults to US Letter, which usually results in failed printing in countries using A4 paper. It also ignores LC_MEASUREMENT, showing inches instead of cm.

To reproduce:
1) Set up A4 paper and metric system (using export or /etc/environment)
LC_PAPER="fi_FI.UTF-8" # a4, can't print without this
LC_MEASUREMENT="fi_FI.UTF-8" # metric system
Detailed howto in http://myy.helia.fi/~karte/english_in_finland_on_ubuntu.html
2) Start Firefox
3) File:Print:Print (being in a country that uses A4 paper)

What happens: Printing fails, because Firefox defaults printing to US Letter, that probably can't be bought in most countries. Many printers fail to print the file, and require a button to be pushed on printer for any future print jobs to be accepted.

What should happen: It should use A4 paper size, printing should work. Metric system of measurement should be used.

Bypass:
- To be able to print, use File:Print:Properties:Paper Size to set A4 manually.
- It seems that there is no way to get metric units to print properties dialog.

Tested with
- Firefox 1.5.dfsg+1.5.0.1-1ubuntu10 on Dapper Flight 6
- 1.0.7-0ubuntu20 on Breezy
- If I remember correctly, same problem exists on Debian Sarge too.

Carthik Sharma (carthik) wrote :

I can observe the same behavior

Changed in firefox:
status: Unconfirmed → Confirmed

Confirming on Ubuntu Gutsy Gibbon, Firefox v. 2.0.0.10.

Bruneel Michaël (mbruneel) wrote :

I have the same issue with Gusty and Firefox/Thunderbird. The message appear when I launch the program from the console :

(firefox-bin:24572): Gtk-WARNING **: Locale not supported by C library.
        Using the fallback 'C' locale.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments