How to change Print out font size

Got something cool to share with AppGini users? Feel free to post it here!
Post Reply
jcrespi
Posts: 7
Joined: 2014-11-13 02:45

How to change Print out font size

Post by jcrespi » 2016-04-28 15:52

Hi,

Can anybody point me to the right file that I can control the print out font size. Since I have a table that has so much information I was able to modify the print view by eliminating a bunch of non essential fields because I need to print in one page only and the only solution that I have available right now is to decrease the font size. I cannot delete or modify any other fields because they are essential.

So Basically anyone that knows a work around in order to achieve a 1 page document by decreasing the font size of the print-out?

jcrespi
Posts: 7
Joined: 2014-11-13 02:45

Re: How to change Print out font size

Post by jcrespi » 2016-04-28 17:04

By The way I was able to shorten the font size on the HTML fields by selecting a smaller font but there are some other fields that are referenced from other tables that I cannot change the font size, or at least my question is how to control the size of those fields?

primitive_man
AppGini Super Hero
AppGini Super Hero
Posts: 54
Joined: 2014-03-09 20:20

Re: How to change Print out font size

Post by primitive_man » 2016-05-17 09:22

Print Font size is controlled via the 'theme' css.
Example css theme file:

Code: Select all

resources\initializr\css\paper.css
Search for: @media print
In the ' *:after' section, just add, for example:

Code: Select all

font-size: 12px;
You might can also change the line height with:

Code: Select all

line-height: 1;
or Change a specific attribute:

Code: Select all

.sectiontitle {
		font-weight: bold;
	}

Post Reply