$article->setalignment("center"); /* Create a container object and put in the three objects created above and some empty space between them */ $content = new jh_pdf_container_jhpci(&$pdf); $content->addobject($barcode); $content->addemptyspace(3); $content->addobject($bctext); $content->addemptyspace(3); $content->addobject($article); /* Make an instance of the table class */ $table = new jh_pdf_table(&$pdf, &$ypos, 3, 592, 25.5); /* Set a function that will be called if a new page is necessary */ $table->setnewpagefunction(newpage); /* Make the row height static; this is useful for labels Bill, is this what you want? ;-) */ $table->forcerowheight(71.90000000000001); /* Hide table contents exceeding the table boundaries */ $table->cliptocell(); /* Define the columns; note that all the columns have "*" as their width which means that the whole table width will be divided up and assigned equally to the columns */ $col1 =& $table->addcolumn("", "*", false, $content); $col1->normcellparam->leftpadding = 25; $col1->normcellparam->rightpadding = 25; $col1->normcellparam->toppadding = 10; $col1->normcellparam->bottompadding = 0; $col2 =& $table->addcolumn("", "*", false, $content); $col2->normcellparam->leftpadding = 25; $col2->normcellparam->rightpadding = 25; $col2->normcellparam->toppadding = 10; $col2->normcellparam->bottompadding = 0;