Code:
system("lpadmin -p ARC-ATLAB-BWQ -v lpd://at-regulus.ad.ufl.edu/ARC-ATLAB-BWQ -P /Library/Printers/PPDs/Contents/Resources/HP\ LaserJet\ 4250.gz");
system("cupsenable ARC-ATLAB-BWQ");
system("accept ARC-ATLAB-BWQ");
seems to throw warnings out is there a char that I put in it (IE: Perl has the "\" to make chars that that mean something in it act literally) to make it behave correctly? All the warnings are in the first line.
I have seen something about NStask however no code example and they are not explained in my books. Is that any better and would i have something like this?:
Code:
[NSTask "lpadmin -p ARC-ATLAB-BWQ -v lpd://at-regulus.ad.ufl.edu/ARC-ATLAB-BWQ -P /Library/Printers/PPDs/Contents/Resources/HP\ LaserJet\ 4250.gz"];