Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Print labels in PDF
Re: Print labels in PDF [message #1749 is a reply to message #1748] Tue, 21 October 2008 06:04 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2361
Registered: April 2006
Location: Surrey, UK
Senior Member
If you want to print 2 labels per line then you need to define a line containing 2 labels, then output an array containing as many lines as necessary.

Take a look at http://www.tonymarston.net/php-mysql/output-to-pdf.html#exam ple.invoice which is produced from radicore/xample/classes/x_person_s04.class.inc. The INVOICE_TO and SHIP_TO boxes show how you can print two address labels on a single line, but to get multiple lines you need to look at the production of the item lines in the _cm_output_multi() method for the 'multi1' condition. There you can construct an array containing as many lines as you need before you return.


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Help in New Window
Next Topic: PDF Document Margin Setup
Goto Forum:
  


Current Time: Thu Sep 12 00:36:20 EDT 2024

Total time taken to generate the page: 0.01439 seconds