summaryrefslogtreecommitdiff
path: root/FL/Fl_Printer.H
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2015-01-19 14:16:18 +0000
committerManolo Gouy <Manolo>2015-01-19 14:16:18 +0000
commit4e53b4f61617b6d8827241ea14d526071565a349 (patch)
treeefee16e1f1910e29c66f91598cf47861fd658684 /FL/Fl_Printer.H
parent07eaf2810a6e05ab5a394aaf13708990d8938b9a (diff)
Documented how it is possible to change the default paper size for a printer on the Unix/Linux platform.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10526 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Printer.H')
-rw-r--r--FL/Fl_Printer.H7
1 files changed, 6 insertions, 1 deletions
diff --git a/FL/Fl_Printer.H b/FL/Fl_Printer.H
index d7840dcfe..0b53c49e0 100644
--- a/FL/Fl_Printer.H
+++ b/FL/Fl_Printer.H
@@ -130,7 +130,12 @@ public:
<p><b>Platform specifics</b>
<ul>
<li>Unix/Linux platforms:
- Class Fl_RGB_Image prints but loses its transparency if it has one.
+ Unless it has been previously changed, the default paper size is A4.
+ To change that, press the "Properties" button of the "Print" dialog window
+ opened by an Fl_Printer::start_job() call. This opens a "Printer Properties" window where it's
+ possible to select the adequate paper size. Finally press the "Save" button therein to assign
+ the chosen paper size to the chosen printer for this and all further print operations.
+ <br>Class Fl_RGB_Image prints but loses its transparency if it has one.
See class Fl_PostScript_Graphics_Driver for a description of how UTF-8 strings appear in print.
Use the static public attributes of this class to set the print dialog to other languages
than English. For example, the "Printer:" dialog item Fl_Printer::dialog_printer can be set to French with: