diff options
Diffstat (limited to 'doc/html/ntqprinter.html')
-rw-r--r-- | doc/html/ntqprinter.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/html/ntqprinter.html b/doc/html/ntqprinter.html index 73b663436..7647a9696 100644 --- a/doc/html/ntqprinter.html +++ b/doc/html/ntqprinter.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQPrinter class is a paint device that paints on a printer. <a href="#details">More...</a> <p><tt>#include <<a href="qprinter-h.html">ntqprinter.h</a>></tt> -<p>Inherits <a href="ntqpaintdevice.html">TQPaintDevice</a>. +<p>Inherits <a href="tqpaintdevice.html">TQPaintDevice</a>. <p><a href="qprinter-members.html">List of all member functions.</a> <h2>Public Members</h2> <ul> @@ -133,7 +133,7 @@ it should print. range for <a href="#fromPage">fromPage</a>() and <a href="#toPage">toPage</a>() are. </ul> <p> Except where noted, you can only call the set functions before -<a href="#setup">setup</a>(), or between <a href="ntqpainter.html#end">TQPainter::end</a>() and setup(). (Some may take +<a href="#setup">setup</a>(), or between <a href="tqpainter.html#end">TQPainter::end</a>() and setup(). (Some may take effect between setup() and begin(), or between begin() and end(), but that's strictly undocumented and such behaviour may differ depending on platform.) @@ -155,7 +155,7 @@ to print from. <p> You can of course call these functions to establish defaults before you ask the user through <a href="#setup">TQPrinter::setup</a>(). <p> Once you start printing, calling <a href="#newPage">newPage</a>() is essential. You will -probably also need to look at the <a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> for the +probably also need to look at the <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> for the printer (see the <a href="simple-application.html#printersimple">print function</a> in the Application walk-through). In previous versions, paint device metrics were valid only after the TQPrinter has been set @@ -227,7 +227,7 @@ first. TQPrinter does not check that the paper size is available; it just uses this information, together with TQPrinter::Orientation and <a href="#setFullPage">TQPrinter::setFullPage</a>(), to determine the printable area (see -<a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>). +<a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>). <p> The defined sizes (with <a href="#setFullPage">setFullPage</a>(TRUE)) are: <ul> <li><tt>TQPrinter::A0</tt> - 841 x 1189 mm This value is not supported on windows. @@ -387,7 +387,7 @@ Returns TRUE if the origin of the printer's coordinate system is at the corner of the sheet and FALSE if it is at the edge of the printable area. <p> See <a href="#setFullPage">setFullPage</a>() for details and caveats. -<p> <p>See also <a href="#setFullPage">setFullPage</a>(), <a href="#PageSize-enum">PageSize</a>, and <a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>. +<p> <p>See also <a href="#setFullPage">setFullPage</a>(), <a href="#PageSize-enum">PageSize</a>, and <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>. <h3 class=fn>bool <a name="isOptionEnabled"></a>TQPrinter::isOptionEnabled ( <a href="ntqprinter.html#PrinterOption-enum">PrinterOption</a> option ) </h3> @@ -407,7 +407,7 @@ use. <p> If you have called setFullPage( FALSE ) (this is the default), margins() is automatically subtracted from the <a href="#pageSize">pageSize</a>() by TQPrinter. -<p> <p>See also <a href="#setFullPage">setFullPage</a>(), <a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>, and <a href="#PageSize-enum">PageSize</a>. +<p> <p>See also <a href="#setFullPage">setFullPage</a>(), <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>, and <a href="#PageSize-enum">PageSize</a>. <h3 class=fn>void <a name="margins-2"></a>TQPrinter::margins ( uint * top, uint * left, uint * bottom, uint * right ) const </h3> @@ -420,7 +420,7 @@ the smallest sane margins you can use. <p> If you have called setFullPage( FALSE ) (this is the default), the margins are automatically subtracted from the <a href="#pageSize">pageSize</a>() by TQPrinter. -<p> <p>See also <a href="#setFullPage">setFullPage</a>(), <a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>, and <a href="#PageSize-enum">PageSize</a>. +<p> <p>See also <a href="#setFullPage">setFullPage</a>(), <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>, and <a href="#PageSize-enum">PageSize</a>. <h3 class=fn>int <a name="maxPage"></a>TQPrinter::maxPage () const </h3> @@ -571,7 +571,7 @@ Sets TQPrinter to have the origin of the coordinate system at the top-left corner of the paper if <em>fp</em> is TRUE, or where it thinks the top-left corner of the printable area is if <em>fp</em> is FALSE. <p> The default is FALSE. You can (probably) print on (0,0), and -<a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> will report something smaller than the size +<a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> will report something smaller than the size indicated by PageSize. (Note that TQPrinter may be wrong on Unix systems - it does not have perfect knowledge of the physical printer.) @@ -579,7 +579,7 @@ printer.) exact same size as indicated by <a href="#PageSize-enum">PageSize</a>, but you cannot print on all of that - you must take care of the output margins yourself. -<p> <p>See also <a href="#PageSize-enum">PageSize</a>, <a href="#setPageSize">setPageSize</a>(), <a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>, and <a href="#fullPage">fullPage</a>(). +<p> <p>See also <a href="#PageSize-enum">PageSize</a>, <a href="#setPageSize">setPageSize</a>(), <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a>, and <a href="#fullPage">fullPage</a>(). <p>Examples: <a href="tqaction-application-example.html#x1150">action/application.cpp</a>, <a href="simple-application-example.html#x1568">application/application.cpp</a>, <a href="helpviewer-example.html#x1006">helpviewer/helpwindow.cpp</a>, and <a href="mdi-example.html#x2051">mdi/application.cpp</a>. <h3 class=fn>void <a name="setMargins"></a>TQPrinter::setMargins ( uint top, uint left, uint bottom, uint right ) @@ -706,7 +706,7 @@ active, the current print job may or may not be affected. Requests that the printer prints at <em>dpi</em> or as near to <em>dpi</em> as possible. <p> This setting affects the coordinate system as returned by, for -example, <a href="ntqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> and <a href="ntqpainter.html#viewport">TQPainter::viewport</a>(). +example, <a href="tqpaintdevicemetrics.html">TQPaintDeviceMetrics</a> and <a href="tqpainter.html#viewport">TQPainter::viewport</a>(). <p> The value depends on the <tt>PrintingMode</tt> used in the TQPrinter constructor. By default, the dpi value of the screen is used. <p> This function must be called before <a href="#setup">setup</a>() to have an effect on |