-
1
- #1
I am trying to use the system(); command to execute this<br>system('echo "FRPO R3, 01; FRPO L1, $currentL1; FRPO L2, $currentL2; FRPO L3, $c<br>urrentL3; FRPO L4, $currentL4; FRPO R3 00;" ¦ lp -d PR0_KYO -o nobanner');<br><br>These characters tell a Kyocera printer some alignment information.<br><br>It looks like this running from the prompt<br>echo "FRPO R3, 01; FRPO L1, 01; FRPO L2, 00; FRPO L3, 01; FRPO L4, 25; FRPO R3 00;" ¦ lp -d PR0_KYO -o nobanner<br><br>I cannot seem to be able to tell the system()<br>function that what is between the '' is the command to send to the shell but then have the printer understand that what is in the "" is the pre-scribed command<br><br>much obliged