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
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
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
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
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
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
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 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
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
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
LEARN ABOUT OPENSOLARIS
gsinterface
GSinterface(1) General Commands Manual GSinterface(1)
NAME
GSinterface - LP interface script for using ghostscript under lpsched
SYNOPSIS
GSinterface [request-id] [user] [title] [copies] [options] [files]
DESCRIPTION
This shell script is intended to be uses as an LP interface script on Solaris 2.6 and later systems. It allows print queues to be config-
ured under LP using Ghostscript to render for the printer.
Configuration under lpsched is performed via the lpadmin(1M) command.
# lpadmin -p printer -v /dev/... -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=(gs-device-type)
[-o OutputFile=(file/device)] [-o PAPERSIZE=(size)]
[-o RESOLUTION=XxY] [-o banner-type=(ascii|postscript)]
[-o GS_OPTIONS="-sIjsServer=... -sIjsParams=..."]
Valid values for the GS_DEVICE setting can be obtained from Ghostscript by running: "gs -h". This will dump a variety of information about
Ghostscript's usage and compile time configuration. The "Available devices:" section lists the formats that Ghostscript will render to.
You will need to match one of these formats to the format that your printer takes as input.
EXAMPLES
To configure a Canon Bublejet 800c (NeWSprinter CL+) printer connected to an ECP parallel port:
# lpadmin -p printer -v /dev/ecpp0 -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=bjc800
# accept printer
# enable printer
To configure an HP DeskJet 990 printer connected via a USB interface using IJS support:
# lpadmin -p printer -v /dev/usb/lp1 -I"postscript,pdf" -Tunknown
-i /usr/sfw/share/ghostscript/interfaces/GSinterface
-o GS_DEVICE=ijs
-o GS_OPTIONS="-sIjsServer=hpijs -sDeviceManufacturer=HEWLETT-PACKARD -sDeviceModel='DESKJET 990' -DIjsUseOutputFD"
# accept printer
# enable printer
SEE ALSO
gs(1)
Ghostscript 15 October 2002 GSinterface(1)