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

 

On Thursday 14 May 2009 12:19, Jason Witcher wrote:
> 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 only = yes
>    guest ok = no
>
> Any help will be very gratefully received!
> Jason
I'm assuming that as a server its got no gui?
If so can you attach to it from another machine to do the manageing through a 
gui as the normall graphical setup for sharing printers normally works a 
treat in ubuntu.
Tom te tom te tom


-- 
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