Jump to content

Cross-platform printing [Solved]


Scythe
 Share

Recommended Posts

 [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 by Scythe
Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...