[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4779: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4781: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4782: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4783: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
Gentoo Taiwan 討論區 • 檢視主題 - 請問讓win使用者直接抓取samba的printer driver

請問讓win使用者直接抓取samba的printer driver

好不容易驅動了電視卡,想與人分享您的喜悅嗎?買了無線網路卡卻想盡了辦法也驅動不起來嗎?想買 RAID 卡卻不知道那張好嗎?來這裡就對了!

版主: Forums Team

請問讓win使用者直接抓取samba的printer driver

文章seifer » 週二 5月 25, 2004 7:55 am

我目前狀況是,samba上的printer可以被windows user看見
也可以正常列印,但是必須windows user自己裝driver (HP給windows的driver光碟),我看forums說可以連driver都分享

#cupsaddsmb -H samba -U administrator -h localhost -v HP-LaserJet-1300

可是出現以下訊息:
Password for administrator required to access samba via SAMBA:
Running command: smbclient //samba/print\$ -N -U'administrator%*********' -c 'mkdir W32X86;put /var/spool/cups/tmp/40b28a46dbf37 W32X86/HP-LaserJet-1300.ppd;put /usr/share/cups/drivers/cupsdrv5.dll W32X86/cupsdrv5.dll;put /usr/share/cups/drivers/cupsui5.dll W32X86/cupsui5.dll;put /usr/share/cups/drivers/cups5.hlp W32X86/cups5.hlp'
Domain=[SAMBA] OS=[Unix] Server=[Samba 3.0.2a]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

請問該怎麼辦呢?

我有抓cups driver for windows 且解壓縮到 /usr/share/cups/drivers/ 中了

我的smb.conf :
[global]
workgroup = WORKGROUP
netbios name = Samba
server string = Gentoo_samba_server
dos charset = Big5
unix charset = cp950
printcap name = cups
load printers = yes
printing = cups
log file = /var/log/samba/log.%m
max log size = 0
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
interfaces = eth0

[print$]
comment = Printer Drivers
path = /usr/share/cups/drivers/
guest ok = no
browseable = yes
read only = yes
write list = administrator

[printers]
comment = HP LaserJet 1300
printable = yes
browsable = yes
public = yes
printing = cups
path = /var/spool/samba
printer admin = administrator
頭像
seifer
 
文章: 248
註冊時間: 週三 12月 10, 2003 7:54 am
來自: 台灣/台南

文章maxdj » 週二 6月 15, 2004 4:18 pm

請問您已經可以用WINDOWS透過SAMBA來列印東西了嗎?
還是卡再安裝PRINTER這一步?
maxdj
 
文章: 68
註冊時間: 週日 5月 11, 2003 2:08 am
來自: GCC星球

文章seifer » 週二 6月 15, 2004 8:28 pm

頭像
seifer
 
文章: 248
註冊時間: 週三 12月 10, 2003 7:54 am
來自: 台灣/台南

文章maxdj » 週三 6月 16, 2004 12:33 am

maxdj
 
文章: 68
註冊時間: 週日 5月 11, 2003 2:08 am
來自: GCC星球


回到 Gentoo 硬體

誰在線上

正在瀏覽這個版面的使用者:沒有註冊會員 和 43 位訪客

cron