Sponsored Content
Full Discussion: Installing Printer driver
Top Forums Shell Programming and Scripting Installing Printer driver Post 302932253 by rbatte1 on Tuesday 20th of January 2015 08:54:16 AM
Old 01-20-2015
Yes, ................ Smilie?

So what's wrong? Do you get any errors from running the script?
 

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
catch(1T)						       Tcl Built-In Commands							 catch(1T)

__________________________________________________________________________________________________________________________________________________

NAME
catch - Evaluate script and trap exceptional returns SYNOPSIS
catch script ?varName? _________________________________________________________________ DESCRIPTION
The catch command may be used to prevent errors from aborting command interpretation. The catch command calls the Tcl interpreter recur- sively to execute script, and always returns without raising an error, regardless of any errors that might occur while executing script. If script raises an error, catch will return a non-zero integer value corresponding to the exceptional return code returned by evaluation of script. Tcl defines the normal return code from script evaluation to be zero(0), or TCL_OK. Tcl also defines four exceptional return codes: 1 (TCL_ERROR), 2 (TCL_RETURN), 3 (TCL_BREAK), and 4 (TCL_CONTINUE). Errors during evaluation of a script are indicated by a return code of TCL_ERROR. The other exceptional return codes are returned by the return, break, and continue commands and in other special situa- tions as documented. Tcl packages can define new commands that return other integer values as return codes as well, and scripts that make use of the return -code command can also have return codes other than the five defined by Tcl. If the varName argument is given, then the variable it names is set to the result of the script evaluation. When the return code from the script is 1 (TCL_ERROR), the value stored in varName is an error message. When the return code from the script is 0 (TCL_OK), the value stored in resultVarName is the value returned from script. If script does not raise an error, catch will return 0 (TCL_OK) and set the variable to the value returned from script. Note that catch catches all exceptions, including those generated by break and continue as well as errors. The only errors that are not caught are syntax errors found when the script is compiled. This is because the catch command only catches errors during runtime. When the catch statement is compiled, the script is compiled as well and any syntax errors will generate a Tcl error. EXAMPLES
The catch command may be used in an if to branch based on the success of a script. if { [catch {open $someFile w} fid] } { puts stderr "Could not open $someFile for writing $fid" exit 1 } The catch command will not catch compiled syntax errors. The first time proc foo is called, the body will be compiled and a Tcl error will be generated. proc foo {} { catch {expr {1 +- }} } SEE ALSO
break(1T), continue(1T), error(1T), return(1T), tclvars(1T) KEYWORDS
catch, error ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWTcl | +--------------------+-----------------+ |Interface Stability | Uncommitted | +--------------------+-----------------+ NOTES
Source for Tcl is available on http://opensolaris.org. Tcl 8.0 catch(1T)
All times are GMT -4. The time now is 04:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy