1 (edited by towerfour 02/27/2015 12:03:38 pm)

Topic: Sales Invoice Print

Sir,

We are modifying /sales/view/view_invoice.php to print through a pre-printed stationery where the size is 8 inches x 3.8 inches (Envelope 9). In view, shows the stationery size but the printer doesn't recognised the defined size instead the printer consider the default size (which is set by itself).

Also let us know the usage of postscript font i.e. how to include post script font where dot matrix printer supports

Any thoughts would be much appreciated.

Thanks in Advance
Towerfour

/themes/dashboard/default.css

@media print {
    .page-break { height:200px; page-break-before:always; margin:0; border-top:none; }
}
body, p, span, td, a {font-size:9pt;font-family: Arial, Helvetica, sans-serif;}
body{margin-left:2em; margin-right:2em;}
.page{
    height:200px;
    width:900px;
    padding-top:5px;
    page-break-after : always;
    font-family: Arial, Helvetica, sans-serif;
    position:relative;
    border-bottom:0px solid #000;

}

Re: Sales Invoice Print

For different Page Sizes in FA, refer this forum post besides the Wiki.