Web Server forum
Back To The Forum Home!Search!Private Messaging System


Web Server Talk Web Server Talk > Internet Protocols > Samba > [Samba] Error when trying to view printer properties




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [Samba] Error when trying to view printer properties  
Philip Washington


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-14-05 01:49 AM

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.ex
e,
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.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:39 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 

Back To The Top
Home | Usercp | Faq | Register