Best practice forum (Archived)

Report Buidler Export reports to US Letter

 
Peter Pappas
Report Buidler Export reports to US Letter
by Peter Pappas - Monday, 9 November 2015, 11:40 PM
 

It appears that A4 is hard coded into the report builder export function for PDF files.

Am I missing something or is there a setting that this can be changed from the default A4 to US Letter?

Thank you,

Peter

me
Re: Report Buidler Export reports to US Letter
by George Angus - Tuesday, 10 November 2015, 3:57 PM
Group Totara

Hi Peter,

There isnt a setting - but I can certainly submit an enhancement request for the option to be available.

regards,

George.

 

 

 

Peter Pappas
Re: Report Buidler Export reports to US Letter
by Peter Pappas - Tuesday, 10 November 2015, 11:18 PM
 

Thanks George,

 

It makes sense that this should be configurable.

What files would have to be changed to make the default US Letter?

Peter

This forum post has been removed
Wednesday, 11 November 2015, 1:54 PM
The content of this forum post has been removed and can no longer be accessed.
Peter Pappas
Re: Report Buidler Export reports to US Letter
by Peter Pappas - Wednesday, 11 November 2015, 9:52 PM
 

Thank you Petr,

on a test server for 2.7 I found the layout options in totara/reportbuilder/lib.php, function download_pdf() and was able to change 'A4' to 'LETTER' (apparently capitalization is important). This will work for us. :)

Peter