Well, I got the printer files to install at last, the hard way.
I set up my linux server to serve the drivers, which worked, but one driver
was truncated somehow and windows wouldn't start up properly. I posted about
that separately.
Anyway, I cleaned up that mess and installed the files from the cdrom. Now
that the server can dish out the drivers, the install program doesn't care,
and it installed the drivers from the CDrom. I suspect that windows thinks
it should look for the drivers on the server, but doesn't really get them
from there or some such. Very confusing. BUT:
Windows STILL won't print. The error I get on the windows side is that there
ia a failure to communicate with the printer. The print job stays in the
printer queue on the windows side, never getting sent to the linux server.
The print command never runs, either.
Here are my log files from a successful linux print and a failed windows98
client print.
Failed windows95 print:
1 printing/print_generic.c:print_run_command(90)
2 Running the command `/usr/bin/lpq -Plp' gave 0
3 printing/printing.c:print_queue_update(392)
4 0 jobs in queue for lp
5 smbd/process.c:process_smb(837)
6 Transaction 4 of length 129
7 smbd/process.c:switch_message(650)
8 switch message SMBtrans (pid 30859)
9 smbd/ipc.c:reply_trans(485)
10 trans <\PIPE\LANMAN> data=0 params=49 setup=0
11 smbd/ipc.c:named_pipe(336)
12 named pipe command on <LANMAN> name
13 smbd/lanman.c:api_reply(3331)
14 Got API command 70 of form <zWrLh> <B13BWWWzzzzzWN>
(tdscnt=0,tpscnt=49,mdrcnt=1000,mprcnt=6)
15 smbd/lanman.c:api_reply(3335)
16 Doing DosPrintQGetInfo
17 smbd/lanman.c:api_DosPrintQGetInfo(883)
18 PrintQueue uLevel=2 name=LP
19 smbd/process.c:process_smb(837)
20 Transaction 5 of length 39
21 smbd/process.c:switch_message(650)
22 switch message SMBtdis (pid 30859)
23 smbd/sec_ctx.c:set_sec_ctx(317)
24 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
25 smbd/sec_ctx.c:set_sec_ctx(317)
26 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
27 smbd/service.c:close_cnum(646)
28 hammer1 (192.168.0.1) closed connection to service IPC$
29 smbd/connection.c:yield_connection(50)
30 Yielding connection to IPC$
31 smbd/sec_ctx.c:set_sec_ctx(317)
32 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
33 smbd/process.c:timeout_processing(1062)
34 end of file from client
35 smbd/sec_ctx.c:set_sec_ctx(317)
36 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
37 smbd/server.c:exit_server(448)
38 Closing connections
39 smbd/connection.c:yield_connection(50)
40 Yielding connection to
41 smbd/server.c:exit_server(483)
42 Server exit (normal exit)
~
Successful linux print: Note I have changed my print command for debugging
reasons on line 18.:
printing/print_generic.c:print_run_command(90)
2 Running the command `/usr/bin/lpq -Plp' gave 0
3 printing/printing.c:print_queue_update(392)
4 0 jobs in queue for lp
5 smbd/process.c:process_smb(837)
6 Transaction 5 of length 87
7 smbd/process.c:switch_message(650)
8 switch message SMBwriteX (pid 30655)
9 smbd/reply.c:reply_write_and_X(2783)
10 writeX fnum=8084 num=24 wrote=24
11 smbd/process.c:process_smb(837)
12 Transaction 6 of length 45
13 smbd/process.c:switch_message(650)
14 switch message SMBclose (pid 30655)
15 smbd/reply.c:reply_close(2985)
16 close fd=17 fnum=8084 (numopen=1)
17 printing/print_generic.c:print_run_command(90)
18 Running the command `echo "Tried to print smbprn.0UwjsN" >
/tmp/junk.$s' gave 0
19 smbd/process.c:timeout_processing(1062)
20 end of file from client
21 smbd/sec_ctx.c:set_sec_ctx(317)
22 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
23 smbd/server.c:exit_server(448)
24 Closing connections
25 smbd/sec_ctx.c:set_sec_ctx(317)
26 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
27 smbd/service.c:close_cnum(646)
28 jhammer6 (192.168.0.6) closed connection to service lp
29 smbd/connection.c:yield_connection(50)
30 Yielding connection to lp
31 smbd/sec_ctx.c:set_sec_ctx(317)
32 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
33 smbd/connection.c:yield_connection(50)
34 Yielding connection to
35 smbd/server.c:exit_server(483)
36 Server exit (normal exit)
Here is my printer share for this printer:
[lp]
comment = Raw Printer for Z53
path = /OPEN
create mask = 0777
guest ok = Yes
hosts allow = 192.168.0.
printable = Yes
printing = lprng
print command = echo "Tried to print %s" > /tmp/junk.%s
# print command = /usr/bin/lpr -l -Plp %s
lpq command = /usr/bin/lpq -Plp
lprm command = /usr/bin/lprm -Plp %j
lppause command = /usr/bin/lpc hold lp %j
lpresume command = /usr/bin/lpc release lp %j
printer name = lp
printer driver = Lexmark Z53 Series ColorFine
printer driver location = \\HAMMER2\AllFiles\usr\local\samba\printer
share modes = No
If someone can look at the log from the failed windows98 print attempt and
give me some clues, I would be most appreciative.
Joel
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc
->http://linux.nf/mailman/listinfo/linux-users