[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: print media css



Hi Michael,

I had a brief chat with Erik about this in #ledgersmb
The best "all round" solution here is probably to extend our existing printing template system.

Basically it would allow a per-report template to be added and enable the print button on all reports.
The behavior would be the same as printing an invoice or order etc

I've raised issue #2781 to track this

Regards
David G



On 03/05/17 03:47, Michael Richardson wrote:
Michael Richardson <..hidden..> wrote:
    > With 1.5 no longer having frames, it means that one can no longer
    > Right-Click, "Print Frame" to get output of just the report
    > being seen.

    > With C-P, one gets the menu on the side, which occupies 40% of
    > the column, which is annoying.

I realized that the div can be slid to make the left-hand menu bigger or
smaller, but one can't get rid of it completely.

    > The solution is to have a print-media CSS that marks that div
    > as being display: none.

Alternatively, one could have a button to kill the menu, with some small
button to bring it back, and it could be done in JS, but I'd rather have
a print css media file.


--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        | network architect  [
]     ..hidden..  http://www.sandelman.ca/        |   ruby on rails    [



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ledger-smb-devel mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-devel