[opensuse] Dubious paper size settings
Hello, On opensuse-12.3 and opensuse-13.1, in the print dialog of all applications (konqueror, okular, firefox, etc/pp), I get _two_ options for the "Media Size" setting. The first one is set to "A4" (which I really want) and the second is set to "Letter". In contrast, lpoptions (correctly) shows only _one_ "Media Size" option, which is (correctly) set to "A4": raven:~ # lpoptions -l|grep Size PageSize/Media Size: Letter Legal Executive Statement FanFoldGermanLegal 3x5 4x6 5x7 5x8 *A4 A5 A6 FanFoldGerman B5 B6 100x150mm 216x340mm 195x270mm 184x260mm 197x273mm Postcard DoublePostcardRotated Env9 Env10 EnvMonarch EnvISOB5 EnvC5 EnvC6 EnvDL Custom.WIDTHxHEIGHT HPBookletPageSize/Paper for Booklet: 100x150mm 184x260mm 195x270mm 197x273mm 216x340mm 3x5 4x6 5x7 5x8 A4 A5 A6 B5 B6 DoublePostcardRotated Executive FanFoldGerman FanFoldGermanLegal Legal *Letter Postcard Statement Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions? -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi Josef, taken you're running KDE, you can simply configure your default paper size via System Settings > Printer > Setup > Options > Media Size (or german: Systemeinstellungen > Drucker > Einrichten > Druckeroptionen > Media Size. Then the printing dialog should have your favorite dimension pre-selected. Simon Am Montag, 11. August 2014, 15:11:24 schrieb Josef Wolf:
Hello,
On opensuse-12.3 and opensuse-13.1, in the print dialog of all applications (konqueror, okular, firefox, etc/pp), I get _two_ options for the "Media Size" setting. The first one is set to "A4" (which I really want) and the second is set to "Letter".
In contrast, lpoptions (correctly) shows only _one_ "Media Size" option, which is (correctly) set to "A4":
raven:~ # lpoptions -l|grep Size PageSize/Media Size: Letter Legal Executive Statement FanFoldGermanLegal 3x5 4x6 5x7 5x8 *A4 A5 A6 FanFoldGerman B5 B6 100x150mm 216x340mm 195x270mm 184x260mm 197x273mm Postcard DoublePostcardRotated Env9 Env10 EnvMonarch EnvISOB5 EnvC5 EnvC6 EnvDL Custom.WIDTHxHEIGHT HPBookletPageSize/Paper for Booklet: 100x150mm 184x260mm 195x270mm 197x273mm 216x340mm 3x5 4x6 5x7 5x8 A4 A5 A6 B5 B6 DoublePostcardRotated Executive FanFoldGerman FanFoldGermanLegal Legal *Letter Postcard Statement
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Aug 11, 2014 at 11:43:13PM +0200, Simon Heimbach wrote:
taken you're running KDE, you can simply configure your default paper size via System Settings > Printer > Setup > Options > Media Size (or german: Systemeinstellungen > Drucker > Einrichten > Druckeroptionen > Media Size. Then the printing dialog should have your favorite dimension pre-selected.
Ideed, this is where the "Letter" setting came from. Is there any way to configure that from the command line? But I _still_ get _two_ "Media Size" option settings. At least, both show the same value now ("A4"). But IMHO, one of them should go away!
Am Montag, 11. August 2014, 15:11:24 schrieb Josef Wolf:
Hello,
On opensuse-12.3 and opensuse-13.1, in the print dialog of all applications (konqueror, okular, firefox, etc/pp), I get _two_ options for the "Media Size" setting. The first one is set to "A4" (which I really want) and the second is set to "Letter".
In contrast, lpoptions (correctly) shows only _one_ "Media Size" option, which is (correctly) set to "A4":
raven:~ # lpoptions -l|grep Size PageSize/Media Size: Letter Legal Executive Statement FanFoldGermanLegal 3x5 4x6 5x7 5x8 *A4 A5 A6 FanFoldGerman B5 B6 100x150mm 216x340mm 195x270mm 184x260mm 197x273mm Postcard DoublePostcardRotated Env9 Env10 EnvMonarch EnvISOB5 EnvC5 EnvC6 EnvDL Custom.WIDTHxHEIGHT HPBookletPageSize/Paper for Booklet: 100x150mm 184x260mm 195x270mm 197x273mm 216x340mm 3x5 4x6 5x7 5x8 A4 A5 A6 B5 B6 DoublePostcardRotated Executive FanFoldGerman FanFoldGermanLegal Legal *Letter Postcard Statement
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/12/2014 09:13 AM, Josef Wolf wrote:
Ideed, this is where the "Letter" setting came from. Is there any way to configure that from the command line?
Yes, use 'lpotions'
But I _still_ get _two_ "Media Size" option settings. At least, both show the same value now ("A4"). But IMHO, one of them should go away!
If you have two printer entries you will see those two entries. You may have only one printer but ... I have only one printer but I have three entries: * Raw mode (which is actually postscript) * Brother BR3 script * HP laserjet emulation The printer can also handle Epson emulation s I could have a fourth entry, but why bother? -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Aug 12, 2014 at 10:24:28AM -0400, Anton Aylward wrote:
On 08/12/2014 09:13 AM, Josef Wolf wrote:
Ideed, this is where the "Letter" setting came from. Is there any way to configure that from the command line?
Yes, use 'lpotions'
As I stated before, lpoptions settiongs seem to be ignored.
But I _still_ get _two_ "Media Size" option settings. At least, both show the same value now ("A4"). But IMHO, one of them should go away!
If you have two printer entries you will see those two entries.
You may have only one printer but ...
I have only one printer but I have three entries:
* Raw mode (which is actually postscript) * Brother BR3 script * HP laserjet emulation
The printer can also handle Epson emulation s I could have a fourth entry, but why bother?
No. I am _not_ talking about multiple _printer_ entries. I am takling about multiple _options_ for the _same_ printer. So if I open the printing dialog from konqueror, I can choose a specific printer. On the right side of the printer menubutton, there is a button to configure options for that printer. When I press this button, I get a noteBook-Dialog where i can configure page borders. The second tab of this notebook contains extended options for the selected printer. And in _that_ tab, the "Media Size" option appears two times: once with "A4" and the second one with "US Letter". Please check the attached screen shot. The options "Media Size", "Halftone" and "Neutral Grays" appear multiple times with different values in that dialog. -- Josef Wolf jw@raven.inka.de
On 08/12/2014 11:12 AM, Josef Wolf wrote:
I have only one printer but I have three entries:
* Raw mode (which is actually postscript) * Brother BR3 script * HP laserjet emulation
The printer can also handle Epson emulation s I could have a fourth entry, but why bother? No. I am _not_ talking about multiple _printer_ entries.
I am takling about multiple _options_ for the _same_ printer.
If you read what I've written above about my SINGLE brother laserjet printer, the laserjet printer that has ... I think six different emulation modes, its the _same_ (physical) printer. Look again at the first words of each of those lines PageSize/Media Size: and HPBookletPageSize/Paper for Booklet: They are two distinct entries Try running lpoptions -l|grep Size | head -1 and you'll get the first line Later reposts seem to have remunged it all up into a single line. The way I have my brother set up I have only one feed, only one tray and only one possible type of paper, so I only need the one "PageSize" for all the emulation modes. If I had an envelope feed or a second tray feeding 'foolscap' I'd set it up with those additional entries. I do not know *WHY* you have the extra line for booklet printing. Perhaps it was in the .ppd when you set up your printer. I know about *MY* printer and its *.ppd* because I'm curious, have enough of a technical background, have read up about CUPS and others. I have decided to treat my setup with a KISS for a variety of reasons. While stability, integrity and resilience factor in to that, so does the matter of "I'm not a full time printer admin", so I have to relay on the notes I make. Moleskins are not enough; I have 3-ring binders that include web pages of 'how-to' and threads on various boards. Slowly they are migrating to Evernote :-) You can't grep dead paper but you can search Evernote :-) -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Aug 12, 2014 at 01:36:02PM -0400, Anton Aylward wrote:
On 08/12/2014 11:12 AM, Josef Wolf wrote:
I am takling about multiple _options_ for the _same_ printer.
If you read what I've written above about my SINGLE brother laserjet printer, the laserjet printer that has ... I think six different emulation modes, its the _same_ (physical) printer.
I know. But I am talking about the same _logical_ printer.
Look again at the first words of each of those lines
PageSize/Media Size:
and
HPBookletPageSize/Paper for Booklet:
Those are two different options. The first is displayed as "Media Size" the second is displayed as "Paper for Booklet". I am talking about two options displayed as "Media Size". Please check out the attached screen shot.
I do not know *WHY* you have the extra line for booklet printing. Perhaps it was in the .ppd when you set up your printer.
Yes, it is specified in the .ppd, but it is _not_ the option I am talking about. -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/12/2014 11:12 AM, Josef Wolf wrote:
On Tue, Aug 12, 2014 at 10:24:28AM -0400, Anton Aylward wrote:
On 08/12/2014 09:13 AM, Josef Wolf wrote:
Ideed, this is where the "Letter" setting came from. Is there any way to configure that from the command line?
Yes, use 'lpotions'
As I stated before, lpoptions settiongs seem to be ignored.
But I _still_ get _two_ "Media Size" option settings. At least, both show the same value now ("A4"). But IMHO, one of them should go away!
If you have two printer entries you will see those two entries.
You may have only one printer but ...
I have only one printer but I have three entries:
* Raw mode (which is actually postscript) * Brother BR3 script * HP laserjet emulation
The printer can also handle Epson emulation s I could have a fourth entry, but why bother?
No. I am _not_ talking about multiple _printer_ entries.
I am takling about multiple _options_ for the _same_ printer.
So if I open the printing dialog from konqueror, I can choose a specific printer. On the right side of the printer menubutton, there is a button to configure options for that printer. When I press this button, I get a noteBook-Dialog where i can configure page borders. The second tab of this notebook contains extended options for the selected printer. And in _that_ tab, the "Media Size" option appears two times: once with "A4" and the second one with "US Letter".
Please check the attached screen shot. The options "Media Size", "Halftone" and "Neutral Grays" appear multiple times with different values in that dialog.
I've experimented with my Brother. I can set it up like that :-) I can tell it that one tray has US-letter and the 2nd tray has European-A4. I had to put some metallic tape over a sensor because I don't actually have a 2nd physical tray :-) It doesn't seem that * Are you using CUPS? * what is your "Duplex unit"? is the software viewing that as tray 1 + tray 2 even if tray 3 is off * I have my printer network connected and can access it from the browser http://printer.localnet:8080 From there I can turn on/off emulations, feeds etc. Do you have that capability - direct access to printer? It is possible that this "duplicate" information only exists in CUPS. It is also possible that you have a really sophisticated setup an, as I imply above, has setups for each feeder, but us too stupid to realise that "Duplex unit" is there to flip -- as in 'double sided -- and is not actually "tray1 + tray2". Dunno, Just a thought. On my Brother its not called a 'duplex unit'. As to your screenshot ... When I get there I can doubleclick on the value and I get a pulldown to alter the value. Have you tried that? -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- That's what I love about GUIs: They make simple tasks easier, and complex tasks impossible. -- John William Chambless -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
What is contained in /etc/papersize? What is contained in /etc/sysconfig/language for RC_LC_PAPER=? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
What is contained in /etc/papersize?
That file does not exist.
What is contained in /etc/sysconfig/language for RC_LC_PAPER=?
RC_LC_PAPER="" Changing that doesn't have any effect. There are still _two_ "Media Size" options. The first shows "A4", the second "US Letter". -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/12/2014 08:59 AM, Josef Wolf wrote:
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
What is contained in /etc/papersize?
That file does not exist.
What is contained in /etc/sysconfig/language for RC_LC_PAPER=?
RC_LC_PAPER=""
Changing that doesn't have any effect. There are still _two_ "Media Size" options. The first shows "A4", the second "US Letter".
Have you tried changing it with lpoptions? # lpoptions --help Usage: lpoptions [-h server] [-E] -d printer lpoptions [-h server] [-E] [-p printer] -l lpoptions [-h server] [-E] -p printer -o option[=value] ... lpoptions [-h server] [-E] -x printer I tried turning 'tumble (aka double sided printing) on and off with my Brother and that worked. Do you have two printer entries? One of them Hplj compatible, the other something else/ -- [2001] saw an alarming rise in tea cosy accidents in Britain, up to 37 from 20 last year. -- New Scientist, quoting a government report. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-08-12 14:59 (GMT+0200) Josef Wolf composed:
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
What is contained in /etc/papersize?
That file does not exist.
Looks like its last use was in 12.1. :-p
What is contained in /etc/sysconfig/language for RC_LC_PAPER=?
RC_LC_PAPER=""
Changing that doesn't have any effect. There are still _two_ "Media Size" options. The first shows "A4", the second "US Letter".
Maybe for that to work it needs to be set before first login of each user, or before configuring any printers? When you goto yast printer configuration, has there been a default paper size selected? -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/12/2014 07:59 AM, Josef Wolf wrote:
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
What is contained in /etc/papersize? That file does not exist.
Try creating it and setting it to A4: I.e.: sudo bash -c 'echo a4 > /etc/papersize' I added it in 13.1 and cups and the rest happily default to (letter) on my system. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/13/2014 12:17 AM, David C. Rankin wrote:
On 08/12/2014 07:59 AM, Josef Wolf wrote:
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
What is contained in /etc/papersize? That file does not exist.
Try creating it and setting it to A4: I.e.:
sudo bash -c 'echo a4 > /etc/papersize'
I added it in 13.1 and cups and the rest happily default to (letter) on my system.
And this is documented .... Where? There's mention in the groff documentation that this file can be used, but it is a 'can be', as an example rather than a recommendation or part of how groff works. Grepping all under /usr/share I don't find any other mention. -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/13/2014 12:14 AM, Anton Aylward wrote:
On 08/13/2014 12:17 AM, David C. Rankin wrote:
On 08/12/2014 07:59 AM, Josef Wolf wrote:
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
> Where does the second (erroneous) "Media Size" setting in virtually all the > applications come from? Why won't those applications simply use the (correct) > setting from lpoptions?
What is contained in /etc/papersize? That file does not exist.
Try creating it and setting it to A4: I.e.:
sudo bash -c 'echo a4 > /etc/papersize'
I added it in 13.1 and cups and the rest happily default to (letter) on my system.
And this is documented .... Where?
There's mention in the groff documentation that this file can be used, but it is a 'can be', as an example rather than a recommendation or part of how groff works.
Grepping all under /usr/share I don't find any other mention.
In general 'man 5 papersize' (but not on my 13.1) so in general http://linux.die.net/man/5/papersize It has long been the default papersize setting for the system. openSuSE used to provide the file by default. The oldest box I can find running at the moment has it as: $ l /etc/papersize -rw-r--r-- 1 root root 7 2009-10-12 01:01 /etc/papersize $ cat /etc/SuSE-release openSUSE 10.3 (i586) VERSION = 10.3 $ rpm -q --whatprovides /etc/papersize groff-1.18.1.1-99 I was surprised to find it missing on 13.1. (well -- not really surprised I guess) So I just added it. There is no telling what all applications check for the existence of that file to get a default papersize. It should be described in wiki.opensuse.org/printing (if we had one :) Looking at man groff, I find that stray reference to `See groff_tmac(5) for the `papersize' macro package which provides a convenient interface.` But I've not dug to the bottom of that hole yet. I guess this is something that needs to be grepped through cupsd/cups as well as gnome-printer and kprinter to see what, if any, lingering hooks remain. (and then put them up on wiki.opensuse.org/printing :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-08-13 00:38 (GMT-0500) David C. Rankin composed:
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
What is contained in /etc/papersize?
The oldest box I can find running at the moment has it as:
$ l /etc/papersize -rw-r--r-- 1 root root 7 2009-10-12 01:01 /etc/papersize
$ cat /etc/SuSE-release openSUSE 10.3 (i586) VERSION = 10.3
# cat /etc/SuSE-release SUSE LINUX 10.0 (i586) VERSION = 10.0 LSB_VERSION="core-2.0-noarch:core-3.0-noarch:core-2.0-ia32:core-3.0-ia32" # ll /etc/papersize -rw-r--r-- 1 root root 7 Aug 14 2007 papersize # cat /etc/SuSE-release SuSE Linux 9.3 (i586) VERSION = 9.3 LSB_VERSION="core-2.0-noarch:core-2.0-ia32" # ll /etc/papersize -rw-r--r-- 1 root root 7 Dec 7 2006 papersize -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/13/2014 01:46 AM, Felix Miata wrote:
# cat /etc/SuSE-release SuSE Linux 9.3 (i586) VERSION = 9.3 LSB_VERSION="core-2.0-noarch:core-2.0-ia32" # ll /etc/papersize -rw-r--r-- 1 root root 7 Dec 7 2006 papersize
Don't make me fire up my old 9.0 box named blackbird - I'll do it! :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 2014-08-13 03:44 (GMT-0500) David C. Rankin composed:
Don't make me fire up my old 9.0 box named blackbird - I'll do it! :)
Do that and I'll have to see if my 8.2 box will still boot, or its extra SCSI HD with 8.1. :-) -- "The wise are known for their understanding, and pleasant words are persuasive." Proverbs 16:21 (New Living Translation) Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/13/2014 01:38 AM, David C. Rankin wrote:
And this is documented .... Where?
There's mention in the groff documentation that this file can be used, but it is a 'can be', as an example rather than a recommendation or part of how groff works.
Grepping all under /usr/share I don't find any other mention.
In general 'man 5 papersize' (but not on my 13.1) so in general http://linux.die.net/man/5/papersize It has long been the default papersize setting for the system. openSuSE used to provide the file by default.
Yes but is there anything that *requires* that file? Groff doesn't *require* it. As the documentation says, the papersize can be read from a file, any file, or can be specified inline in the document. The documentation on groff gives the example papersize /etc/papersize a4 meaning "First try reading papersize from the file '/etc/papersize'. If that fails then use A4". It could equally well be papersize ~/.papersize.def a4 or simply papaersize a4 There is no *necessity* for the file /etc/papersize to exist in order to specify the papaersize in groff. It seems someone realized that and it went away. So I ask that question above What else absolutely needs /etc/papersize and won't work unless it exists? -- /"\ \ / ASCII Ribbon Campaign X Against HTML Mail / \ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/13/2014 09:43 AM, Anton Aylward wrote:
So I ask that question above
What else absolutely needs /etc/papersize and won't work unless it exists?
Sorry for the late reply, But as you point out, nothing requires the specific filename /etc/papersize. It could be ~/.whatever as long as the apps knows to look there. I haven't looked into the history, and don't see having time for that curiosity in the near future. /etc/papersize was simply an old accepted location for storing the papersize that I'm sure came as the result of some LSB effort years ago... I know of no app that won't work without it, but as pointed out, some check for it in the series of alternate locations for papersize. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Tue, Aug 12, 2014 at 11:17:07PM -0500, David C. Rankin wrote:
On 08/12/2014 07:59 AM, Josef Wolf wrote:
On Mon, Aug 11, 2014 at 06:02:53PM -0400, Felix Miata wrote:
On 2014-08-11 15:11 (GMT+0200) Josef Wolf composed:
Where does the second (erroneous) "Media Size" setting in virtually all the applications come from? Why won't those applications simply use the (correct) setting from lpoptions?
What is contained in /etc/papersize?
That file does not exist.
Try creating it and setting it to A4: I.e.: sudo bash -c 'echo a4 > /etc/papersize'
The problem ist _not_ that the default is wrong. The problem is that there are _two_ settings for the "Media Size" option. One of them defaults to the correct setting (a4), the other to the wrong setting (Letter). Creating the /etc/papersize file has no effect on this wired behaviour. -- Josef Wolf jw@raven.inka.de -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 08/15/2014 08:24 AM, Josef Wolf wrote:
Creating the /etc/papersize file has no effect on this wired behaviour.
That does not surprise me at all. As far as I can see, since no-one else has presented any evidence to the contrary, the use of /etc/papersize was a side effect of the use of groff in a specific circumstance and is concerned with the application and formatting at the application level, not the printer driver. I still thing that *because* those entries, as I said the two separate lines, are in the .ppd this has to do with the capabilities of the hardware, for example alternative feed trays. Perhaps you could tell us more about the physical printer itself. Not necessarily what you have it configured for but what the capability the vendor designed it capable of doing. For example, my Brother printer has the capability for three trays as well as manual feed, envelope feed and two types of stacker. I _can_ tell it to do different feeds, for example first the envelope, then one page 'letter' then subsequent pages 'foolscap'. I can't imagine why I should want to, but apparently that can be done. The reality is that I have only the one tray, but the PPD says I can have three! Well bully for that! Perhaps you could also tell us if this is how the printer is or if this is just how CUPS has been set up and actually has nothing to do with the printer. Yes I know you have the screenshot from within Konqueror, but that's a very top level. What about the 'view' from other applications, gimp, acroread? What if you use some other browser to talk to CUPS? If the printer is network connected what about using a browser to look at how its configured at the lowest level? To my mind there are just too many unanswered issues here. Without knowing what's going on further down the stack we don't know why the way the the PPD supplied this has meaning. Right now, my suspicion is that, because it was in the PPD, it relates to a characteristic of the printer, but so what? One can write many PPDs for a printer that do or do not expose various characteristics of the underlying hardware. It is even possible that the PPD you got was 'wonky' and made up a characteristic that the printer doesn't have --- which is why I ask about viewing the printer i/f at a lower level, "in the raw". Until we have that firm information we are speculating in circles, -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (5)
-
Anton Aylward
-
David C. Rankin
-
Felix Miata
-
Josef Wolf
-
Simon Heimbach