File: printing.xml

package info (click to toggle)
gnumeric 1.6.3-5.1%2Betch2
  • links: PTS
  • area: main
  • in suites: etch
  • size: 70,644 kB
  • ctags: 18,973
  • sloc: ansic: 204,271; xml: 47,128; sh: 8,917; makefile: 2,540; yacc: 1,137; perl: 179; python: 86
file content (604 lines) | stat: -rw-r--r-- 17,820 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
<sect1 id="sect-printing">
  <title>Printing to a Printer or a File.</title>

  <para>
    The <interface>Print dialog</interface> includes the most important options
    related to printing. More detailed options related to printing can be set
    in the <interface> Page Setup dialog</interface>, detailed in
    <xref linkend="sect-printing-setup" /> Press the
    <guibutton>Print</guibutton> to print out the workbook. Press the
    <guibutton>Print Preview</guibutton> button to display the
    <interface>Print Preview dialog</interface>.
  </para>

  <para>
    The <interface>Print dialog</interface> has 3 tabs that include 
    different groups of options.
  </para>

  <figure id="print-workbook-printer-fig">
    <title><interface>Print Dialog Printer Tab</interface></title>
    <mediaobject>
      <imageobject>
	<imagedata format="PNG"
		   fileref="figures/print-worksheet-printer.png" />
      </imageobject>
    </mediaobject>
  </figure>

  <para>
    Normally you  want to select <guimenuitem>Generic Postscript</guimenuitem> 
    as <interface>Printer</interface> and the appropriate printer name as 
    <interface>Location</interface>.
    Then click on <interface>Print</interface> to send the document to your
    printer. 
  </para>
  <para>
    You can also send the printed document to a
    <keycap>postscript</keycap> file by selecting 
    <guimenuitem>File</guimenuitem> as <interface>Location</interface> and
    specifying an appropriate output file.
  </para>

  <figure id="print-workbook-job-fig">
    <title><interface>Print Dialog Job Tab</interface></title>
    <mediaobject>
      <imageobject>
	<imagedata format="PNG"
		   fileref="figures/print-worksheet-job.png" />
      </imageobject>
    </mediaobject>
  </figure>

  <para>
    In the <guimenuitem>Job</guimenuitem> tab you may also select a multiple number of copies, or specify which sheets to print. Choose Selection to print just the range of cells currently selected on the active sheet. 
  </para>

  <figure id="print-workbook-paper-fig">
    <title><interface>Print Dialog Paper Tab</interface></title>
    <mediaobject>
      <imageobject>
	<imagedata format="PNG"
		   fileref="figures/print-worksheet-paper.png" />
      </imageobject>
    </mediaobject>
  </figure>

  <para>
    In the <guimenuitem>Paper</guimenuitem> tab you can select the paper size 
    used for printing, the page orientation and the layout. The layout 
    specification allows to print several logical pages on the same physical 
    sheet of paper.
    If you need to change your margins, scale the output to fit
    properly onto your page or customize the page footers or headers, 
    see the <xref linkend="sect-printing-setup" />
  </para>

</sect1>



<sect1 id="sect-printing-setup">
  <title>Page Setup.</title>
  <para>
    The <interface>Page Setup Dialog</interface> can be used to
    configure various options related to printing out a
    workbook. Click on <menuchoice> <guimenu>File Menu</guimenu>
    <guimenuitem>Page Setup</guimenuitem> </menuchoice> to activate
    the <interface>Page Setup</interface>.
  </para>

  <tip>
    <title>TIP</title>

    <para>
      Remember that at any time you can click on the <interface>Print
      preview</interface> button to see what your document looks like
      with your selected options. See the <xref
      linkend="sect-printing-preview" />
    </para>
  </tip> 

  <para>
    Normally the specified settings apply only to the current sheet. 
    Select another sheet at the bottom of the 
    <interface>Page Setup Dialog</interface> or select 
    <guilabel>Apply to all sheets of this workbook.</guilabel>
  </para>


  <sect2 id="print-setup-page">
    <title>Page Setup Dialog - Page</title>

    <figure id="print-setup-page-fig">
     <title><interface>Page Setup Dialog - Page</interface></title>
      <mediaobject>
	<imageobject>
	  <imagedata fileref="figures/printing-setup-page.png"
	  format="PNG" srccredit="Thomas Miesbauer" />
	</imageobject>
      </mediaobject>
    </figure>

    <para>
      Select the paper size and page orientation (portrait or landscape)
      to suit the best layout for your document.
    </para>

    <para>
      Specify the required margins of the page. Nothing  will be printed 
      inside these margins, not even page numbers.
    </para>
    <para>
    The margins will be measured in the same units (centimetres, millimetres,
    points or inches) as the paper size. Change the unit in the paper and 
    layout section to best fit your needs.
    </para>

    <para>
    Change the scale your image to fit it to your page size
    suitably. The scaling can both enlarge and diminish the size of
    your printed document. 
    </para>

    <para>
      Select the <interface>Fit to</interface> option to have the document 
      automatically scaled. When scaling, the aspect ratio will be preserved.
      Therefore less pages than specified might be printed.
    </para>

    <para>
      You may also specify whether the page is centered horizontally 
      and/or vertically on the printable part of the page.
    </para>
  </sect2>

  <sect2 id="print-setup-header">
    <title>Page Setup Dialog - Headers and Footers</title>

    <figure id="print-setup-header-fig">
      <title><interface>Print Dialog - Headers and Footers</interface></title>
      <mediaobject>
	<imageobject>
	  <imagedata fileref="figures/printing-setup-header.png"
	  format="PNG" srccredit="Thomas Miesbauer" />
	</imageobject>
      </mediaobject>
    </figure>

    <para>
      Select the space available for the header and footer. If you do not 
      provide sufficient space for the header and footer, they will not 
      print even if you chose a style for them.  
    </para>

    <para>
      Click on the option menu to choose from a range of different
      header and footer styles.  
    </para>
    <tip>
      <title>TIP</title>

      <para>
        You can choose the font in which the header and footer is printed by
        selecting a default header/footer font the preferences (see in <xref
        linkend="sect-configuration-preferences" />).
      </para>
    </tip> 

    <para>
      Customize the header or footer by
      choosing the last option on the menu. 
    </para>
    
    <tip>
      <title>TIP</title>

      <para>
	Double clicking on the header or footer preview will quickly
	allow you to customize that header or footer.
      </para>
    </tip> 
    
  </sect2>


  <sect2 id="print-setup-header-config">
    <title>Customizing Headers and Footers</title>

    <figure id="print-setup-header-config-fig">
      <title><interface>Print Dialog - Customize Header/Footer</interface>
      </title>

      <mediaobject>
	<imageobject>
	  <imagedata fileref="figures/printing-setup-header-config.png"
		     format="PNG" srccredit="Thomas Miesbauer" />
	</imageobject>
      </mediaobject>	
    </figure>

    <para>
      Enter what text you would like to appear in the header or
      footer. There are a number of special <keycap>opcodes</keycap>
      for common options. These are:
    </para>

    <variablelist>
      <varlistentry>
	<term>&amp;[TAB]</term>
	<listitem>
	  <para>
	    Name of the workbook.
	  </para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term>&amp;[PAGE]</term>
	<listitem>
	  <para>
	    Page number in the printing.
	  </para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term>&amp;[PAGES]</term>
	<listitem>
	  <para>
	    Total number of pages in the printout.
	  </para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term>&amp;[DATE]</term>
	<listitem>
	  <para>
	    Current date in format dd-mmm-yyyy. 
            The format can be changed by specifying the desired format in the opcode: 
            <literal>&amp;[DATE:yyyy/mm/dd]</literal>.
	  </para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term>&amp;[TIME]</term>
	<listitem>
	  <para>
	    Current time in format hh:mm.  
            The format can be changed by specifying the desired format in the opcode: 
            <literal>&amp;[TIME:hh:mm:ss]</literal>.
	  </para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term>&amp;[FILE]</term>
	<listitem>
	  <para>
	    The basename of the file. For the file <literal>/home/jdoe/file.gnumeric</literal>, 
            this opcode prints <literal>file.gnumeric</literal>.
	  </para>
	</listitem>
      </varlistentry>
      <varlistentry>
	<term>&amp;[PATH]</term>
	<listitem>
	  <para>
	    The path of the file excluding the basename. 
            For the file <literal>/home/jdoe/file.gnumeric</literal>, this opcode prints 
            <literal>/home/jdoe/</literal>.
	  </para>
	</listitem>
      </varlistentry>
    </variablelist>
  </sect2>
  
  <sect2 id="print-setup-sheet">
    <title>Page Setup Dialog - Sheet</title>

      <figure id="print-setup-sheet-fig">
	<title><interface>Page Setup Dialog - Sheet</interface></title>
	<mediaobject>
	  <imageobject>
	    <imagedata fileref="figures/printing-setup-sheet.png"
		       format="PNG" srccredit="Thomas Miesbauer" />
	  </imageobject>
	</mediaobject>
      </figure>
    <para>
      You can select rows or columns to be printed on every page of
      the output. This is commonly used for printing column or row
      names. To enable this, enter the range of cells to be
      repeated in <guilabel>Rows to repeat...</guilabel> or
      <guilabel>Columns to repeat..</guilabel> field. Instead of
      entering them manually, you can also select columns or rows to
      be repeated using the mouse. 
    </para>

    <warning>
      <title>WARNING</title>

      <para>
        Note that the rows and columns must be entered as ranges. 
        That is, if you want to have first row repeated, you
        must enter <literal>1:1</literal>, not just
        <literal>1</literal>. Similarly, to have column
        <literal>A</literal> repeated, you must enter
        <literal>A:A</literal>.
      </para>
    </warning>

    <para>
      Select <interface>Grid lines</interface> to print the cell
      grid lines with your document. Unselect the button to hide
      the grid lines from your print output.
    </para>

    <para>
      Select <interface>Black and white</interface> to convert the
      colours in your document to a greyscale range.
    </para>

    <para>
      Select <interface>Styles with no content</interface> to
      ensure cells with style changes will be printed, even if
      they are empty. For example, if you have a number of cells
      with the background color changed but no data in them, you
      can select this option to ensure they are in the printed
      output.
    </para>

  </sect2>

</sect1>



<sect1 id="sect-printing-preview">
  <title>Print Preview.</title>

  <para>
    The <interface>Print Preview Dialog</interface> is used to display
    what the printed output will look like. The Print Preview dialog
    can be used to check whether you have the desired formatting and
    layout before you print out the workbook. 
  </para>

  <figure id="print-preview-fig">
    <title><interface>Print Preview Dialog</interface></title>
    <mediaobject>
      <imageobject>
	<imagedata fileref="figures/printing-preview.png" format="PNG"
		   srccredit="Thomas Miesbauer" />
      </imageobject>
    </mediaobject>
  </figure>

  <sect2 id="menu-bar">
    <title>Menu Bar</title>
    <variablelist>
      <varlistentry>
      <term><guimenu>View</guimenu></term>
      <listitem>
	<para>
	  This menu contains:
	  <itemizedlist>
	    <listitem>
	      <para>
		<guimenuitem>First Page</guimenuitem>
		&mdash;Shows the first page in the workbook.
	      </para>
	    </listitem>
	    <listitem>
	      <para>
		<guimenuitem>Previous Page</guimenuitem>
		&mdash;Shows the previous page in the workbook.
	      </para>
	    </listitem>
	    <listitem>
	      <para>
		<guimenuitem>Next Page</guimenuitem>
		&mdash;Shows the next page in the workbook.
	      </para>
	    </listitem>
	    <listitem>
	      <para>
		<guimenuitem>Last Page</guimenuitem>
		&mdash;Shows the last page in the workbook.
	      </para>
	    </listitem>
	    <listitem>
	      <para>
		<guimenuitem>Zoom in</guimenuitem>
		&mdash;Zooms the current page in, showing more detail.
	      </para>
	    </listitem>
	    <listitem>
	      <para>
		<guimenuitem>Zoom out</guimenuitem>
		&mdash;Zooms the current page out, showing less detail.
	      </para>
	    </listitem>
	  </itemizedlist>
	</para>
      </listitem>
    </varlistentry>
  </variablelist>
