LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-10-2009, 02:24 AM   #1
arik
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Rep: Reputation: 0
Printing on different paper sizes in Firefox


Hi..We are working on a web application and facing problem with printing on different paper sizes in Firefox on Linux. When he use the print option in our application, it always prints in A4 size, even after selecting A5 size in Page Setup of Firefox.
However when we print directly from the File menu in Firefox, it prints
properly on A5 size. Also it works fine on Windows-Firefox. Any help on this is much appreciated. Thanks
 
Old 11-11-2009, 12:23 AM   #2
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
I remember that there is a file that has a default paper size for your locale but for the life of me I cannot remember what file it is. When I find out ill get back to you.

Last edited by exvor; 11-11-2009 at 12:31 AM.
 
Old 11-19-2009, 04:12 AM   #3
arik
LQ Newbie
 
Registered: Nov 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Still not able to find a fix for this.. Could this be resolved if we use Java Print API's instead of using default Firefox browser print. Is it possible to set custom print sizes using Java API's?
 
Old 11-22-2009, 10:13 PM   #4
exvor
Senior Member
 
Registered: Jul 2004
Location: Phoenix, Arizona
Distribution: Gentoo, LFS, Debian,Ubuntu
Posts: 1,537

Rep: Reputation: 87
Try setting the default paper size in /etc/papersize this is where groff is getting the default. Well other then the default one that was built into the program at compile time, which usually is letter.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Printing non-standard paper sizes on Lexmark E330 via CUPS bartonski Linux - Software 6 11-08-2009 10:16 AM
Firefox printing only on part of A4 paper! no_biggie Linux - Software 5 12-15-2008 09:21 PM
Brother HL-2070N printer limited in paper sizes SkipHuffman Linux - Hardware 0 02-07-2007 11:12 AM
Printing on both sides of the paper seran Linux - General 2 01-27-2006 08:45 AM
HP Deskjet 1220C Paper sizes P4C970 Linux - Hardware 0 08-17-2003 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration