WinXP Print-Properties Crash

leolite1 at gmail.com leolite1 at gmail.com
Thu Dec 23 06:05:50 PST 2004


Sorry on skipping the details...

pipitas wrote:
> Sorry,
>
> too little info to give any helpful answers. Please provide exact version
> info about your Samba, CUPS, OS and printer driver installations (including
> the used PPDs).
>
> Have you run the PPDs through the "cupstestppd" utility?
> Do you have printers with longer than 8 char names?
> What does your smb.conf look like?
> What does your smbd.log show if you set "debug level = 3" (or higher)?
> What is in your Windows event log?
>
> Can you open the "properties" of the printer/driver?
> Can you change and save these properties?
>
> Have you seen The Official Samba HOWTO Collection and Reference Guide?
> (http://samba.vernstok.nl/ with 2 detailed chapters on printing)
>
> Cheers,
> Kurt

========
samba-3.0.0-15,cups-1.1.19-13,WinXP Professional SP2

I installed the printer drivers through "cupsaddsmb" utility which installed everything fine. Can print directly, but just "clicking" on "Properties" -> "Printing Preferences" will crash the client application or explorer if done from "Printers and Faxes". After that if I try to open the printer, the heading is "HPLJ5L on mercury Failed to open,retrying". Even restaring smb and/or cups doesn't help, I have to restart WinXP client or sometime reinstalling the printer helps. I think there is serious compatiblity issue of the drivers with WinXP, if there was something wrong in the printer ppd or setup then thn Win98 client should not be able to accomplish accessing the "Printing Preferences".

The drivers are installed /etc/samba/drivers are:

total 16
drwxr-xr-x    4 root     root         4096 Dec 22 19:47 .
drwxr-xr-x    3 root     root         4096 Dec 23 07:52 ..
drwxr-xr-x    3 root     root         4096 Dec 22 19:47 W32X86
drwxr-xr-x    3 root     root         4096 Dec 22 19:47 WIN40

./W32X86:
total 12
drwxr-xr-x    3 root     root         4096 Dec 22 19:47 .
drwxr-xr-x    4 root     root         4096 Dec 22 19:47 ..
drwxr-xr-x    2 root     root         4096 Dec 22 19:47 2

./W32X86/2:
total 696
drwxr-xr-x    2 root     root         4096 Dec 22 19:47 .
drwxr-xr-x    3 root     root         4096 Dec 22 19:47 ..
-rwxr--r--    1 root     root       457600 Dec 22 19:46 ADOBEPS5.DLL
-rwxr--r--    1 root     root       135680 Dec 22 19:46 ADOBEPSU.DLL
-rwxr--r--    1 root     root        18451 Dec 22 19:46 ADOBEPSU.HLP
-rwxr--r--    1 root     root        72076 Dec 22 19:46 HPLJ5L.PPD

./WIN40:
total 12
drwxr-xr-x    3 root     root         4096 Dec 22 19:47 .
drwxr-xr-x    4 root     root         4096 Dec 22 19:47 ..
drwxr-xr-x    2 root     root         4096 Dec 22 19:47 0

./WIN40/0:
total 2316
drwxr-xr-x    2 root     root         4096 Dec 22 19:47 .
drwxr-xr-x    3 root     root         4096 Dec 22 19:47 ..
-rwxr--r--    1 root     root       575573 Dec 22 19:47 ADFONTS.MFM
-rwxr--r--    1 root     root      1295840 Dec 22 19:47 ADOBEPS4.DRV
-rwxr--r--    1 root     root       196460 Dec 22 19:47 ADOBEPS4.HLP
-rwxr--r--    1 root     root        13492 Dec 22 19:47 DEFPRTR2.PPD
-rwxr--r--    1 root     root        72076 Dec 22 19:47 HPLJ5L.PPD
-rwxr--r--    1 root     root       118128 Dec 22 19:47 ICONLIB.DLL
-rwxr--r--    1 root     root        57344 Dec 22 19:47 PSMON.DLL

This is the end chunk of samba lgo file at the time of crash with "
log level = 3 passdb:5 auth:10 winbind:2":

[2004/12/23 07:51:09, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0
[2004/12/23 07:51:10, 3] smbd/process.c:process_smb(890)
  Transaction 24918 of length 278
[2004/12/23 07:51:10, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 2294)
[2004/12/23 07:51:10, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE\> data=190 params=0 setup=2
[2004/12/23 07:51:10, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2004/12/23 07:51:10, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "spoolss" (pnum 7479)free_pipe_context: destroying talloc pool of size 0
[2004/12/23 07:51:10, 3] rpc_server/srv_pipe.c:api_rpcTNP(1495)
  api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX
  checking name: \\mercury\HPLJ5L
[2004/12/23 07:51:10, 3] rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(447)
  Setting printer type=\\mercury\HPLJ5L
[2004/12/23 07:51:10, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 66
[2004/12/23 07:51:10, 3] smbd/process.c:process_smb(890)
  Transaction 24919 of length 132
[2004/12/23 07:51:10, 3] smbd/process.c:switch_message(685)
  switch message SMBtrans (pid 2294)
[2004/12/23 07:51:10, 3] smbd/ipc.c:reply_trans(514)
  trans <\PIPE\> data=44 params=0 setup=2
[2004/12/23 07:51:10, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2004/12/23 07:51:10, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "spoolss" (pnum 7479)free_pipe_context: destroying talloc pool of size 0
[2004/12/23 07:51:10, 3] rpc_server/srv_pipe.c:api_rpcTNP(1495)
  api_rpcTNP: rpc command: SPOOLSS_CLOSEPRINTER
[2004/12/23 07:51:10, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(200)
  Closed policy
[2004/12/23 07:51:10, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544)
  free_pipe_context: destroying talloc pool of size 0

========

[global]
	workgroup = LEOGROUP
	server string = Samba Server
	hosts allow = 192.168.1.  127.
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	local master = no

	security = user

	load printers = yes
	printing = cups
	printcap name = cups

	log file = /var/log/samba/%m.log
	max log size = 50
	;log level = 3 passdb:5 auth:10 winbind:2

	preserve case = yes
	short preserve case = yes
	default case = lower
	case sensitive = no
	hide dot files = yes

[printers]
	comment = All Printers
	path = /var/spool/samba
	browseable = no
	public = yes
	guest ok = yes
	writable = no
	printable = yes
	printer admin = root

[print$]
	comment = Printer Drivers
	path = /etc/samba/drivers
	browseable = yes
	guest ok = no
	read only = yes
	write list = root

There are some more shared definitions which can be accessed in perfect manner.





More information about the cups mailing list