webERP Forum
Label print - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (/forumdisplay.php?fid=8)
+--- Thread: Label print (/showthread.php?tid=2714)



Label print - janb - 02-22-2016 02:40 AM

Having some problems printing labels, or actually with paper size.
When $PaperSize = 'Custom'; (PDFPrintLabel.php Line 168), pagewidth and pageheight doesn't work (and probably not the other parameters as well).
Everything works fine if this line is commented out.

The comment on this line says:
"so PDF starter wont default the DocumentPaper"

I really cant see how this can happen as long as all parameters overrides any defaults?


RE: Label print - agaluski - 02-23-2016 12:13 AM

which script?


RE: Label print - janb - 02-23-2016 12:36 AM

(02-22-2016 02:40 AM)janb Wrote:  Having some problems printing labels, or actually with paper size.
When $PaperSize = 'Custom'; (PDFPrintLabel.php Line 168), pagewidth and pageheight doesn't work (and probably not the other parameters as well).
Everything works fine if this line is commented out.

The comment on this line says:
"so PDF starter wont default the DocumentPaper"

I really cant see how this can happen as long as all parameters overrides any defaults?



RE: Label print - Exsonqu_Qu - 02-23-2016 09:13 AM

Hi, Jan,

I think the Custom definition is used for users who can customize it for their own paper size. The problem introduced seems from version 6955 which removed the default paper definition.

Thanks and best regards!

Exson