D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Printer problem on Ubuntu Intrepid server

 

Not sure about the hanging but for the Windows boxes to see this Printer don’t you need to have Guest OK = Yes?

 

Regards,

Dave.

 


From: list-bounces@xxxxxxxxxxxxx [mailto:list-bounces@xxxxxxxxxxxxx] On Behalf Of Jason Witcher
Sent: 14 May 2009 12:19
To: list@xxxxxxxxxxxxx
Subject: [LUG] Printer problem on Ubuntu Intrepid server

 

Hi all,
I have set up an old machine (PIII500) running Ubuntu Intrepid server version. During the install I included Samba as I want to use it as a file and print server - I can now browse from elsewhere in the network to my home folder, so I know that element is working. However, I am having issues with setting up printing.
I've plugged the printer into one of the USB ports and, using w3m, browsed to http://localhost:631. It picks up the printer, recognises it as an HP OfficeJet G55, and lists the driver as 'HP OfficeJet G55 - CUPS+Gutenprint v5.2.0-rc1'. I've given it the name 'HP' and all seems fine, however when I try to print a test page it comes up "Printing page 1, 20%" and goes no further.
Also, if I try to find the printer from a Windows machine it does not show up - I think I've probably messed around with the smb.conf file too much after extensive googling. The relevant parts are as follows:

########## Printing ##########

# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
   load printers = no

# lpr(ng) printing. You may wish to override the location of the
# printcap file
;   printing = bsd
   printcap name = /etc/printcap

# CUPS printing.  See also the cupsaddsmb(8) manpage in the
# cupsys-client package.
   printing = cups
   printcap name = cups

and


[printers]
   comment = All Printers
   browseable = yes
   printable = yes
   printing = cups
   printer = HP
   print command = /usr/bin/lpr -b -P%p -r %s
   lpq command = /usr/bin/lpq -P%p
   lprm command = /usr/bin/lprm -P%p %j
   path = /var/spool/samba
   min print space = 2000

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read >    guest ok = no

Any help will be very gratefully received!
Jason

 

 

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html