~ubuntu-branches/ubuntu/utopic/gutenprint/utopic

« back to all changes in this revision

Viewing changes to doc/gutenprint/html/group__papersize.html

  • Committer: Package Import Robot
  • Author(s): Till Kamppeter
  • Date: 2012-02-14 22:41:51 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120214224151-81lkvr2cow0u55f5
Tags: 5.2.8~pre1-0ubuntu1
* New upstream release
  - Added support for Canon BJC 4550, S330, S520, S530D, S630, S750, S820,
    S830D, S900, S9000, PIXMA mini220, mini320, mini360, i50, i70, i450,
    i455, i470D. i550, i900D, i950, i960, i6100, i6500, i9100, i9900,
    iP3300, iP3500, iP3600, iP4900, iP6210D, iP6220D, iP6310D, iP7100,
    iP7500, iP8100, iP8600, iP9910, MP140, MP190, MP210, MP240, MP375R,
    MP470, MP490, MP530, MP900, MG2100, MG3100, MG4100, MG5300, MG6200,
    MG8200, EPSON ME Office 940FW, PX 204, PX 504A, Stylus CX3900, NX530,
    NX635, SX535WD, Stylus Office BX535WD, BX630FW, BX635FWD, TX620FWD,
    Stylus Photo RX650, WorkForce 545, 630, 645, Stylus Pro 7900/9900
    (Partial -- no orange/green inks).
  - Printers redefined: Canon BJC 3000, S300, S500, S600, S800, PIXMA i80,
    i560, i850, i860, i865, iP2000, iP4100, iP5000, MP600, MP750, MP760,
    MP770, MP780, MP790, MP970
  - Support for the following printers was greatly improved, or tested:
    Canon PIXMA MP700, MP710, MP730, MP740, MP950, MP960, MX340, MX350,
    iP4000, MG5100
  - Canon BJC series printers using photo cartridge have printing modes
    added that will select this cartridge.
  - A crash with the EPSON Stylus Photo R3000 has been fixed.
  - Chinese (Mandarin), Galician, and Ukrainian translations have
    been added.
* debian/patches/0001-patch-stdio.h-is-required-by-commandtoepson-and-comm.patch:
  Removed, applied upstream.
* 0002-genppd-don-t-write-color-profile-information-with-br.patch: Refreshed
  with quilt.
* debian/printer-driver-gutenprint.ppd-updater,
  debian/foomatic-db-gutenprint.ppd-updater: Support also pre-releases with
  "-preX" version number extension.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
5
6
<title>libgutenprint API Reference: papersize</title>
 
7
 
6
8
<link href="tabs.css" rel="stylesheet" type="text/css"/>
7
 
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
9
<link href="doxygen.css" rel="stylesheet" type="text/css" />
 
10
 
 
11
 
 
12
 
8
13
</head>
9
14
<body>
10
 
<!-- Generated by Doxygen 1.7.4 -->
11
 
<div id="top">
 
15
<div id="top"><!-- do not remove this div! -->
 
16
 
 
17
 
12
18
<div id="titlearea">
13
19
<table cellspacing="0" cellpadding="0">
14
20
 <tbody>
15
21
 <tr style="height: 56px;">
 
22
  
 
23
  
16
24
  <td style="padding-left: 0.5em;">
17
 
   <div id="projectname">libgutenprint API Reference&#160;<span id="projectnumber">5.2.7</span></div>
 
25
   <div id="projectname">libgutenprint API Reference
 
26
   &#160;<span id="projectnumber">5.2.8-pre1</span>
 
27
   </div>
 
28
   
18
29
  </td>
 
30
  
 
31
  
 
32
  
19
33
 </tr>
20
34
 </tbody>
21
35
</table>
22
36
</div>
 
37
 
 
38
<!-- Generated by Doxygen 1.7.6.1 -->
23
39
  <div id="navrow1" class="tabs">
24
40
    <ul class="tablist">
25
41
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
37
53
<a href="#func-members">Functions</a>  </div>
38
54
  <div class="headertitle">
39
55
<div class="title">papersize</div>  </div>
40
 
</div>
 
56
</div><!--header-->
41
57
<div class="contents">
42
58
 
43
59
<p>The papersize describes the dimensions of a paper.  
136
152
<div class="memproto">
137
153
      <table class="memname">
138
154
        <tr>
139
 
          <td class="memname">void stp_default_media_size </td>
 
155
          <td class="memname">void <a class="el" href="group__papersize.html#ga33c0be56646361b1ce85a9d338336dd3">stp_default_media_size</a> </td>
140
156
          <td>(</td>
141
157
          <td class="paramtype">const <a class="el" href="group__vars.html#ga2d49c94847d18d8b62a214995b14680f">stp_vars_t</a> *&#160;</td>
142
158
          <td class="paramname"><em>v</em>, </td>
164
180
 
165
181
<p>Get the default paper dimensions for the current configuration. </p>
166
182
<p>The default is derived from the PageSize parameter if set, otherwise the default page size for the printer is used. If no value can be determined, 1x1 will be returned. </p>
167
 
<dl><dt><b>Parameters:</b></dt><dd>
 
183
<dl class="params"><dt><b>Parameters:</b></dt><dd>
168
184
  <table class="params">
169
185
    <tr><td class="paramname">v</td><td>the Gutenprint vars object </td></tr>
170
186
    <tr><td class="paramname">width</td><td>pointer to storage that the width will be returned in. </td></tr>
180
196
<div class="memproto">
181
197
      <table class="memname">
182
198
        <tr>
183
 
          <td class="memname">const <a class="el" href="structstp__papersize__t.html">stp_papersize_t</a>* stp_get_papersize_by_index </td>
 
199
          <td class="memname">const <a class="el" href="structstp__papersize__t.html">stp_papersize_t</a>* <a class="el" href="group__papersize.html#gab2e9f694a3b90aeaaa14d6af3b5fe75a">stp_get_papersize_by_index</a> </td>
184
200
          <td>(</td>
185
201
          <td class="paramtype">int&#160;</td>
186
202
          <td class="paramname"><em>idx</em></td><td>)</td>
191
207
<div class="memdoc">
192
208
 
193
209
<p>Get a papersize by its index number. </p>
194
 
<dl><dt><b>Parameters:</b></dt><dd>
 
210
<dl class="params"><dt><b>Parameters:</b></dt><dd>
195
211
  <table class="params">
196
212
    <tr><td class="paramname">idx</td><td>the index number. This must not be greater than (total number of papers - 1). </td></tr>
197
213
  </table>
206
222
<div class="memproto">
207
223
      <table class="memname">
208
224
        <tr>
209
 
          <td class="memname">const <a class="el" href="structstp__papersize__t.html">stp_papersize_t</a>* stp_get_papersize_by_name </td>
 
225
          <td class="memname">const <a class="el" href="structstp__papersize__t.html">stp_papersize_t</a>* <a class="el" href="group__papersize.html#ga60f3dee8f26cac05d8d6fcaff1e39630">stp_get_papersize_by_name</a> </td>
210
226
          <td>(</td>
211
227
          <td class="paramtype">const char *&#160;</td>
212
228
          <td class="paramname"><em>name</em></td><td>)</td>
217
233
<div class="memdoc">
218
234
 
219
235
<p>Get a papersize by name. </p>
220
 
<dl><dt><b>Parameters:</b></dt><dd>
 
236
<dl class="params"><dt><b>Parameters:</b></dt><dd>
221
237
  <table class="params">
222
238
    <tr><td class="paramname">name</td><td>the short unique name of the paper. </td></tr>
223
239
  </table>
232
248
<div class="memproto">
233
249
      <table class="memname">
234
250
        <tr>
235
 
          <td class="memname">const <a class="el" href="structstp__papersize__t.html">stp_papersize_t</a>* stp_get_papersize_by_size </td>
 
251
          <td class="memname">const <a class="el" href="structstp__papersize__t.html">stp_papersize_t</a>* <a class="el" href="group__papersize.html#ga1484a5e75a2b2921bbe0c9e17deb0b77">stp_get_papersize_by_size</a> </td>
236
252
          <td>(</td>
237
253
          <td class="paramtype">int&#160;</td>
238
254
          <td class="paramname"><em>length</em>, </td>
254
270
 
255
271
<p>Get a papersize by size. </p>
256
272
<p>The nearest available size to the size requested will be found. Only paper sizes within 5 points of width and height will be considered. </p>
257
 
<dl><dt><b>Parameters:</b></dt><dd>
 
273
<dl class="params"><dt><b>Parameters:</b></dt><dd>
258
274
  <table class="params">
259
275
    <tr><td class="paramname">length</td><td>the length of the paper. </td></tr>
260
276
    <tr><td class="paramname">width</td><td>the width of the paper </td></tr>
270
286
<div class="memproto">
271
287
      <table class="memname">
272
288
        <tr>
273
 
          <td class="memname">const <a class="el" href="structstp__papersize__t.html">stp_papersize_t</a>* stp_get_papersize_by_size_exact </td>
 
289
          <td class="memname">const <a class="el" href="structstp__papersize__t.html">stp_papersize_t</a>* <a class="el" href="group__papersize.html#ga879cd515ca2eb5fd8cd76ae62f4bfa4e">stp_get_papersize_by_size_exact</a> </td>
274
290
          <td>(</td>
275
291
          <td class="paramtype">int&#160;</td>
276
292
          <td class="paramname"><em>length</em>, </td>
291
307
<div class="memdoc">
292
308
 
293
309
<p>Get a papersize by size if an exact match is found. </p>
294
 
<dl><dt><b>Parameters:</b></dt><dd>
 
310
<dl class="params"><dt><b>Parameters:</b></dt><dd>
295
311
  <table class="params">
296
312
    <tr><td class="paramname">length</td><td>the length of the paper. </td></tr>
297
313
    <tr><td class="paramname">width</td><td>the width of the paper </td></tr>
307
323
<div class="memproto">
308
324
      <table class="memname">
309
325
        <tr>
310
 
          <td class="memname">int stp_known_papersizes </td>
 
326
          <td class="memname">int <a class="el" href="group__papersize.html#ga84fd0bad33b134217f54fa8c1e6c8b99">stp_known_papersizes</a> </td>
311
327
          <td>(</td>
312
328
          <td class="paramtype">void&#160;</td>
313
329
          <td class="paramname"></td><td>)</td>
322
338
 
323
339
</div>
324
340
</div>
325
 
</div>
326
 
<hr class="footer"/><address class="footer"><small>Generated by&#160;
327
 
<a href="http://www.doxygen.org/index.html">
328
 
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
 
341
</div><!-- contents -->
 
342
 
 
343
 
 
344
<hr class="footer"/><address class="footer"><small>
 
345
Generated by &#160;<a href="http://www.doxygen.org/index.html">
 
346
<img class="footer" src="doxygen.png" alt="doxygen"/>
 
347
</a> 1.7.6.1
 
348
</small></address>
 
349
 
329
350
</body>
330
351
</html>