Hello, I currently have a php inventory program running on a nitix server (linux) but I'm trying to move it all over to a windows 7 pro machine running wamp. I got pretty everything else to work fine but for the label printing. I have already enabled lpr. This works on linux:
function label_print($label) { $Printer = ics_select('Employee, Printer', 'Address', "EmployeeId=$_SESSION[ICS_UserId] and LabelPrinter=PrinterId"); $pipe = popen("rlpr -H$Printer[Address]", "w"); fwrite($pipe, $label); pclose($pipe); }
How do I get this to work on windows or is it not possible and if so, what are my options?
Thanks!
Dan