LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-14-2004, 07:22 AM   #1
guyk
LQ Newbie
 
Registered: Mar 2004
Location: Brisbane, Australia
Distribution: Debian (Woody)
Posts: 9

Rep: Reputation: 0
Windows XP -> Debian Printing Hassles


Hi all,

I have a laser printer connected to my debian (3.0r1 woody, kernel 2.4.18) box, which is using cups and samba to serve print requests from my windows xp box. I can print ok to the printer, after I log into my server through network neighbourhood and install the printer on my windows machine.

However, after I reboot my machine, I can no longer print to the printer without having to log back into my linux server through network neighbourhood. I have an smbprint user set up in linux, a member of group "nogroup", set to have no password.

Here is a copy of my smb.conf file:

[global]
passwd program = /usr/bin/passwd %u
printing = cups
dns proxy = no
encrypt passwords = true
socket options = TCP_NODELAY
printcap name = /etc/printcap.cups
invalid users = root
max log size = 1000
obey pam restrictions = yes
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spa$
security = user
server string = %h (Samba %v)
workgroup = HOME
syslog = 0
log file = /var/log/samba/log.%m
printer driver file = /usr/local/samba/printer/printers.def
printer admin = root guy @lp root
show add printer wizard = yes

[homes]
writable = yes
comment = Home Directories
browseable = no
create mask = 0750
directory mask = 0700

[printer$]
comment = Automated Win32 printer driver share
path=/usr/local/samba/printer
guest ok = yes
create mask = 0644
directory mask = 0755
public=yes
writable=no
browseable=yes
write list = root @lp root

[ML1710]
comment = Samsung ML-1710 Laser Printer
browseable = yes
printable = yes
public = yes
create mode = 0755
use client driver = yes
guest ok = yes
guest account = smbprint
path = /home/smbprint
printer driver=Samsung ML-1710 Series
printer driver location=\\%h\printer$

If I try to log into my linux server through network neighbourhood, as smbprint (with no password), it doesn't work.

If anyone has any ideas, please feel free to help me out! This is getting a little frustrating

Also, my automatic print driver download doesn't work either. It says the printer doesn't have the correct drivers installed, even though I've copied the correct drivers to the path in the printer$ share and created a printer.def file. If you can answer this problem as well, I'd be very grateful.

Thanks,
Guy
 
  


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
printing to a debian printer from windows xp home utanja Linux - Networking 9 11-14-2005 01:17 AM
Printing to Windows & access to Windows Network RThomson Linux - General 1 12-19-2004 07:45 PM
Printing To Windows In Debian Little Dump Linux - Newbie 1 09-19-2004 12:05 PM
Networking with Windows XP and printing to Windows XP shared printer AlanButler Red Hat 1 10-27-2003 07:07 AM
dselect hassles... pix Debian 2 07-18-2003 08:19 AM


All times are GMT -5. The time now is 01:55 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration