![]() |
Labels Library that outputs Word and HTML Address Labels - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Labels Library that outputs Word and HTML Address Labels (/showthread.php?tid=34887) |
Labels Library that outputs Word and HTML Address Labels - El Forum - 10-12-2010 [eluser]BIOSTALL[/eluser] For anyone looking to generate address labels I've just made a library available for download that does just this. The library is attached whilst demos and further documentation can be found here: http://biostall.com/codeigniter-labels-library In a nutshell it takes an array of addresses and formats them according to the required label size and layout, outputting them in Microsoft Word or plain HTML (PDF format to be included soon). I've always hated generating labels in my applications so thought I'd try and solve the issue by building a library that can handle the hundreds of variations of labels out there. Enjoy ![]() Labels Library that outputs Word and HTML Address Labels - El Forum - 10-12-2010 [eluser]CroNiX[/eluser] I'll be sure to check this out soon. Thanks! Does it work with avery labels at all? Like any default settings? Labels Library that outputs Word and HTML Address Labels - El Forum - 10-13-2010 [eluser]BIOSTALL[/eluser] Hi CroNiX, The default label layout is Avery L7163 (9.9cm x 3.81cm). However, due to the amount of customisation options you should technically be able to generate any label layout required. Thanks Labels Library that outputs Word and HTML Address Labels - El Forum - 10-13-2010 [eluser]CroNiX[/eluser] It would be cool if there was a way to save and load configs, so if others come up with a scheme for a different label dimensions it can be added to your library and people can just load that config. Still haven't looked at it...it might already to that. |