January 2004 Archives
I could not print to SMB printer from my OS X for quite a long time. It used to terminate printing with the errors:
Unable to connect to SAMBA host, will retry in 60 seconds
Connection failed with error NT_STATUS_UNSUCCESSFUL
It was too frustrating .. and no pointers on the net helped. So, I started poking around, found /etc/cups/printers.conf file. The URI was
quite wrong for the SMB printer, and that was the reason it did not print. So, I created printers.conf with the following:
<DefaultPrinter printer>
Info HP
Location MYDOMAIN
DeviceURI smb://ramprasad:jmypass@mydomain/myprintserver/HP
State Idle
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>
Now, I restarted cupsd it, yahoo !! ... it started working fine ..
Panther Rocks !!
(I could never do such a thing in Windows)
I had this requirement for moving/deleting the old bin log files of mysql from my server since they were hogging too much of the server space. I wrote this small script (might need polishing) to do the work.
Check it out and send me your feedback.
I have got an eMac now, with Panther. and it rocks !!
