LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-05-2006, 08:00 PM   #1
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Rep: Reputation: 15
samba printing command line


I'm using lpadmin. we did this in class and I'm trying to do it on my 2 computer network. I have a deskjet932c sitting off of tommy on workgroup TMOJ. that is the queue name, deskjet932c. I can't the device uri right to save the world. I took the firewalls down too in order to try it.

any one know the right format for the smb?

thanks,
tom
 
Old 04-05-2006, 08:28 PM   #2
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
I was using smb://unw@TMOJ/tommy/deskjet932c.
 
Old 04-05-2006, 09:16 PM   #3
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
the actual command I was using:

lpadmin -p junior -v smb://username: password@TMOJ/tommy/deskjet932c -P/usr/..../HP/DeskJet... -E

I'm using the queue name.....should I be using the printer name?

again,
Thanks.
 
Old 04-05-2006, 10:42 PM   #4
Mr_C
Member
 
Registered: Jan 2004
Location: Trinidad & Tobago
Distribution: Slackware
Posts: 317

Rep: Reputation: 30
I just use 'cups' and if you must, use 'links' to access the web config interface.
 
Old 04-06-2006, 06:06 AM   #5
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
I've tried:

lpadmin -p junior -v ipp://10.45.78.83-deskjet932c/junior -P /usr/share/cups/model/HP/DeskJet_932C-hpdj.ppd.gz -E

no luck.
 
Old 04-06-2006, 06:23 AM   #6
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
I tried this too:
lpadmin -p deskjet932c -v lpd://10.45.78.83-deskjet932c/LPT1 -P /usr/share/cups/model/HP/DeskJet_932C-hpdj.ppd.gz -E
 
Old 04-06-2006, 07:32 AM   #7
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
I got it, thanks.

tj:~ # lpadmin -p deskjet932c -v ipp://10.45.78.83/printers/deskjet932c -P /usr/share/cups/model/HP/DeskJet_932C-hpdj.ppd.gz -E
 
Old 04-06-2006, 09:34 AM   #8
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
I still would like to get samba on command line.

smb://userassword@workgroup/server/printer,
smb://userassword@host/printer,
and smb://server/printer.

the workgroup is TMOJ, the host is 10.45.78.83 or tommy the printer queue name is deskjet932c pasword=xxxxx

I thought server was 10.45.78.83 and printer was deskjet932c.

the above syntax is from suse 10.0 help.
 
Old 04-07-2006, 07:14 AM   #9
tomolesonjr
Member
 
Registered: Mar 2006
Location: Iowa
Distribution: Suse 10.0
Posts: 70

Original Poster
Rep: Reputation: 15
when I try doing it through the GUI.... the lookup doesn't work. it can't find deskjet932c(remote queue name). firewall is down.

Thanks,
Tom
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Command Line Printing lasalsademuerte Linux - General 1 02-18-2006 04:38 PM
command line printing using GIMP neranjana Linux - Software 3 01-19-2006 10:31 PM
command line printing rb3ng Linux - Newbie 3 04-22-2004 01:35 PM
Command line printing? HappyDude Linux - Software 2 10-25-2003 02:00 PM
Printing error from command line nutshell Linux - General 0 03-02-2002 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration