seitime-frappe/frappe/docs/current/models/print/print_settings.html
Ashish Acharya 3a65d7a1ff Base Code
2015-11-26 20:46:18 +05:30

236 lines
No EOL
5 KiB
HTML

<!-- title: Print Settings -->
<div class="dev-header">
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
Version 6.10.1</a>
<a class="btn btn-default btn-sm" href="https://github.com/frappe/frappe/tree/develop/frappe/print/doctype/print_settings"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
</div>
<span class="label label-info">Single</span>
<h3>Fields</h3>
<table class="table table-bordered" style="table-layout: fixed;">
<thead>
<tr>
<th style="width: 5%">Sr</th>
<th style="width: 25%">Fieldname</th>
<th style="width: 20%">Type</th>
<th style="width: 25%">Label</th>
<th style="width: 25%">Options</th>
</tr>
</thead>
<tbody>
<tr class="info">
<td>1</td>
<td ><code>pdf_settings</code></td>
<td >
Section Break</td>
<td >
PDF Settings
</td>
<td></td>
</tr>
<tr >
<td>2</td>
<td ><code>send_print_as_pdf</code></td>
<td >
Check</td>
<td >
Send Print as PDF
<p class="text-muted small">
Send Email Print Attachments as PDF (Recommended)</p>
</td>
<td></td>
</tr>
<tr >
<td>3</td>
<td ><code>pdf_page_size</code></td>
<td >
Select</td>
<td >
PDF Page Size
</td>
<td>
<pre>A4
Letter</pre>
</td>
</tr>
<tr class="info">
<td>4</td>
<td ><code>print_style_section</code></td>
<td >
Section Break</td>
<td >
Print Style
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td ><code>print_style</code></td>
<td >
Select</td>
<td >
Print Style
</td>
<td>
<pre>Modern
Classic
Standard
Monochrome</pre>
</td>
</tr>
<tr >
<td>6</td>
<td ><code>font</code></td>
<td >
Select</td>
<td >
Font
</td>
<td>
<pre>Default
Arial
Helvetica
Verdana
Monospace</pre>
</td>
</tr>
<tr >
<td>7</td>
<td ><code>font_size</code></td>
<td >
Float</td>
<td >
Font Size
<p class="text-muted small">
In points. Default is 9.</p>
</td>
<td></td>
</tr>
<tr >
<td>8</td>
<td ><code>column_break_6</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>9</td>
<td ><code>with_letterhead</code></td>
<td >
Check</td>
<td >
With Letterhead
<p class="text-muted small">
Print with Letterhead, unless unchecked in a particular Document</p>
</td>
<td></td>
</tr>
<tr class="info">
<td>10</td>
<td ><code>section_break_8</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>11</td>
<td ><code>print_style_preview</code></td>
<td >
HTML</td>
<td >
Print Style Preview
</td>
<td></td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>frappe.print.doctype.print_settings.print_settings</h4>
<h3 style="font-weight: normal;">Class <b>PrintSettings</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<p class="docs-attr-name">
<a name="on_update" href="#on_update" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_update</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
</div>
<hr>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->