LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   sharing slack printer (https://www.linuxquestions.org/questions/slackware-14/sharing-slack-printer-41317/)

ixion 01-13-2003 11:14 AM

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.

DavidPhillips 01-13-2003 01:05 PM

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

ixion 01-17-2003 04:32 PM

I tried that also, nogo. :( I have no clue what is going on. I thought I compiled everything I needed into the kernel...

DavidPhillips 01-17-2003 05:23 PM

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.

trickykid 01-17-2003 07:52 PM

moved: better suited in the slackware forum.

ixion 01-18-2003 01:05 PM

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! :D


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


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