LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 02-17-2017, 09:10 AM   #1
TAGfoto
LQ Newbie
 
Registered: Feb 2017
Posts: 4

Rep: Reputation: Disabled
Windows workstations unable to print via Samba/CUPS on Slack64 14.2 server.


I am running slack 14.2 on an intel box (hp p2-1124) and in general like this version. However, printing with CUPS was so hosed that after installing a printer via a web browser I was unable to print locally. I got some stderr to the effect that although the printer was marked as shared it wasn't published to the network. I solved this by deleting the printer in CUPS and installing it via the HP Device Manager. At this point samba is not behaving as it typically does. My age old, tried and true, smb.conf has one line the caused a fatal (?): "security = share". I changed this to security = user, created a user via adduser and smbpasswd and now I can print from a Mac Book Pro but the windows workstations (win 7 and win 10) cannot print. Win 10 (Dell Inspiron 15 / 7000) can see the printer, installed it, but printing fails with no error. Win 7 (old Toshiba Satellite) cannot connect at all. Does anyone have a smb.conf that is working (for printing) on a Slack64 14.2 box?
Here is what I have:
[global]
workgroup = SERVER_02
netbios name = LOCAL_PRINTER
security = user
printing = cups
printcap name = cups
hosts allow = 192.168.1. 192.168.2. 127.
load printers = yes

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = yes
printable = yes
use client driver = yes
browseable = yes

testparm shows this:
/home/tag# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE

any help appreciated!
 
Old 02-17-2017, 09:32 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Member response

Hi,

Welcome to LQ & Slackware!

I suggest that you look at the sample;
Quote:
/etc/samba/smb.conf-sample
You can use this sample to configure your samba configuration in ;/etc/samba/smb.conf

Plus you can use some of this reference; http://docs.slackware.com/start?do=s...ulltext=Search

Hope this helps.
Have fun & enjoy!
 
Old 02-25-2017, 04:57 AM   #3
TAGfoto
LQ Newbie
 
Registered: Feb 2017
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hi, thanks for the reply. Using the canned smb.conf - after some tweaks - I got the Win7 boxes printing but the two Win10 machines still could not print via Samba. Ultimately I abandoned that approach (using Samba) and used IPP via CUPS which works on all of the workstations. The problem is not on the Slack side of the equation. A few searches on google produced dozens of complaints indicating this is a known issue. And one not confined to Slackware - lots of Ubuntu ppl reported the same issue. Apparently Win10 is broken. Surprise, surprise...there was another problem with Win10 the other machines did not have: HP does not offer a driver download for the printer in question, when you select Windows 10 as the OS HP.com directs you to use the OS itself. The OS, of course, says it has no driver, pls insert disk (etc.). The solution was to connect each Win10 box, in turn, to the printer via a usb cable. Once the driver was installed the printer could be installed as a network device. Not exactly elegant as "solutions" go.

Thanks again for your help!
 
1 members found this post helpful.
Old 02-25-2017, 06:00 AM   #4
Olek
Member
 
Registered: Jul 2012
Location: Wroclaw Poland
Distribution: Slackware
Posts: 110

Rep: Reputation: 27
Quote:
Originally Posted by TAGfoto View Post
HP does not offer a driver download for the printer in question, when you select Windows 10 as the OS HP.com directs you to use the OS itself. The OS, of course, says it has no driver, pls insert disk (etc.).
I can't see which model of printer You have.
Maybe you can download driver by Windows Update when you adding printer in Windows 10.
 
  


Reply



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
Windows 8 is unable to print to cups print server! sayedahmad Linux - Newbie 7 06-17-2013 09:02 PM
cups/samba print server & manufacturers print drivers bourne Linux - Server 0 03-15-2011 04:44 PM
CUPS and Samba error trying to print to a Windows shared printer... fcintron Linux - Server 2 12-10-2010 03:49 PM
LXer: How To Set Up A Webgui Based Print Server On Ubuntu Server Using SWAT, CUPS, And SAMBA LXer Syndicated Linux News 0 08-20-2010 01:40 PM
Cant print using samba and cups to a windows printer araldit Linux - Networking 5 11-27-2007 09:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:10 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