I am creating postage labels and recording them into a pdf file using FPDF and PDF_Label - all work fine, see code sample below ...
$text = sprintf("%s\n%s\n%s\n%s %s %s\n%s", " 6 022, "Name","Address", "Location", "State", "PostCode", "Country");
As you can see, I am using sprintf to format text for the label and using Add_Label from PDF_Label class to create the label.
I would like to BOLD the "Name" portion within the sprintf, if possible. As far as I can tell this can't be done. Tried using html tags inside it - no good, just prints the tags.
Any help or suggestions appreciated.