Sponsored Content
Full Discussion: lpadmin help
Top Forums UNIX for Dummies Questions & Answers lpadmin help Post 6847 by Neo on Thursday 13th of September 2001 01:51:50 PM
Old 09-13-2001
Yes, it helps greatly. Thanks for following up with your solution so everyone in the community can benefit from each other's hard work.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ooops there goes lpadmin =0

Hi there thanks for checking in I'm screwed if you can't help me. I have root access to a unix box and i did this. >/usr/bin> mailx marcus@rtt.co.za > /usr/bin/lpadmin which over wrote the lpadmin file which is in /usr/bin How do i get this back. Please help. (2 Replies)
Discussion started by: nemex
2 Replies

2. Solaris

configuring printer using lpadmin

Can some one tell me how to configure the printer on solaris printer name = A printer server address : 172.21.19.6 (3 Replies)
Discussion started by: krishan
3 Replies

3. UNIX for Dummies Questions & Answers

Add printer with IP address with lpadmin

Hi all, I'm tryin' to add a network printer with lpadmin (I don't have access to admintool) to a Solarisbox but I don't exactly know where to use the IP address. The thing is that this printer exists already with another printQ but I don't see any printerserver declared with lpsystem -l although... (3 Replies)
Discussion started by: nulnul7
3 Replies

4. UNIX for Dummies Questions & Answers

Lpadmin and viewing printer settings

Hi - Dummy question #1.... We either use the Hewlett Packard HPPI too or LPADMIN command to setup out printers. Is there an LPADMIN command that will show you the default config of a particular printer. Ideally looking to see default font, CPI settings etc. Thanks. BravehearT1326 ... (1 Reply)
Discussion started by: BravehearT1326
1 Replies

5. Shell Programming and Scripting

Variables containing spaces in lpadmin

I apologize for the long post. I have a lot of info... I am trying to write a script that will add a network printer (or several) to a system using information read in from a text file. My problem is the spaces in the PPD file name, I'm not sure how to put the file name in or how to read it back... (2 Replies)
Discussion started by: HalfNube
2 Replies

6. HP-UX

Lpadmin(1M) rejects devices writable by lp

When we executed a lpadmin command, the following error was output. # lpadmin -phsaprinter -v/home/hoge/lpfile -mrmodel -ocmrcmodel -osmrsmodel -ormhsaprinter -orphsaprinter lpadmin: can't access file "/home/hoge/lpfile" /home/hoge/lpfile is the file other user made. The... (1 Reply)
Discussion started by: madhurtripathi
1 Replies

7. Solaris

lpadmin command options on solaris 10

lpadmin configuration issues on Solaris 10 Zone. I have configured a print queue using lpadmin command to print to print file server. Source server is a Solaris Zone running Solaris 10. Destination file print server is running OS AIX 5.3. I do not get errors when issuing the lp command to... (0 Replies)
Discussion started by: primeaup
0 Replies

8. UNIX for Advanced & Expert Users

problems with lpadmin usage

the problem i encountered is that lpadmin when encounters a failure doesn't cleanup properly .so the next time i use the same printer name it doesn't allow me to do so .saying interface directory can't be created .what can be done to solve this out ?please help .. (3 Replies)
Discussion started by: rahulpatro
3 Replies

9. Shell Programming and Scripting

Run shell script LPADMIN

Hi All, I'm new to shell scripts. I have the following LPADMIN script that runs ok when I run in in OSX Automator "Run shell Scripts": Shell: /bin/bash here is the line: /usr/sbin/lpadmin -p Copy-room-ljetP4015 -E -v lpd://192.168.1.1 -m /Library/Printers/PPDs/Contents/Resources/HP\... (3 Replies)
Discussion started by: abk
3 Replies
Simplex(3pm)						User Contributed Perl Documentation					      Simplex(3pm)

NAME
PDL::Opt::Simplex -- Simplex optimization routines SYNOPSIS
use PDL::Opt::Simplex; ($optimum,$ssize,$optval) = simplex($init,$initsize,$minsize, $maxiter, sub {evaluate_func_at($_[0])}, sub {display_simplex($_[0])} ); DESCRIPTION
This package implements the commonly used simplex optimization algorithm. The basic idea of the algorithm is to move a "simplex" of N+1 points in the N-dimensional search space according to certain rules. The main benefit of the algorithm is that you do not need to calculate the derivatives of your function. $init is a 1D vector holding the initial values of the N fitted parameters, $optimum is a vector holding the final solution. $optval is the evaluation of the final solution. $initsize is the size of $init (more...) $minsize is some sort of convergence criterion (more...) - e.g. $minsize = 1e-6 The sub is assumed to understand more than 1 dimensions and threading. Its signature is 'inp(nparams); [ret]out()'. An example would be sub evaluate_func_at { my($xv) = @_; my $x1 = $xv->slice("(0)"); my $x2 = $xv->slice("(1)"); return $x1**4 + ($x2-5)**4 + $x1*$x2; } Here $xv is a vector holding the current values of the parameters being fitted which are then sliced out explicitly as $x1 and $x2. $ssize gives a very very approximate estimate of how close we might be - it might be miles wrong. It is the euclidean distance between the best and the worst vertices. If it is not very small, the algorithm has not converged. FUNCTIONS
simplex Simplex optimization routine ($optimum,$ssize,$optval) = simplex($init,$initsize,$minsize, $maxiter, sub {evaluate_func_at($_[0])}, sub {display_simplex($_[0])} ); See module "PDL::Opt::Simplex" for more information. CAVEATS
Do not use the simplex method if your function has local minima. It will not work. Use genetic algorithms or simulated annealing or conjugate gradient or momentum gradient descent. They will not really work either but they are not guaranteed not to work ;) (if you have infinite time, simulated annealing is guaranteed to work but only after it has visited every point in your space). SEE ALSO
Ron Shaffer's chemometrics web page and references therein: "http://chem1.nrl.navy.mil/~shaffer/chemoweb.html". Numerical Recipes (bla bla bla XXX ref). The demonstration (Examples/Simplex/tsimp.pl and tsimp2.pl). AUTHOR
Copyright(C) 1997 Tuomas J. Lukka. All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file. perl v5.14.2 2012-01-02 Simplex(3pm)
All times are GMT -4. The time now is 01:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy