The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Lpadmin and viewing printer settings BravehearT1326 UNIX for Dummies Questions & Answers 1 03-12-2007 03:20 AM
Add printer with IP address with lpadmin nulnul7 UNIX for Dummies Questions & Answers 3 01-09-2006 01:38 AM
configuring printer using lpadmin krishan SUN Solaris 3 05-26-2005 05:53 AM
Ooops there goes lpadmin =0 nemex UNIX for Dummies Questions & Answers 2 12-23-2001 08:01 PM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-12-2001
Registered User
 

Join Date: Jul 2001
Location: US
Posts: 25
Question lpadmin help

hi all,

I can add a network printer with ADMINTOOL. However, I have a problem to add a network printer using lpadmin on my Sparc Solaris 8 box.

Here's the detail:
===============
lpadmin -p printername

lpadmin: ERROR: Missing -U or -v option.
To Fix: Local printer must have a port defined (-v option)
or have dial-out instructions (-U option).
================

I know I have to use the -v option. However, how can I create a special device file in order to specify the device path? I have looked into the man pages but it just tells me that -v is associated with device only. Can someone please help me on this?

thanks

Last edited by andrec; 09-12-2001 at 03:23 PM.
Forum Sponsor
  #2 (permalink)  
Old 09-13-2001
Registered User
 

Join Date: Jul 2001
Location: US
Posts: 25
Wink

I found it.

I find the following steps working for me to connect to a network printer and I'd like to share it with all of you.

steps:
============
1. lpsystem -t bsd printer-server-name .
(register remote system with the print service)

2. lpadmin -p printer-name -s printer-server-name!printer-name.
(configure the printer/ services)

3. lpadmin -d printer-name.
(set up default printer)
============

By the way, when I do man lpsystem, the system docs tells me that lpsystem is considered obsolete. I have yet to find another way to do it, other than admintool, however.

Hope this helps.
  #3 (permalink)  
Old 09-13-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,191
Yes, it helps greatly. Thanks for following up with your solution so everyone in the community can benefit from each other's hard work.
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:34 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0