From: rfthomas <rf...@as...> - 2014-08-07 17:35:07
|
Phil, For some reason we need to have the default case state the parameters for a paper size, in our case Letter. We have made the following change to PDFStarter.php: default: $DocumentPaper = 'LETTER'; $DocumentOrientation ='P'; $Page_Width = 612; // 72 * 8.5 inch $Page_Height = 792; // 72 * 11 inch $Top_Margin = 36; // Half inch = 72/2 $Bottom_Margin = 36; // Half inch = 72/2 $Left_Margin = 36; // Half inch = 72/2 $Top_Margin = 36; // Half inch = 72/2 $Bottom_Margin = 36; // Half inch = 72/2 $Left_Margin = 36; // Half inch = 72/2 $Right_Margin = 36; // Half inch = 72/2 break; And all of the scripts now work. After more research, we found that user Report Size was set to "letter". Since this is a drop down choice, the available values must have changed at some point. We have changed all of our users to a Report Size of "Letter". The change above should be made to PDFStaerter.php so that a viable printout can be produced for unknown paper sizes. Bob Thomas -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Problems-Printing-PDF-V4-11-3-tp4657591p4657593.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |