PHP Manual: cpdf_set_text_pos
cpdf_set_text_pos
Description
bool cpdf_set_text_pos ( int pdf_document, float x_coor, float y_coor [, int mode] )Sets the position of text for the next cpdf_show() call.
Parameters
pdf_documentThe document handle, returned by cpdf_open().
x_coorThe x-coordinate of the text position
y_coorThe y-coordinate of the text position
modeThe optional parameter
modedetermines the unit length. If it is 0 or omitted the default unit as specified for the page is used. Otherwise the coordinates are measured in postscript points disregarding the current unit.