02-22-2010
Quote:
Originally Posted by
tinyterm
Thanks for link DukeNuke2.
But i didn't found answer.
All what i have done is correct.
But i found installation script for printer.
I try to installation with the script.
Greetings
Torsten
the point 2.) from your first post CAN'T be correct! the return value clearly states that you used a wrong commando!
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Is there any documentation as to how to set up/register a printer in Sun Solaris server?
Thanks in advance. (1 Reply)
Discussion started by: simt
1 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I am under Sun Solaris 10, and I wan't to use printers which are on my local area network (on Windows XP workstation), I have got samba installed, and cups.
I wan't to have an easy way for printing document (with StarOffice, Gimp etc...), for exemple by just launching a command.
... (0 Replies)
Discussion started by: willits
0 Replies
3. UNIX for Dummies Questions & Answers
I want to reinstall a network printer (lexmark) on a solaris 8.
I had that working but now I have a Windos message "no printer installed"
I am a newbie... and hve no idea how to handle this situation.
Thanks
jose (2 Replies)
Discussion started by: reda
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am working in sun solaris server.I have Kyocera FS-1030D KX printer in my network .I have configured this printer for windows.I want to configure same printer to sun solaris.Is this possible.Give me some ideas. (2 Replies)
Discussion started by: arulkumar
2 Replies
5. Solaris
Hi All,
We have configured an hp network printer on a Solaris-sparc machine.
We are unable to print any files from this machine.
The following are the other details:
lpstat -p hpnic -l
printer hpnic waiting for auto-retry. available.
exec exit fault
Form mounted:
... (0 Replies)
Discussion started by: shahshilpa
0 Replies
6. Solaris
Hi guys,
i am a new user of sun solaris, i am using solaris 10, please help me how to install HP 1022n printer. This printer is in network.
Thanks
Daya (1 Reply)
Discussion started by: daya.pandit
1 Replies
7. Solaris
I have tried and tried again, to get an HP 4700dn laserjet printer to work on a GI Sun Solaris BOX. I have gone through and added the Printer server and IP to the Host file in the /etc folder and also added the printer ip and printer name itself. when I go to print something the printer shows up in... (7 Replies)
Discussion started by: kane4355
7 Replies
8. Solaris
Guy's
Can anyone explain how to Create Unix printer in Solaris what's the exact steps to create Unix direct printer ? (3 Replies)
Discussion started by: Mr.AIX
3 Replies
9. Solaris
Hi, guys, recently my os changed to solaris 10, and i want to share the printer with another computer whose os is also solaris. Is there anyone could give me a hint to fix this problem.
lpadmin -p hp5200 -v /dev/null -A write -n... (1 Reply)
Discussion started by: papertiger
1 Replies
10. Solaris
Hey Guys I am new here, dont know if any one can assist me with this issue.
I have a Sun-Fire-V490 machine that was upgraded to version 9 and patched a few months back.
Problem is a few network printers managed by the server is printing an extra page that comes out before and after every print... (0 Replies)
Discussion started by: mprogams
0 Replies
LEARN ABOUT DEBIAN
shell-quote
SHELL-QUOTE(1p) User Contributed Perl Documentation SHELL-QUOTE(1p)
NAME
shell-quote - quote arguments for safe use, unmodified in a shell command
SYNOPSIS
shell-quote [switch]... arg...
DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands
or files with embedded white space or shell globbing characters safely. Here are a few examples.
EXAMPLES
ssh preserving args
When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and
passes them to "$SHELL -c". This doesn't work as intended:
ssh host touch 'hi there' # fails
It creates 2 files, hi and there. Instead, do this:
cmd=`shell-quote touch 'hi there'`
ssh host "$cmd"
This gives you just 1 file, hi there.
process find output
It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to
split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote:
eval set -- `find -type f -print0 | xargs -0 shell-quote --`
debug shell scripts
shell-quote is better than echo for debugging shell scripts.
debug() {
[ -z "$debug" ] || shell-quote "debug:" "$@"
}
With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can.
save a command for later
shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command
you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are
things the user can't pass through), you can do something like this:
user_switches=
while [ $# != 0 ]
do
case x$1 in
x--pass-through)
[ $# -gt 1 ] || die "need an argument for $1"
user_switches="$user_switches "`shell-quote -- "$2"`
shift;;
# process other switches
esac
shift
done
# later
eval "shell-quote some-command $user_switches my args"
OPTIONS
--debug
Turn debugging on.
--help
Show the usage message and die.
--version
Show the version number and exit.
AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions.
AUTHOR
Roderick Schertler <roderick@argon.org>
perl v5.8.4 2005-05-03 SHELL-QUOTE(1p)