LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-13-2003, 10:40 AM   #1
deano
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Rep: Reputation: 0
samba and windows printer drives.


Hi

Have got samba server 2.2.3a-12.3 for debian and cups version 1.1.

Are using cups as a raw device for the printers, so it`s just a print spool machine and using samba to share out the printers. Users and mapping to the printers as User "guest" Users can print to the printer fine. How ever if i try to update the drivers for the printer of the samba box i get a error MSG asking for "*.inf on windows 2000 server cd-rom" we are using win2kpro clients with sp4 on them. Can not get past this driver installation to install the new driver any suggestions? or sites to have a look thanks

and we are using cups versionn 1.10
Cheers

Andy Dean


samba smb.conf

# Samba config file created using SWAT
# from 151.151.3.206 (151.151.3.206)
# Date: 2003/10/13 16:24:57

# Global parameters
[global]
workgroup = LINK_51
netbios name = PS-RSD14
server string = %h server (Samba %v)
encrypt passwords = Yes
map to guest = Bad Password
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
guest account = everyone
invalid users = root
admin users = everyone
printer driver location = /var/spool/printer$

[homes]
comment = Home Directories
create mask = 0700
directory mask = 0700
browseable = No

[print$]
path = /var/spool/printers
write list = everyone

[printers]
comment = All Printers
path = /tmp
printer admin = everyone
create mask = 0700
guest ok = Yes
min print space = 2000
printable = Yes
printing = cups
use client driver = Yes
printer driver location = /var/spool/printer$

[plotter]
path = /home/plotter
printer admin = everyone
read only = No
create mask = 0700
guest ok = Yes
min print space = 2000
printable = Yes
printing = cups
print command = /usr/bin/lpr-cups -P %p -o raw %s
printer name = plotter
use client driver = Yes
default devmode = Yes

[plotterraw]
path = /tmp
printer admin = adean
read only = No
create mask = 0700
guest ok = Yes
min print space = 2000
printable = Yes
printing = cups
printer name = plotterraw
use client driver = Yes
printer driver = HP DesignJet 750C+ (E/A0) by HP
oplocks = No
 
Old 10-13-2003, 11:33 AM   #2
joshnya
Member
 
Registered: Feb 2003
Location: Boston, MA
Distribution: RedHat 9
Posts: 39

Rep: Reputation: 15
I had this problem too. Point the printer driver wizzard towards the Windows print drivers *.inf files. (whether they are on the win2k disk or downloaded from the web site). The wizzard will ask you twice where the drivers are located. Enter the path as the same each time. (the second time it adds a // to the end of the driver path....delete everything to the right of // and make sure the part on the left is the same path specified earlier in the wizzard.....


Here is what I used...
http://linuxvm.org/present/SHARE101/S9325mma.pdf

Last edited by joshnya; 10-13-2003 at 11:38 AM.
 
Old 10-13-2003, 03:37 PM   #3
deano
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Hi

thanks for that and the link, i see what i can do in the morning when i`m back in work.

cheers

deano
 
Old 10-14-2003, 03:12 AM   #4
deano
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Hi
have read threw the pdf and also tried with 2 different locations for thr ntprint.inf but still am not able to upload the driver with a error:-

"unable to install Hp DesignJet 750c+ (E/AO) by HP, windows NT 4.0 0r 2000, intel driver. Operation could not be completed.

Thanks for any further help or suggestions.

Deano
 
Old 10-16-2003, 10:33 AM   #5
deano
LQ Newbie
 
Registered: Oct 2003
Posts: 7

Original Poster
Rep: Reputation: 0
got it sorted

Installed Suse 8.1 on a nother machine, copied over me smb.conf file and cups folder, joined samba to the domain and low and behold it now works without any problems at all.

So much for libranet.

Thanks for the replies

Deano
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba, windows, and multiple drives. hondaman Linux - Software 7 08-01-2005 06:45 AM
samba and windows hard drives citrus Linux - Newbie 0 01-05-2005 02:28 AM
samba and windows printer BobNz Linux - Newbie 1 04-25-2004 07:50 PM
Samba and windows printer shares... CletusJones Linux - Software 2 10-30-2003 10:49 AM
Samba cannot access Windows Printer ZhiYi Linux - Networking 1 02-26-2003 12:01 PM


All times are GMT -5. The time now is 06:43 PM.

Main Menu
 
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
Open Source Consulting | Domain Registration