![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lpstat | draco | HP-UX | 12 | 09-10-2008 10:22 AM |
| non root user can't use lpstat | checkpro | SCO | 3 | 09-10-2008 09:47 AM |
| lpstat gives segmentation coredump error | cksriramchandra | SUN Solaris | 8 | 09-17-2007 07:22 AM |
| lpstat | sskb | UNIX for Advanced & Expert Users | 3 | 02-21-2003 10:00 AM |
| lpstat -t | stufine | UNIX for Dummies Questions & Answers | 2 | 08-06-2002 04:25 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
lpstat throughs warning
Hi Guys,
I am geting this message ".status: (WARNING): 0781-102 Invalid printer name: xerox".i m reading printer name from a text file.i try to print the value reading from file is correct xerox. if run lpstat -pxerox -l it works fine but when i try to read from file it throughs warining.please help me to fix this problem. thanks code is given below cat test.txt xerox read line echo $line lpstat -p$line -l >t.txt sed '1,2d' t.txt > file.csv |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|