LS,
In the past it was possible to set the font and size for printing when using the Kate editor. Nowadays I have to copy a RO template, but you can't specify the font or it's size to be used for printing.
Current, I have the font size for the editor set at 8 pt, because that is the size I want to print. For editing I have to increase the font (Ctrl-+) for every document manually to make it readable at all. Is there a better way to have the two different font sizes by default?
Regards, Frans.
* Frans de Boer frans@fransdb.nl [11-03-21 10:07]:
LS,
In the past it was possible to set the font and size for printing when using the Kate editor. Nowadays I have to copy a RO template, but you can't specify the font or it's size to be used for printing.
Current, I have the font size for the editor set at 8 pt, because that is the size I want to print. For editing I have to increase the font (Ctrl-+) for every document manually to make it readable at all. Is there a better way to have the two different font sizes by default?
what desktop what printer how do you print hplip/cups/...
I set print font in the printer app and applications fonts within the app or system wide display.
Frans de Boer composed on 2021-11-03 15:04 (UTC+0100):
In the past it was possible to set the font and size for printing when using the Kate editor. Nowadays I have to copy a RO template, but you can't specify the font or it's size to be used for printing.
Current, I have the font size for the editor set at 8 pt, because that is the size I want to print. For editing I have to increase the font (Ctrl-+) for every document manually to make it readable at all. Is there a better way to have the two different font sizes by default?
When I want to print a text file, I copy its content into a print template, in between the <pre></pre> tags, and adjust the print size and font in the template before printing the file from a web browser:
<!DOCTYPE html> <html LANG="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<title>Print Template</title>
<style type="text/css">
@media print { pre {font: 7pt monospace} }
@media screen { pre {font: medium sans-serif} }
</style>
</head>
<body>
<!--h1></h1-->
<pre></pre>
</body> </html>
On 11/4/21 11:04 AM, Felix Miata wrote:
In the past it was possible to set the font and size for printing when using the Kate editor. Nowadays I have to copy a RO template, but you can't specify the font or it's size to be used for printing. Current, I have the font size for the editor set at 8 pt, because that is the size I want to print. For editing I have to increase the font (Ctrl-+) for every document manually to make it readable at all. Is there a better way to have the two different font sizes by default?
When I want to print a text file, I copy its content into a print template, in between the <pre></pre> tags, and adjust the print size and font in the template before printing the file from a web browser:
Progress?
In the past (and current KDE3) kwrite/kate print in the font size selected in the editor. You can explicitly set the header and footer font size independently with the [Choose Font] butter under the Header/Footer tab of the print dialog.
If current kde isn't sending the selected font size information to the printer when you print -- that is a bug.
If you think the recent Qt5/6 debacle has been scary ... just wait until Gtk4 (no + in name anymore -- the teacher would no longer give it one when it was turned in for a grade...).
On 03/11/2021 15.04, Frans de Boer wrote:
LS,
In the past it was possible to set the font and size for printing when using the Kate editor. Nowadays I have to copy a RO template, but you can't specify the font or it's size to be used for printing.
Current, I have the font size for the editor set at 8 pt, because that is the size I want to print. For editing I have to increase the font (Ctrl-+) for every document manually to make it readable at all. Is there a better way to have the two different font sizes by default?
An alternative way would be to use a tool such as "a2ps", where the "--font-size=SIZE" options lets you choose the font size. It has many settings, see "man a2ps".
On 09/11/2021 08:27, David C. Rankin wrote:
On 11/4/21 11:04 AM, Felix Miata wrote:
In the past it was possible to set the font and size for printing when using the Kate editor. Nowadays I have to copy a RO template, but you can't specify the font or it's size to be used for printing. Current, I have the font size for the editor set at 8 pt, because that is the size I want to print. For editing I have to increase the font (Ctrl-+) for every document manually to make it readable at all. Is there a better way to have the two different font sizes by default?
When I want to print a text file, I copy its content into a print template, in between the <pre></pre> tags, and adjust the print size and font in the template before printing the file from a web browser:
Progress?
In the past (and current KDE3) kwrite/kate print in the font size selected in the editor. You can explicitly set the header and footer font size independently with the [Choose Font] butter under the Header/Footer tab of the print dialog.
If current kde isn't sending the selected font size information to the printer when you print -- that is a bug.
If you think the recent Qt5/6 debacle has been scary ... just wait until Gtk4 (no + in name anymore -- the teacher would no longer give it one when it was turned in for a grade...).
Yes, I can select the font size to be printed for the header/footer. Not for the body of the text, as it used to be in the past.
--- Frans
On 03/11/2021 16:05, Patrick Shanahan wrote:
- Frans de Boerfrans@fransdb.nl [11-03-21 10:07]:
LS,
In the past it was possible to set the font and size for printing when using the Kate editor. Nowadays I have to copy a RO template, but you can't specify the font or it's size to be used for printing.
Current, I have the font size for the editor set at 8 pt, because that is the size I want to print. For editing I have to increase the font (Ctrl-+) for every document manually to make it readable at all. Is there a better way to have the two different font sizes by default?
what desktop what printer how do you print hplip/cups/...
I set print font in the printer app and applications fonts within the app or system wide display.
Since I am talking about kate, the desktop must be KDE, right?
As stated before, in de past kate let you set the font and size before every print job. That is still possible for the header/footer, but no longer for the body of the text. It now uses the font and size you selected for the editor canvas. And using 8pt on an 4K monitor, makes is very hard to read, hence I have to magnify the text for every file.
--- Frans