[PHP] printer functions and pcl

2003-11-03 Thread Mark Newnham
I'm trying to output HP PCL commeands using the printer_write command. For example: $str=sprintf(\033d0D); // Underline Text $str.=Text to print; $str.=sprintf(\033cE); // Reset printer $handle = printer_open('DOMAIN\\PSERVER'); printer_write($handle,$str); printer_close($handle); The

[PHP] Using sapi/embed

2003-03-03 Thread Mark Newnham
Does anyone have a simple example of using the sapi/embed option from an external c or c++ program, including compiling/linking? TIA Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using DTDs and XML

2001-02-23 Thread Mark Newnham
Does anyone have examples of using DTD's with the xml_parse functions? Regards Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]