Friday, June 24, 2005

cause of printing not working

If computer will not print or bring up printer administration interface, make sure localhost is up:

sudo ifconfig lo 127.0.0.1

Connecting to a samba printer

To print to a samba printer called LaserJet-4 on a machine 10.3.13.100

Use the following URL
http://10.3.13.100:631/printers/LaserJet-4

For windows:

Choose
[x] A network printer, or a printer attached to another computer
Select OK

[x] Connect to a printer on the Internet or on a home of office network:
URL: http://10.3.13.110:631/ptiners/slowcoach
Select Next

Friday, June 10, 2005

To view CUPS printing server

http://localhost:631

Printing with SAMBA and CUPS

1. Add this to /etc/samba/smb.conf

Int the global section
[global]
printing = cups
printcap name = cups

[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
# to allow user 'guest account' to print.
guest ok = yes
writable = yes
printable = yes
create mode = 0700

2. Create the /var/spool/samba directory

#sudo mkdir /var/spool/samba
#sudo chmod o+w /var/spool/samba

3. Edit the /etc/cups/cupsd.conf file

Comment out Listen 127.0.0.1:631
Uncomment Port 631

Port 631
#Listen 127.0.0.1:631

4. Restart the samba server


#sudo /etc/init.d/samba restart