Forum Home
Press F1
 
Thread ID: 59232 2005-06-25 07:15:00 Samba and Printer Myth (110) Press F1
Post ID Timestamp Content User
366995 2005-06-25 07:15:00 Ok next problem:
I have a network set up like so:
Windows machine, connected to D-Link 504G ADSL switch/modem.
Linux (FC4) machine connected to same modem/switch.
Both connections are via ethernet cable (NOT USB).
Printer (Epson Stylus C43UX) connected to Linux machine (USB)

Both Comps can see each other, can access files.. so SAMBA set up sweet :)
Windows machine can see printer, goes to send print job off to the printer, and then says it can't print to the printer (and yes the printer is on:p)
Windows user uses password and is configured in samba users, authentication is user level

What am I doing wrong? Should I just connect the printer to the Windows machine (lappie)? Would rather not do that but it is a possibility.
Myth (110)
366996 2005-06-26 03:20:00 Bump Myth (110)
366997 2005-06-26 03:29:00 It should work. :D

Is there a printer server (lpd or cups) running on the Linux box? "linux print" to Google (google.co.nz/) will give you some very good help. ;)
Graham L (2)
366998 2005-06-26 04:54:00 Your Cups log file would have more info on what is going on.

cups help (www.linuxprinting.org)
gibler (49)
366999 2005-06-26 05:30:00 It could be the driver for the printer, had the same problem, but with OS X instead of linux, In the end i just installed a generic postscript driver on the xp machine,
Here are the instructions for xp to mac, the mac part is no use to you but the xp part might behere (www.ifelix.co.uk)
plod (107)
367000 2005-06-26 07:23:00 OK tried those.
Finally found logfile... see what you make of this:

print_job_start: insufficient permissions to open spool file /var/spool/samba/smbprn.00000006.sHhzBE.
[2005/06/26 18:14:06, 0] smbd/service.c:make_connection_snum(615)
'/var/spool/samba' does not exist or is not a directory, when connecting to [stylus-c43--1]
[2005/06/26 18:14:07, 0] smbd/service.c:make_connection_snum(615)
'/var/spool/samba' does not exist or is not a directory, when connecting to [stylus-c43--1]
[2005/06/26 18:14:07, 0] smbd/service.c:make_connection_snum(615)
'/var/spool/samba' does not exist or is not a directory, when connecting to [stylus-c43--1]
[2005/06/26 18:14:07, 0] smbd/service.c:make_connection_snum(615)
'/var/spool/samba' does not exist or is not a directory, when connecting to [stylus-c43--1]
[2005/06/26 18:14:07, 0] smbd/service.c:make_connection_snum(615)
'/var/spool/samba' does not exist or is not a directory, when connecting to [stylus-c43--1]
[2005/06/26 18:14:07, 0] printing/printing.c:print_job_start(2297)
print_job_start: insufficient permissions to open spool file /var/spool/samba/smbprn.00000007.g9amsL.
Myth (110)
367001 2005-06-26 07:37:00 And smb.conf looks like this:

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes
# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
printing = cups
# this tells Samba to use a separate log file for each machine
# that connects
log file = /tmp/samba.%m
# Put a capping on the size of the log files (in Kb).
max log size = 50

then further down it says:

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
use client driver = yes
# Set public = yes to allow user 'guest account' to print
; guest ok = no
; writeable = no
printable = yes

I am probably missing something real obvious, but after looking over this file and that you kinda start skimming stuff
Myth (110)
367002 2005-06-26 11:30:00 I would be inclined to try the following in a web-browser:
http://localhost:631

IIRC, 631 is the CUPSd web configurator port.

Your setup of smb.conf is to SHARE a LOCAL printer on the linux box via SAMBA to the rest of the network, not connect to a remote one :)

No worries thou, easy mistake to make.

Anyways, just use the CUPSd Web Interface to set up the printer properly and you should be good :)
Chilling_Silence (9)
367003 2005-06-26 20:45:00 Thanx all, especially Gibler and Chilling.
I had skimmed the page Gibler posted (coz by this stage I was getting ummm very annoyed)
Had a look at what Chilling posted and thought hmmm, need to reread Giblers CUPs help closer.
Looks like I will be deleting printer and adding it PROPERLY tonite

Thanx again :)

If I have further problems I will post again
Myth (110)
367004 2005-06-29 06:25:00 <still dancing round the room> (well its been a week of frustration)

Got it :D:D:D finally

Had a look at the cups manual, didn't work, almost gave up then remembered someone in another forum told me that KDE had a better interface for setting up various things.
Went to print manager, tried what it said, which didn't work, but it lead me eventually to this: Setup with Samba (fedoranews.org)

And it worked :D

Thank you all for helping me or giving me ideas :)
Myth (110)
1 2