FET Forum

FET Support (English) => Get Help => Topic started by: sasbland on August 17, 2021, 11:28:13 PM

Title: Fixing row height when printing and printing teacher timetable
Post by: sasbland on August 17, 2021, 11:28:13 PM
Hi,

I really appreciate your work on the program and on answering questions. Could I ask 2 more questions.

1. I printed the coloured timetable (days horizontal) directly from the interface, and the row height is different. Is there a way to fix the row height of each period so it's quicker to compare one timetable to another by quickly looking at the size of the coloured cell? I attached the picture here.

2. Can I print the teacher's timetable directly from the interface as it is in colour? If I look in the html file in the results folder, it's not coloured in.

Many thanks.
Title: Re: Fixing row height when printing and printing teacher timetable
Post by: Liviu Lalescu on August 18, 2021, 08:21:36 AM
Hello,

Thank you!

1. It is not done. It could be done as a special customization.

2. Please try the HTML level 7 from settings (but I see you already did this, in your first screenshot?)
Title: Re: Fixing row height when printing and printing teacher timetable
Post by: sasbland on August 18, 2021, 09:10:50 AM
Thanks. I'm not sure about html 7. Will have a look. Where do I set it?

Could you tell me how to customise in case 1 please if it's not too complicated?

Thanks.
Title: Re: Fixing row height when printing and printing teacher timetable
Post by: Liviu Lalescu on August 18, 2021, 09:59:42 AM
Settings->HTML level->choose 7 (colors) (then generate again, so that the new timetable level is available).

About a customization, I meant I could do it for you, because it is very complicated if you don't know the code.
Title: Re: Fixing row height when printing and printing teacher timetable
Post by: sasbland on August 18, 2021, 10:50:08 PM
Thanks. I have changed to HTML 7 now (it was on 2 before). Now I can see the colour in the html file under results folder. However, if I want to print them out (either to pdf or to a printer), it shows as black and white as attached. Did I do something wrong?

For changing the row and column size, is it possible if you could send me an example of a file and tell me where to change if it's not a lot. I haven't got my final version of the timetable yet as I need to send it back and fro to management for consideration. It would be nice if they can see the 'easy to read' version.

Many thanks.
Title: Re: Fixing row height when printing and printing teacher timetable
Post by: Liviu Lalescu on August 19, 2021, 08:37:18 AM
Unfortunately, printing only does the equivalent of HTML level 3.

About changing the row and column size, as I told you, I think I would need to try to modify and compile myself. But if you want, it is in the file src/interface/timetableviewteachersdayshorizontalform.cpp, maybe lines 176, 179, and 181. I cannot tell you exactly what to put instead, because I need to see how it looks and try some code. Also, you must choose how to show the rows: a predefined value, or the largest value from all the rows.
Title: Re: Fixing row height when printing and printing teacher timetable
Post by: sasbland on August 23, 2021, 03:05:02 PM
Thanks for that. I think I'll leave that for now.