[Samba] Error when trying to view printer properties
Philip Washington
phwashington at comcast.net
Wed Dec 14 00:17:04 GMT 2005
I have a problem installing a printer shared to windows.
When I go to properties on the printer I have shared I get
Function address 0x606407fe caused a protection fault. (exception code
0xc0000005) Some or all property pages may not be displayed.
Using HP Inkjet 1200
samba-3.0.20b
edited mime.conv
and mime.types and uncomented lines
application/octet-stream application/vnd.cups-raw 0 -
application/octet-stream
------------------------------------------------
[global]
workgroup = DOMAINA
netbios name = SAMBA-CUPS
server string = Samba Server
log file = /var/log/samba/%m.log
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
printer admin = root
cups options = raw
[printers]
comment = All Printers
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
browseable = No
[print$]
comment = Printer driver Download Area
path = /etc/samba/drivers
write list = root
guest ok = Yes
-------------------------------------------------------------------
smbclient //SAMBA-CUPS/print$ -Uroot -c 'cd W32X86;
put hpf0xc12.dat;
put hpfmom12.hlp;
put hpwnsvb.dll;
put hpz2ku12.dll;
put hpzcfg12.exe;
put hpzeng12.exe;
put hpzflt12.dll;
put hpzime12.dll;
put hpzjui12.dll;
put hpzl3212.dll;
put hpzlnt12.dll;
put hpzpm312.dll;
put hpzpre12.exe;
put hpzres12.dll;
put hpzrm312.dll;
put hpzvip12.dll'
rpcclient -Uroot SAMBA-CUPS
rpcclient>adddriver "Windows NT x86"
'hp1200:hpz2ku12.dll:hpf0xc12.dat:hpzpm312.dll:hpfmom12.hlp:NULL:RAW:
hpzcfg12.exe,hpzeng12.exe,hpzflt12.dll,hpzime12.dll,hpzjui12.dll,hpzpre12.exe,
hpzvip12.dll,hpzlnt12.dll,hpzl3212.dll,hpzres12.dll,hpzrm312.dll,hpwnsvb.dll'
I then added a printer using the Printing Configuration and named it
MACH_PRINTER with raw print queue.
restarted cups and samba.
Went to the Windows client and connected to it as root.
Went to Printers and right clicked white background and checked that it
could see the hp1200 driver and looked at the files there.
rcpclient -Uroot SAMBA-CUPS
rpcclient $> setdriver MACH_PRINTER hp1200
Succesfully set MACH_PRINTER to driver hp1200.
rpcclient $> enumdrivers
[Windows NT x86]
Printer Driver Info 1:
Driver Name: [hp1200]
[Windows NT x86]
Printer Driver Info 1:
Driver Name: [hp1200]
restart samba
when I try to go to properties on the MACH_PRINTER I get error
Function address 0x606407fe caused a protection fault. (exception code
0xc0000005) Some or all property pages may not be displayed.
More information about the samba
mailing list