Sponsored Content
Full Discussion: Installing Printer driver
Top Forums Shell Programming and Scripting Installing Printer driver Post 302932244 by jtsmith90 on Tuesday 20th of January 2015 07:34:47 AM
Old 01-20-2015
Quote:
Originally Posted by rbatte1

What output do you get when you run it?
I'm attempting to install the driver for printing and scanning docs.

Josh

Last edited by jtsmith90; 01-20-2015 at 08:36 AM.. Reason: fixing quote mark
 

8 More Discussions You Might Find Interesting

1. UNIX Desktop Questions & Answers

TRUE Unix-64 Printer Driver for HP-6L laserjet.

Can anyone suggest me from where to download the printer driver for HP 6L laserjet printer for servers/desktops having TRUE Unix-64 and Unixware 7.0 OS. (1 Reply)
Discussion started by: parbende
1 Replies

2. UNIX Desktop Questions & Answers

Help Printer Driver

I am running a specialised program using a HP paintjet XL printer. This printer is very old and ink cartriges are no longer available. I want to use a HP 1102 C printer and need a driver. Alternatively any A3 printer driver will do as long as the printer is still available. Thanks Louis (2 Replies)
Discussion started by: RAP
2 Replies

3. Linux

Printer driver for Canon PIXMA iP1000

Hi, I just installed the Fedora Core 3, and now my printer cannot work because the Fedora Core 3 cannot find a suitable printer driver for it. It did recognize the model of my printer but just can't get the right printer driver. I am new to Linux, really hope someone can help me fix this problem,... (4 Replies)
Discussion started by: GarbageKing
4 Replies

4. Solaris

Solaris 10 - printer driver challenge

Hi, I have a Solaris 9 box that is connected to an Intermec EasyCoder 3400e tag printer. We set up the printer in solaris 9 using Jet Direct Admin console to use dump blotter address and the whole thing works fine. We are now moving from the Solaris 9 box to Solaris 10 box and Jet Direct Admin... (2 Replies)
Discussion started by: mikies
2 Replies

5. Red Hat

Need a single printer driver added to CUPS

Just got an HP OfficeJet L7680 printer but there are no drivers for it in RHEL5. I just want to add the single driver without installing hplip 3.9.8. It's going to be connected with USB. Is this possible and if so how? (1 Reply)
Discussion started by: deloev
1 Replies

6. UNIX for Dummies Questions & Answers

Query for printer driver in CUPS

I have a RHEL 4 (probably not important, but whatever) machine with a few dozen network printers set up in CUPS. I would like to replicate this on a second machine. With lpinfo I'm able to get the queue name and device information (socket://ipaddress or whatnot), but I haven't get figured out... (0 Replies)
Discussion started by: kknigga
0 Replies

7. UNIX for Dummies Questions & Answers

virtual printer driver

I need a virtual open source printer that can print to a text file. I need this printer to be open source because i will have to include it with my distribution of a program i am building. Just for a little background information, i am going to be building a program to run inside of a... (5 Replies)
Discussion started by: bagstoper
5 Replies

8. Solaris

Need printer driver for HP CP4525 on Solaris 10 SPARC

Hi Solaris 10 & possibly other Windows Gurus, I am using hppi to setup IP based printers on Solaris 10 SPARC server but have always been having difficulty getting the exact driver for them. In this case it is for HP CP4525 series PCL6 so the only choice available was to choose the closest... (2 Replies)
Discussion started by: gjackson123
2 Replies
SHELL-QUOTE(1)						User Contributed Perl Documentation					    SHELL-QUOTE(1)

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.16.3 2010-06-11 SHELL-QUOTE(1)
All times are GMT -4. The time now is 10:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy