Figured I would ask for admin assist here, I will figure it out, but sense you guys know your system best. In php5.2 build 4689, would the following be able to be used in the after record update? I got the test text ot print fine directly to my server printer with no errors. What would be the correct function for $file value?
I figured maybe,
fopen()
file_open_contents
or one of these actions would work, I am using the php_printer.dll extension with my php and so far so good. Just getting another brain freeze here, any suggestions and or leads would be great! If you know the answer and I need to resub for support then so be it <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=16442&image=1&table=forumtopics' class='bbc_emoticon' alt=':)' /> as this would finialize this project for good and would be a well worth investment.
My code;
// start printer
$handle = printer_open();
printer_start_doc($handle, "My Document");
printer_start_page($handle);
// create content here
$file = fopen('order_items_print.php?all=".$oldvalues["Order_num"]?>');
printer_draw_text($handle, 'Test Text', 12, 12);
$font = printer_create_font("Arial", 72, 48, 400, false, false, false, 0);
printer_select_font($handle, $font, $file);
printer_delete_font($font);
// print
printer_end_page($handle);
printer_end_doc($handle);
printer_close($handle);