</sect2>
 
 <sect2>
   <title>Toolbar</title>
   <variablelist>
      <varlistentry>
        <term>
          <guiicon>
            <inlinemediaobject>
              <imageobject>
                <imagedata fileref="figures/print-large.png" format="PNG" />
            </imageobject>
            <textobject>
              <phrase>An image of the print toolbar button.</phrase>
            </textobject>
           </inlinemediaobject>
            Print
          </guiicon>
        </term>
        <listitem>
          <para>Prints the current worksheet to a file or a printer.</para>
        </listitem>
      </varlistentry>

       <varlistentry>
        <term>
          <guiicon><inlinemediaobject>
              <imageobject>
                <imagedata fileref="figures/print-preview-first.png" />
            </imageobject>
            <textobject>
              <phrase>An image of the print preview toolbar move to
              the first page button.</phrase>
            </textobject>
           </inlinemediaobject>
          First
          </guiicon>
        </term>
        <listitem>
          <para>Show the first page in the workbook.</para>
        </listitem>
      </varlistentry>

        <varlistentry>
        <term>
          <guiicon><inlinemediaobject>
              <imageobject>
                <imagedata fileref="figures/print-preview-back.png" />
            </imageobject>
            <textobject>
              <phrase>An image of the print preview toolbar move back
              button.</phrase>
            </textobject>
           </inlinemediaobject>
          Back
          </guiicon>
        </term>
        <listitem>
          <para>Show the previous page in the workbook.</para>
        </listitem>
      </varlistentry>
 
        <varlistentry>
        <term>
          <guiicon><inlinemediaobject>
            <imageobject>
              <imagedata fileref="figures/print-preview-next.png" />
            </imageobject>
            <textobject>
              <phrase>An image of the print preview toolbar next page
              button.</phrase>
            </textobject>
           </inlinemediaobject>
          Next
          </guiicon>
        </term>
        <listitem>
          <para>Show the next page in the workbook.</para>
        </listitem>
      </varlistentry>

         <varlistentry>
        <term>
          <guiicon><inlinemediaobject>
            <imageobject>
              <imagedata fileref="figures/print-preview-last.png" />
            </imageobject>
            <textobject>
              <phrase>An image of the print preview toolbar last page
              button.</phrase>
            </textobject>
           </inlinemediaobject>
          Last
          </guiicon>
        </term>
        <listitem>
          <para>Show the last page in the workbook.</para>
        </listitem>
      </varlistentry>
  
       <varlistentry>
        <term>
          <guiicon><inlinemediaobject>
            <imageobject>
              <imagedata fileref="figures/print-preview-zoomin.png" />
            </imageobject>
            <textobject>
              <phrase>An image of the print preview toolbar zoom in
              button.</phrase>
            </textobject>
           </inlinemediaobject>
          Zoom in
          </guiicon>
        </term>
        <listitem>
          <para>Zooms the current page in, showing greater detail.</para>
        </listitem>
      </varlistentry>

       <varlistentry>
        <term>
          <guiicon><inlinemediaobject>
            <imageobject>
              <imagedata fileref="figures/print-preview-zoomout.png" />
            </imageobject>
            <textobject>
              <phrase>An image of the print preview toolbar zoom out
              button.</phrase>
            </textobject>
           </inlinemediaobject>
          Zoom out
          </guiicon>
        </term>
        <listitem>
          <para>Zooms the current page out, showing less detail.</para>
        </listitem>
      </varlistentry>

      <varlistentry>
        <term>
          <guiicon><inlinemediaobject>
            <imageobject>
              <imagedata fileref="figures/print-preview-fitonetoone.png" />
            </imageobject>
            <textobject>
              <phrase>An image of the print preview toolbar zoom to
              fit at one to one scale button.</phrase>
            </textobject>
           </inlinemediaobject>
          Fit at one to one scale.
          </guiicon>
        </term>
        <listitem>
          <para>Fits the page at full resolution.</para>
        </listitem>
      </varlistentry>

       <varlistentry>
        <term>
          <guiicon><inlinemediaobject>
            <imageobject>
              <imagedata fileref="figures/print-preview-fit.png" />
            </imageobject>
            <textobject>
              <phrase>An image of the print preview toolbar zoom to fit
              button.</phrase>
            </textobject>
           </inlinemediaobject>
          Fit
          </guiicon>
        </term>
        <listitem>
          <para>Fits the whole page into the screen space.</para>
        </listitem>
      </varlistentry>


   </variablelist>
  </sect2>
</sect1>