Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0014425 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
feature request | [Openbravo ERP] Z. Others | major | always | 2010-09-03 14:25 | 2022-02-01 08:09 | |||||||
Reporter | dbaz | View Status | public | |||||||||
Assigned To | Triage Platform Base | |||||||||||
Priority | high | Resolution | out of date | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Any | Database | Any | Java version | ||||||||
OS Version | Database version | Ant version | ||||||||||
Product Version | 2.50 | SCM revision | ||||||||||
Review Assigned To | ||||||||||||
Web browser | ||||||||||||
Modules | Smartclient | |||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0014425: "File->Print" in the browser should print a consistent view | |||||||||||
Description | If you not define a specific way, the browser will try to print what is shown in the window (even each browser output is slightly different for the same thing). If there is an scroll maybe you print all the content or maybe just what you are seeing (it depends of the html structure and the browser), so you finally have in the sheet more or less just what you are seeing in the screen. The standard way to solve this, is by adding a print CSS, so the output will be the same independently of the browser size or type All classic OB windows have a print CSS file <LINK rel="stylesheet" type="text/css" media="print" href="../web/skins/ltr/Default/Openbravo_ERP_print.css" id="paramCSS_print"></LINK> which basically is a call to this simple file https://code.openbravo.com/erp/devel/pi/file/6694399f367d/web/skins/Default/Openbravo_ERP_250_print.css [^] With this we obtain (in 2.50) that if you make a "File -> Print" the menu doesn't appear, it print all the form (even if there is a scroll), and the four/six columns fits perfectly the A4 sheet width. PD: This topic comes to avoid a regression of this issue when going from 2.50 to 3.00 https://issues.openbravo.com/view.php?id=8975 [^] | |||||||||||
Proposed Solution | There should be a research to determine if Smartclient provides a way of set a print CSS somehow. If not, maybe since these CSS are very simple, one (out of Smartclient) can be developed just with some fixed widths and height (to ensure the full page width is printed in the sheet) and import it in the index.html | |||||||||||
Tags | No tags attached. | |||||||||||
Attached Files | ||||||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Issue History | |||
Date Modified | Username | Field | Change |
2010-09-03 14:25 | dbaz | New Issue | |
2010-09-03 14:25 | dbaz | Assigned To | => mtaal |
2010-12-06 07:48 | alostale | Status | new => scheduled |
2011-09-07 12:54 | mtaal | Type | defect => feature request |
2016-10-21 11:04 | mtaal | Status | scheduled => closed |
2016-10-21 11:04 | mtaal | Resolution | open => out of date |
2016-10-21 13:17 | mtaal | Tag Attached: MT_closed_out_of_date | |
2016-10-21 14:08 | mtaal | Assigned To | mtaal => platform |
2016-10-21 14:09 | mtaal | Status | closed => new |
2016-10-21 14:12 | mtaal | Tag Detached: MT_closed_out_of_date | |
2022-02-01 08:09 | alostale | Assigned To | platform => Triage Platform Base |
Copyright © 2000 - 2009 MantisBT Group |