Mark M - 2013-03-12 06:56:49
I used a packet sniffer to see why the LPR command worked from a Windows DOS prompt but not this library.
I don't know what the difference does, but I changed line 66 from:
$ctrl = "H".$server."\nPphp\nfdfA".$job.$server."\n";
to:
$ctrl = "H".$server."\nPphp\nldfA".$job.$server."\n";
Notice the "l" in the parameter area.
Thanks for all the help with this library!