hi there,
im have a function to print out some informaiton for reporting purposes. i dont mean print to screen but actually physically print to printer! this is some what a rare use as not many coders i have spoken to actually know anything about phps printer functions.
anyway the problem im having is i want to print out some text to an area in a fashion similar to if you would print some text to screen using wordwrap so that it would continue on a new line if it went to far out.
the problem is i cant use wordwrap and so am trying to find an easy way to get around this.
i had something as follows....
$new_notes = wordwrap(getAutoNotes($landlordID), 20);
printer_draw_text($handle, "$new_notes", 2500, 2300);
this doesnt work at all as it needs me to specify exactly what to print and where.
any ideeas please help