From: Phil D. <ph...@lo...> - 2014-08-09 21:25:47
|
Ok done thannks Bob On 8 August 2014 5:34:59 AM NZST, rfthomas <rf...@as...> wrote: >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. > >------------------------------------------------------------------------------ >Infragistics Professional >Build stunning WinForms apps today! >Reboot your WinForms applications with our WinForms controls. >Build a bridge from your legacy apps to the future. >http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk >_______________________________________________ >Web-erp-developers mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/web-erp-developers Phil Daintree +64(0)275 567890 skype: daintree |