![]() ![]() ![]() The full code is quite frankly too long to insert here, but you should get the idea, and you get fairly precise layout control. ", ".$customer." ".$customer['address1_zip An online receipt generator is an agile and accurate web-based tool that allows creating receipts digitally, without the need for paper or special software. $this->_row($width, array($address, $customer)) $this->_row($width, array("MY NAME", $customer)) $this->pdfinvoice->SetFont('times', 'i', $this->pdfinvoice->smallFont ) $this->pdfinvoice->SetFont('times', 'b', $this->pdfinvoice->bigFont ) $margins = $this->pdfinvoice->getMargins() $width = $this->pdfinvoice->GetPageWidth()/2 $this->pdfinvoice->SetSubject("Invoice ". In my case my data is sourced from a SOAP interface to my accounting system and use CodeIgniter for my app, and I can do this: $address = $extraclient->get_company_address() I will say that depending on your data source you may have some issues. The following example shows how to create a simple invoice with PHPI use TCPDF (see ) for this: its pretty capable and not too painful to get setup. ![]()
0 Comments
Leave a Reply. |