Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0014425
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] Z. Othersmajoralways2010-09-03 14:252022-02-01 08:09
ReporterdbazView Statuspublic 
Assigned ToTriage Platform Base 
PriorityhighResolutionout of dateFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50SCM revision 
Review Assigned To
Web browser
ModulesSmartclient
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0014425: "File->Print" in the browser should print a consistent view

DescriptionIf 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 SolutionThere 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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
Powered by Mantis Bugtracker