Scythe Posted February 17, 2006 Author Report Share Posted February 17, 2006 I don't have a firewall set on that machine. Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 17, 2006 Report Share Posted February 17, 2006 hmmm... . try to restart cups, then print a document (testing) then check your log files... as root in konsole . #tail -f /var/log/cups/error_log . or #tail -f /var/log/cups/access_log . we might get a hint from logs Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 17, 2006 Author Report Share Posted February 17, 2006 (edited) [root@localhost scythe]# /etc/init.d/cups restart Stopping CUPS printing system: [ OK ] Starting CUPS printing system: [ OK ] [root@localhost scythe]# tail -f /var/log/cups/error_log I [17/Feb/2006:12:57:12 -0600] Hint: Try setting the LogLevel to "debug" to find out more. E [17/Feb/2006:12:57:12 -0600] PID 4373 stopped with status 0! I [17/Feb/2006:12:57:12 -0600] Hint: Try setting the LogLevel to "debug" to find out more. I [17/Feb/2006:12:57:12 -0600] Saving printers.conf... I [17/Feb/2006:12:57:12 -0600] Printer 'Laserjet1100' now accepting jobs ('root'). I [17/Feb/2006:12:57:12 -0600] Printer 'Laserjet1100' started by 'root'. E [17/Feb/2006:12:57:13 -0600] [Job 4] No ticket cache found for userid=0 E [17/Feb/2006:12:57:13 -0600] [Job 4] Can not get the ticket cache for root E [17/Feb/2006:12:57:13 -0600] [Job 4] Tree connect failed E [17/Feb/2006:12:57:14 -0600] [Job 4] Unable to connect to SAMBA host, will retry in 60 seconds...foomatic-rip version $Revision: 3.43.2.14 $ running... E [17/Feb/2006:12:58:13 -0600] [Job 4] No ticket cache found for userid=0 E [17/Feb/2006:12:58:13 -0600] [Job 4] Can not get the ticket cache for root E [17/Feb/2006:12:58:13 -0600] [Job 4] Tree connect failed And [root@localhost scythe]# tail -f /var/log/cups/access_log 200 26996 localhost - root [17/Feb/2006:12:59:32 -0600] "POST / HTTP/1.1" 200 381 localhost - root [17/Feb/2006:12:59:37 -0600] "POST /printers/ HTTP/1.1" 200 224 localhost - root [17/Feb/2006:12:59:37 -0600] "POST /classes/ HTTP/1.1" 200 224 localhost - root [17/Feb/2006:12:59:37 -0600] "POST /printers/ HTTP/1.1" 200 112 localhost - root [17/Feb/2006:12:59:37 -0600] "POST /printers/ HTTP/1.1" 200 380 localhost - - [17/Feb/2006:12:59:37 -0600] "POST / HTTP/1.1" 200 207 localhost - - [17/Feb/2006:12:59:37 -0600] "GET /ppd/Laserjet1100.ppd HTTP/1.1" 200 26996 localhost - root [17/Feb/2006:12:59:37 -0600] "POST / HTTP/1.1" 200 381 I know that the Linux box can talk to the Windows box, because I can access my Windows shared folders remotely from my Linux box. If that helps. Edited February 17, 2006 by Scythe Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 18, 2006 Report Share Posted February 18, 2006 hmmm... there's a part there that says unable to connect to samba host (which is the windows holding the printer) . below is my /etc/cups/printer.conf file # Written by cupsd on Mon Jan 2 11:32:52 2006<DefaultPrinter printer-name-on-linux> Info APPLE LaserWriter 16/600 PS Location windows-pc DeviceURI smb://username-on-windows:password@workgroup/network-name-of-windows-pc/shared-printer-name State Idle Accepting Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 </Printer> try to edit yours, try to check the device URI portion . make sure that the username-in-windows really exist on windows pc, to make sure, you can try to use the administrator and its password. . then restart cups Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 18, 2006 Author Report Share Posted February 18, 2006 If my Administrator account has no password, would I include the colon after smb://administrator or not? I'm thinking not. And is it case sensitive? Ohterwise, everything looks right. Quote Link to comment Share on other sites More sharing options...
aioshin Posted February 19, 2006 Report Share Posted February 19, 2006 sorry, have'nt tried it (with-out password) so you have to try it yourself... password are case sensitive. . I think you dont have to put a collon after administrator if you dont have one, but if it'll not work, you might also try to assign a password on that admin user.. try every possible option you have Quote Link to comment Share on other sites More sharing options...
Scythe Posted February 19, 2006 Author Report Share Posted February 19, 2006 YESSSS!! IT WORKS!!!! Created an administrator password on my XP machine and now it works. Thanks sooooo much for the help :) I genuinely appreciate it. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.