Re: Printing with Konqueror. Small font size

2005-03-30 Thread Cousin Stanley
| you can add an extra dir to the KDEDIRS variable
| with you're local changes in there, that keeps
| the central location, and avoids the overwritten
| on upgrade problem
Bart 
  I'll give it a try 
  Thanks for the suggestion 
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Printing with Konqueror. Small font size

2005-03-30 Thread Cousin Stanley
| 
| ( or maybe put the user's CSS file into ~/.kde/share/apps/konqueror,
|   it doesn't matter, but it seems cleaner ).
|
| Be aware, that this is totally untested,
| and probably will screw up all configurations for all users.
Matej 
  Thanks for the info and the warning 
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Printing with Konqueror. Small font size

2005-03-29 Thread Matej Cepl
Cousin Stanley wrote:
But maybe for a multi-user environment,
a temporary fix in a central location
instead of a single fix to each of many
users $home might actually be preferable
and less hassle in the long run 

Even then I wouldn't mess with /usr/share/*/*.css, but rather either I would
this file to /etc/skel (for new users -- they can modify it later), or if
you need centralized stylesheet, then I would put stylesheet file somewhere
in /etc (/etc/kde3/local? or maybe /usr/local/share/something
or /usr/local/kde???) and then run (as root):

for user in /home/*; do
 echo '@import {/etc/kde3/konqueror/konqueror.css}'  \
  $user/.kde/konqueror.css
 sed -e s/UserStyleSheet=.*$/UserStyleSheet=\$user/.kde/konqueror.css' \
  $user/.kde/share/config/konquerorrc
 chown echo ${user:6} $user/.kde/share/config/konquerorrc \
  $user/.kde/konqueror.css
done

(or maybe put the user's CSS file into ~/.kde/share/apps/konqueror, it
doesn't matter, but it seems cleaner). Be aware, that this is totally
untested, and probably will screw up all configurations for all users.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
The politician attempts to remedy the evil by increasing the very
thing that caused the evil in the first place: legal plunder.
-- Frederick Bastiat



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-03-29 Thread cobaco (aka Bart Cornelis)
On Monday 28 March 2005 23:52, Cousin Stanley wrote:
Thanks for the reminder that modifying the CSS
in a central location would be overwritten
by subsequent KDE upgrades 

  /usr/share/doc/kde/HTML/en/common/kde-default.css

you can add an extra dir to the KDEDIRS variable with you're local changes 
in there, that keeps the central location, and avoids the overwritten on 
upgrade problem
-- 
Cheers, cobaco (aka Bart Cornelis)
  
1. Encrypted mail preferred (GPG KeyID: 0x86624ABB)
2. Plain-text mail recommended since I move html and double
format mails to a low priority folder (they're mainly spam)


pgp2Po8re0mqU.pgp
Description: PGP signature


Re: Printing with Konqueror. Small font size

2005-03-28 Thread Cousin Stanley
To the bottom of the file 

  /usr/share/doc/kde/HTML/en/common/kde-default.css

| Just one more comment -- this is actually pretty dumb to do,
| I mean, to add your configuration stuff to the file
| which will be overwritten on the next upgrade of KDE.
|
| Put just your own lines into some separate file under $HOME
| ( what about ~/.kde/konqueror.css? ).
|
| Moreover, the file itself warns you against this
| (albeit in for you less interesting case of localization changes ) :
|
|   Important note :
|
| these setting may be overridden by localised CSS.
| Do not add here any localization-sensitive style
| declarations.
Cousin Matej 
  I haven't thought much about this problem
  since the original discussion here,
  until today when I noticed a post on another NG
  asking about small-font printing problems
  from Konqueror with a Canon printer in the
  same family as the one I use 
  Thanks for the reminder that modifying the CSS
  in a central location would be overwritten
  by subsequent KDE upgrades 
/usr/share/doc/kde/HTML/en/common/kde-default.css
  In view of potentially wiping out such a local fix
  with subsequent upgrades, for a single user system,
  such as the one I'm using, I can see how this could
  perhaps fall into the dumb-zone 
  But maybe for a multi-user environment,
  a temporary fix in a central location
  instead of a single fix to each of many
  users $home might actually be preferable
  and less hassle in the long run 
  I now have the local fix turned off
  and since I'm currently printing very little,
  I've just been dealing with it on a case-by-case
  basis as needed 
  I'd be interested in your views
  before I point anyone else toward
  this thread 
  Thanks again for your feedback 
  It's much appreciated 
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Printing with Konqueror. Small font size

2005-02-11 Thread Matej Cepl
Cousin Stanley wrote:
  style
  @media print { body {  } }
  style

What in the world prevents you from putting '@media print' line into your
style-sheet referred in the Control Center? Something like this?

 a[rel~=nofollow] {
  text-decoration: line-through ! important;
  border-bottom: dotted thin gray ! important;
  color: gray ! important
 }
 @media print {
  body {
   font-size: x-large;
  }
 }

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Why do you sit there looking like an envelope without any address
on it?
  -- Mark Twain



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-02-11 Thread Cousin Stanley
| What in the world prevents you from putting '@media print' line
| into your style-sheet referred in the Control Center?
| 
Cousin Matjec 
  The only thing I can think of that was preventing me
  from doing this was  *me*  being  *too dumb*
  to go ahead and stick it in there 
  I added the following line 
@media print { body { font-size :  x-large ; } }
  To the bottom of the file 
/usr/share/doc/kde/HTML/en/common/kde-default.css
  Now all is well 
  Successfully printed a  man:xyzzy  page from Konquer
  with fonts printed large enough to easily read  
  Thanks very much for the suggestion and for your persistence
  in pushing me in the right direction 
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Printing with Konqueror. Small font size

2005-02-11 Thread Matej Cepl
Cousin Stanley wrote:
 Cousin Matjec 

It is actually Matej ...

To the bottom of the file 
 
  /usr/share/doc/kde/HTML/en/common/kde-default.css
 

Just one more comment -- this is actually pretty dumb to do, I mean, to add
your configuration stuff to the file which will be overwritten on the next
upgrade of KDE. Put just your own lines into some separate file under $HOME
(what about ~/.kde/konqueror.css?).

Moreover, the file itself warns you against this (albeit in for you less
interesting case of localization changes):

Important note: these setting may be overridden by localised CSS.  Do not
   add here any localization-sensitive style declarations.



Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Roses are red;
Violets are blue.
I'm schizophrenic,
And so am I.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Printing with Konqueror. Small font size

2005-02-10 Thread Josh Metzler
On Wednesday 09 February 2005 02:55 pm, Cousin Stanley wrote:
 | I did mean a PDF printed out of Konqueror,
 | just in case I wasn't clear.
 |
 | So Konqueror = PDF = Printer works OK,
 |
 | but Konqueror = Printer gets the small fonts?

 Curt 

I did open the  .pdf  file in Konqueror
and print from it 

You have it right for me 

  o konq  print  pdf .. { ok }

  o konq  print  man:xyzzy  { small fonts }

  o konq  print  html . { small fonts }

However, Cousin Leo has posted now
that the pdf also is printing small fonts
on his system 

I think what Leo was talking about was opening the web page in Konqueror (the 
same one that gives small fonts when you print to paper), selecting Print... 
from the File menu, and then choosing Print to File (PDF) as the printer to 
use.  Then see if the resulting pdf has small fonts in it.

Josh


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-02-09 Thread Leopold Palomo-Avellaneda
A Dimecres 09 Febrer 2005 06:19, Cousin Stanley va escriure:
 | I'm a bit desesperately because in some pages when I try to print it
 | with konqueror the font size is very small, and I don't know how
 | to change it.
 |
 | I can see very well the page on the screen, but if i want to print it,
 | then all is very small.
 |
 | Also, I have noticed that sole paragraph lines are bad adjusted
 | on the printed page.
 |
 | Please, someone knows how to change, repair this??

I've encountered this exact problem just today
using Debiand Sarge with KDE 3.3.2 
The same


Adding the following  CSS  code in the head section
to a few pages that I have tested has seemed to work 

  style type=text/css 
  @media print { body { font-size :  x-large ; } }
  /style

where exactly?

However, when I first noticed the problem I was attempting
to print a few  man  pages from Konqueror by using
man:xyzzy in the Konqueror address bar 

Ok, it's a great feature. Works fine here.

A few attempts to try the above fix with the temporary html file
that is generated in this case did  not  work for me as the edited
source code for the temp file is lost when the page is refreshed 
Any clues would be appreciated 

The big question that I have found is that i a problem in konqueror or a no 
feature. Konqueror calculate the fontsize of the print looking the size of 
its windows. You have different print-size in function of the size of the 
windows where konqueror is executing. Please, test it.

So, or you use a homemade css style selected in the config section, or wait 
till a new version of konqueror with an option about the print font size. The 
kde team know that this is a problem 

http://bugs.kde.org/show_bug.cgi?id=75657#c6

However, I reopen the bug.

Leo

-- 
--
Linux User 152692
Catalonia


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-02-09 Thread Cousin Stanley
 
 Adding the following  CSS  code in the head section
 to a few pages that I have tested has seemed to work 

style type=text/css 
@media print { body { font-size :  x-large ; } }
/style

 where exactly?
Leo 
  You should be able to place those lines in the HTML document
  between the tags  head . /head 
  If you already have other 
style  /style  or 
link rel=stylesheet href=/xPath/yFile.css type=text/css
  Then, make sure the lines you add  *follow*
  any previously existing ones 
  That is, the lines you add should be the  *last*  ones
  before the  /head  tag 
| 
| The kde team know that this is a problem
|
| http://bugs.kde.org/show_bug.cgi?id=75657#c6
  Thanks for letting me know this is a known problem 
  I hadn't checked the bug lists as yet 
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Printing with Konqueror. Small font size

2005-02-09 Thread Leopold Palomo-Avellaneda
A Dimecres 09 Febrer 2005 12:15, Cousin Stanley va escriure:
   
   Adding the following  CSS  code in the head section
   to a few pages that I have tested has seemed to work 
  
  style type=text/css 
  @media print { body { font-size :  x-large ; } }
  /style
  
   where exactly?

 Leo 
You should be able to place those lines in the HTML document
between the tags  head . /head 

If you already have other 

  style  /style  or 

  link rel=stylesheet href=/xPath/yFile.css type=text/css

Then, make sure the lines you add  *follow*
any previously existing ones 

That is, the lines you add should be the  *last*  ones
before the  /head  tag 
Hi Stanley,

I suspect that. But I don't think that it's a good idea to download every 
page that I want to print, modify it and then print :-)

 | 
 | The kde team know that this is a problem
 |
 | http://bugs.kde.org/show_bug.cgi?id=75657#c6

Thanks for letting me know this is a known problem 

I hadn't checked the bug lists as yet 

Well, maybe they consider that a wishlist. I think that it's an important 
question.

Regards

Leo
-- 
--
Linux User 152692
Catalonia


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-02-09 Thread Cousin Stanley
| I suspect that. But I don't think that it's a good idea
| to download every page that I want to print, modify it
| and then print
  I totally agree as this would indeed be a pain 
  However, it's a quick fix for pages
  that you might need printed in a hurry 
| Well, maybe they consider that a wishlist.
|
| I think that it's an important question.
  So do I and hopefully the problem will be fixed
  sooner rather than later 
  I was hoping someone might suggest a central point
  somewhere in the KDE configs that would be amenable
  to accepting the CSS required to change the print
  attributes 
  When using  man:xyzzy  in Konqueror and viewing the source
  of the page rendered, I found a KDE default CSS file
  that could be edited if desired at 
 /usr/share/doc/kde/HTML//en/common/kde-default.css
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Printing with Konqueror. Small font size

2005-02-09 Thread Curt Howland
Interesting problem. Is it also happening when printing to a PDF?

On Wednesday 09 February 2005 08:52, Cousin Stanley was heard to say:
I was hoping someone might suggest a central point
somewhere in the KDE configs that would be amenable
to accepting the CSS required to change the print
attributes 

-- 
September 11th, 2001
The proudest day for gun control and central 
planning advocates in American history


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-02-09 Thread Matej Cepl
Cousin Stanley wrote:
When using  man:xyzzy  in Konqueror and viewing the source
of the page rendered, I found a KDE default CSS file
that could be edited if desired at 
 
   /usr/share/doc/kde/HTML//en/common/kde-default.css

Control Panel/Internet  Network/Web browser/Stylesheets (or something like
that, I have localized KDE) and there you can specify your own CSS file
which is used by knoqueror per default. I have there for example:

 a[rel~=nofollow] {
 text-decoration: line-through ! important;
 border-bottom: dotted thin gray ! important;
 color: gray ! important
 }

(read what '! important' means, for example on
http://www.htmlhelp.com/reference/css/structure.html.

Matej

-- 
Matej Cepl, http://www.ceplovi.cz/matej
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Thank you for sending me a copy of your book; I'll waste no time
reading it.
  -- Moses Hadas



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-02-09 Thread Cousin Stanley
| Interesting problem.
|
| Is it also happening when printing to a PDF?
Curt ...
  No 
 I have a  .pdf  file now coming off the printer
 and it looks perfect 
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Printing with Konqueror. Small font size

2005-02-09 Thread Leopold Palomo-Avellaneda
A Dimecres 09 Febrer 2005 16:48, Cousin Stanley va escriure:
 | Interesting problem.
 |
 | Is it also happening when printing to a PDF?

 Curt ...

No 

   I have a  .pdf  file now coming off the printer
   and it looks perfect 

to me yes .

look on the file attached in the :
http://bugs.kde.org/show_bug.cgi?id=98919

Leo


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-02-09 Thread Curt Howland
I did mean a PDF printed out of Konqueror, just in case I wasn't 
clear.

So Konqueror = PDF = Printer works OK,

but Konqueror = Printer gets the small fonts?

Curt-

On Wednesday 09 February 2005 10:48, Cousin Stanley was heard to say:
 | Interesting problem.
 |
 | Is it also happening when printing to a PDF?

 Curt ...

No 

   I have a  .pdf  file now coming off the printer
   and it looks perfect 


 --
 Stanley C. Kitching
 Human Being
 Phoenix, Arizona

-- 
September 11th, 2001
The proudest day for gun control and central 
planning advocates in American history


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Printing with Konqueror. Small font size

2005-02-09 Thread André Wöbbeking
On Wednesday 09 February 2005 18:55, Curt Howland wrote:
 I did mean a PDF printed out of Konqueror, just in case I wasn't
 clear.

 So Konqueror = PDF = Printer works OK,

 but Konqueror = Printer gets the small fonts?

Probably PDF and Screen have nearly the same resolution but Printer 
works AFAIK with 600 DPI.


André



Re: Printing with Konqueror. Small font size

2005-02-09 Thread Cousin Stanley
| I did mean a PDF printed out of Konqueror,
| just in case I wasn't clear.
|
| So Konqueror = PDF = Printer works OK,
|
| but Konqueror = Printer gets the small fonts?
Curt 
  I did open the  .pdf  file in Konqueror
  and print from it 
  You have it right for me 
o konq  print  pdf .. { ok }
o konq  print  man:xyzzy  { small fonts }
o konq  print  html . { small fonts }
  However, Cousin Leo has posted now
  that the pdf also is printing small fonts
  on his system 
--
Stanley C. Kitching
Human Being
Phoenix, Arizona
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]