LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 01-13-2003, 12:14 PM   #1
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Rep: Reputation: 30
sharing slack printer


I think I posted in the wrong forum before, so here goes:

I've got a Slackware 8.1 server at home which is running terrific as a file server. I can print on it locally, connect to the printer from a Win2000 and XP box, but I cannot print to it. The Windows clients think everything's fine, but CUPS doesn't receive the job. I can see the printer just fine. Here is my printer config in the smb.conf file:

[global]
printcap name = lpstat
load printers = yes
printing = cups

[printers]
comment = All Printers
path = /var/spool/samba
browseable = No
guest ok = Yes
writable = No
printable = Yes
create mode = 0700
print command = lpr-cups -P %p -o raw %s -r

[print$]
path = /var/spool/samba
browseable = yes
read only = yes
write list = @adm root

I've updated to cups v1.1.18, espgs v7.05.5, and kernel 2.4.20, but results in the same thing, making me think it's some sort of configuration problem.
 
Old 01-13-2003, 02:05 PM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
you may need to put your printer in there

although I'm not sure if that's the problem. Here's mine

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No

[print$]
path = /var/spool/samba/printers
browseable = yes
read only = yes
write list = root

[lp0]
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = lp0
printer driver = "HP DeskJet 890C"
oplocks = No
 
Old 01-17-2003, 05:32 PM   #3
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
I tried that also, nogo. I have no clue what is going on. I thought I compiled everything I needed into the kernel...
 
Old 01-17-2003, 06:23 PM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
I think it's something in the print command, not sure what. I do not have that in mine.


The log files may have something.
 
Old 01-17-2003, 08:52 PM   #5
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
moved: better suited in the slackware forum.
 
Old 01-18-2003, 02:05 PM   #6
ixion
Member
 
Registered: Dec 2002
Location: USA
Distribution: SuSE, CentOS, Gentoo
Posts: 166

Original Poster
Rep: Reputation: 30
that was it, you were right! the 'lpr-cups' was a bad command. I found this by doing a 'locate lpr-cups'. When it returned no results, I looked over the lpr command and saw that 'lpr <parameters>' was the only thing needed. Thanks for all your help, Dave!


edit: thanks for moving the topic, TrickyKid. I didn't realize that the slackware forum existed..
 
  


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
Printer Sharing How to claudius753 Linux - Newbie 1 09-06-2005 03:25 PM
Printer-sharing with FreeBSD; cannot se icon for the printer hemmelig *BSD 7 05-13-2005 04:44 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 07:54 AM
Sharing a printer rhraz Linux - Newbie 2 02-15-2004 12:19 PM
Xante Printer Network Printer, Slack 9.1 Conpen2000 Linux - Hardware 0 01-12-2004 11:08 PM


All times are GMT -5. The time now is 10:18 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration