Well, it's not pretty, but since you've already dirtied your hands with do shell script :-), why not continue in that vein... You can pipe the results to awk, and by providing the correct "column number", filter out the chunk of text you need. Hopefully someone will have a better answer.
lpoptions -p Photosmart_C4700_series | awk '{print $35}'
==> printer-is-accepting-jobs=true
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|