Printer problems under Ubuntu 12.04

HI Folks. I’m having some problems with network printing in that niether of our printers will work over the (home) network - this seems to have started just before the “upgrade” from 10.04LTS to 12.04, which was done to try and get rid of the problem, but didn’t (!). Our Dell 5100 works fine when connected via USB, but, whilst it can be seen on the network, we get a “can’t connect to device” when trying to print. Our other printer is a new brother MFC-j5910DW, which we bought for A3 printing, but this has the same problem.

Our network is based around a BT home hub 3, wired to a Emachines desktop, and (separately) to the Dell. We also have an HP G70 connected wirelessly, and have tried the brother connected every way possible with no joy!!

I thought I knew enough to solve this, but obviously I don’t !!, so if anyone can help, that would be brilliant, as I’m getting a tad fed up with 12.04, and am contemplating going back to 10.04, even though this is a major pain in the you know where!

TIA

Sim

Hi Sim, and welcome to the forum :slight_smile:

I’m going to “guess” that like the guy in this topic:
http://linuxforums.org.uk/index.php?topic=10583.0

that local name resolution (DNS) isn’t working on your network … so you need to give the printer a static IP, then connect to it by IP address rather than hostname.

Hi Mark, and thanks for the welcome. I have tried reinstalling avahi, as the thread you referenced suggests, and since this didn’t work, have pasted the contents of the error log /var/log/cups …

E [22/Dec/2012:11:42:48 +0000] Unknown directive SystemGroup on line 16 of /etc/cups/cupsd.conf.
W [22/Dec/2012:11:42:48 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Laser-Printer-5100cn-Gray…’ already exists
W [22/Dec/2012:11:42:48 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Laser-Printer-5100cn-RGB…’ already exists
W [22/Dec/2012:11:42:48 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Laser-Printer-5100cn’ already exists
W [22/Dec/2012:12:46:03 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Laser-Printer-5100cn-Gray…’ already exists
W [22/Dec/2012:12:46:03 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Laser-Printer-5100cn’ already exists
W [22/Dec/2012:12:46:03 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Laser-Printer-5100cn-Gray…’ already exists
W [22/Dec/2012:12:46:03 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Laser-Printer-5100cn’ already exists
W [22/Dec/2012:12:47:06 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Laser-Printer-5100cn-Gray…’ already exists
W [22/Dec/2012:12:47:06 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Laser-Printer-5100cn’ already exists
W [22/Dec/2012:12:50:27 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Laser-Printer-5100cn-Gray…’ already exists
W [22/Dec/2012:12:50:27 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Laser-Printer-5100cn’ already exists
E [22/Dec/2012:12:57:48 +0000] Unknown directive SystemGroup on line 16 of /etc/cups/cupsd.conf.
W [22/Dec/2012:13:04:11 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:13:04:11 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-J5910DW’ already exists
W [22/Dec/2012:13:04:11 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:13:04:11 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-J5910DW’ already exists
W [22/Dec/2012:13:04:11 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:13:04:11 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-J5910DW’ already exists
E [22/Dec/2012:13:34:23 +0000] Unknown directive SystemGroup on line 16 of /etc/cups/cupsd.conf.
W [22/Dec/2012:13:34:23 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:13:34:23 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-J5910DW’ already exists
W [22/Dec/2012:13:43:09 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-6550MC-Gray…’ already exists
W [22/Dec/2012:13:43:09 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-6550MC’ already exists
W [22/Dec/2012:13:43:09 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-6550MC-Gray…’ already exists
W [22/Dec/2012:13:43:09 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-6550MC’ already exists
W [22/Dec/2012:13:43:09 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-6550MC-Gray…’ already exists
W [22/Dec/2012:13:43:09 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-6550MC’ already exists
W [22/Dec/2012:19:22:05 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:19:22:05 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-J5910DW’ already exists
W [22/Dec/2012:19:22:05 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:19:22:05 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-J5910DW’ already exists
W [22/Dec/2012:19:22:05 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:19:22:05 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-J5910DW’ already exists
W [22/Dec/2012:19:22:05 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘Brother-MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:19:22:05 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-Brother-MFC-J5910DW’ already exists
W [22/Dec/2012:19:33:54 +0000] failed to CreateProfile: org.freedesktop.ColorManager.AlreadyExists:profile id ‘MFC-J5910DW-Gray…’ already exists
W [22/Dec/2012:19:33:54 +0000] failed to CreateDevice: org.freedesktop.ColorManager.AlreadyExists:device id ‘cups-MFC-J5910DW’ already exists
E [22/Dec/2012:19:37:43 +0000] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/MFC-J5910DW) from localhost
E [22/Dec/2012:19:42:14 +0000] Returning IPP client-error-document-format-not-supported for Print-Job (ipp://localhost:631/printers/MFC-J5910DW) from localhost
E [22/Dec/2012:20:13:34 +0000] Avahi client failed, closing client to allow a clean restart

So, again following the referenced thread, here is the config file…

Sample configuration file for the CUPS scheduler. See “man cupsd.conf” for a

complete description of this file.

Log general information in error_log - change “warn” to “debug”

for troubleshooting…

LogLevel warn

Deactivate CUPS’ internal logrotating, as we provide a better one, especially

LogLevel debug2 gets usable now

MaxLogSize 0

Administrator user group…

SystemGroup lpadmin

Only listen for connections from the local machine.

Listen localhost:631
Listen /var/run/cups/cups.sock

Show shared printers on the local network.

Browsing Off
BrowseOrder allow,deny
BrowseAllow all
BrowseLocalProtocols CUPS dnssd
BrowseAddress @LOCAL

Default authentication type, when authentication is required…

DefaultAuthType Basic

Web interface setting…

WebInterface Yes

Restrict access to the server…

Order allow,deny

Restrict access to the admin pages…

<Location /admin>
Order allow,deny

Restrict access to configuration files…

<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny

Set the default printer/job policies…

# Job/subscription privacy... JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default

Job-related operations must be done by the owner or an administrator…

Order deny,allow Require user @OWNER @SYSTEM Order deny,allow

All administration operations require an administrator to authenticate…

AuthType Default Require user @SYSTEM Order deny,allow

All printer operations require a printer operator to authenticate…

AuthType Default Require user @SYSTEM Order deny,allow

Only the owner or an administrator can cancel or authenticate a job…

Require user @OWNER @SYSTEM Order deny,allow Order deny,allow

Set the authenticated printer/job policies…

# Job/subscription privacy... JobPrivateAccess default JobPrivateValues default SubscriptionPrivateAccess default SubscriptionPrivateValues default

Job-related operations must be done by the owner or an administrator…

AuthType Default Order deny,allow AuthType Default Require user @OWNER @SYSTEM Order deny,allow

All administration operations require an administrator to authenticate…

AuthType Default Require user @SYSTEM Order deny,allow

All printer operations require a printer operator to authenticate…

AuthType Default Require user @SYSTEM Order deny,allow

Only the owner or an administrator can cancel or authenticate a job…

AuthType Default Require user @OWNER @SYSTEM Order deny,allow Order deny,allow

and the output from the groups command…

sim@sim-flaptop:~$ groups
sim adm dialout cdrom audio video plugdev fuse lpadmin netdev admin sambashare
sim@sim-flaptop:~$

I will delete all the print queues and such, reboot, and try again, before my next post!!

Thanks for reading!

Sim

Does this help at all. Don’t know enough about any of this (!).

When I send a job to the printer, either wirelessly or over USB, the printer lights up, and then ubuntu comes up with an error “connecting to device”, then says printing completed, but nothing has happenned

I thought you said it worked over USB ?

I did, and it did, well the dell did (!). the brother is brand new, bought on the advice of brother, who claim to have full linux drivers on their website for the full all-in-one functionality of this MFC… But, I can’t get it to work. We also bought the brother, as we’re having major structural repairs done on our home at the mo, and the Dell has gone into storage (with just about everything else)… all a bit frantic at Christmas, but there you go!

I have rebooted, deleted the print queues, and tried to print a test page from within CUPS, but the printer just lights up, and does nothing else - I even tried pressing a few keys and sending the test page again, but to no avail…

I’ll try this, from post 11 in your referenced thread, next:-
Is hpijs installed then ? … try uninstalling it:
Code: [Select]

sudo apt-get remove hpijs printer-driver-hpijs

then make sure hplip is installed:
Code: [Select]

sudo apt-get install hplip

the try deleting the printer, and setting it up again.

And post back when i’ve tried it…

Thanks again

SIm

There’s no point changing hpis or hplip … those are the drivers for HP printers.

So are we just trying to get the brother to work at the moment ? … as you don’t have access to the Dell ?

if so, have you got a link to the drivers that are supposed to be on the Brother website ? … as I can’t find any. (EDIT: FOUND THEM)

so does the brother work from USB or not ?

Can you confirm the Brother model is MFC-j5910DW

and is your Ubuntu 12.04 32bit or 64bit ?

.

Ok then. I’ve done the above, but when I try to set the printer up again, ubuntu finds two versions of the printer, one "Brother MFC-J5910DW (BRW0080927F0244) , and, on the line below Brother MFC-J5910DW (BRN001BA9BFA465, 192.168.1.73 ) and the laptop is running really slow at this point, if I try to toggle between options. using the first “choice”, the right hand window gives me an option to probe the printer, but this appears to do nothing. Using the second, and choosing the IPP option from the right hand window, sends ubuntu looking for drivers. it doesn’t find the printer specific ones, and even though I have down loaded them from the brother support site, and installed them (?), the printer still doesn’t work! ( out of frustration, I have previously tried most of the options - but none of them work!)

The brother support site stuff can be found at:- Brother support website

Just trying to get this to work at the mo… and it doesn’t work from USB. the model is MFC-J5910DW. ( simply the cheapest A3 printer "with Linux support " !!! I could find in stock locally )

EDIT:- sorry, forgot to add, 64bit ubuntu on the g70

I get the same error as before = “connecting to device”, and then “printing completed”, but like Keith had - it lies!!

I’m afraid I’m a bit lost here! - but I have attached the latest error log from CUPS, in case that helps!

thanks

Sim

OK, are you using 32bit or 64bit Ubuntu ? ← OK ignore this, just saw your edit … 64bit

and can you open a terminal and run:

dpkg -l | grep mfcj5910

and post the output.

Yep, no problem:-

sim@sim-flaptop:~$ dpkg -l | grep mfcj5910
ii mfcj5910dwlpr:i386 3.0.0-1 Brother lpr Inkjet Printer Definitions
sim@sim-flaptop:~$

and 64 bit, sorry I forgot, again !!

I have noticed a few other “issues” with 12.04, since I upgraded, and mention them here just for completeness…

The G70 now runs very hot - the bottom left corner of the keyobord is actually 44 centigrade, and the middle of the underside is running at 56! I don’t remember it doing so before…

On cold start, two wide bars appear across the screen for a short period, maybe 15 to 20 secs, before they dissappear, and another 15 secs later, the login/password prompt appears.

The machine will also quite frequently fail to suspend, and only removing the battery sorts this out…

???

One problem at a time :slight_smile:

first make sure you have ia32-libs and tcsh installed:

sudo apt-get install ia32-libs tcsh

Then … you appear to be missing the cupswrapper driver from Brother … so install it with these 4 commands:

mkdir ~/brother
cd ~/brother
wget http://pub.brother.com/pub/com/bsc/linux/dlf/mfcj5910dwcupswrapper-3.0.0-1.i386.deb
sudo dpkg -i --force-all mfcj5910dwcupswrapper-3.0.0-1.i386.deb

then go to the CUPS interface … in your web browser, go to:
http://localhost:631/printers

and make sure you add a printer with these settings:-

  • “LPD/LPR Host or Printer” or “AppSocket/HP JetDirect” for Device
  • lpd://<Your printer’s IP address>/binary_p1 for Device URI
  • Brother for Make/Manufacturer Selection
  • Your printer’s name for Model/Driver Selection

.

I’m a bit bothered about those temperatures … can you provide the exact model of G70

and the output from:

sudo lshw -C display

THANK YOU THANK YOU THANK YOU!!! we now have a working printer!!!

I;ll do the other bit in a min - just wanted to thank you first!

sim@sim-flaptop:~$ sudo lshw -C display
[sudo] password for sim:
*-display
description: VGA compatible controller
product: G98 [GeForce 9200M GS]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:16 memory:d2000000-d2ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:5000(size=128)
sim@sim-flaptop:~$

And its a G70-120EM

And the temps I gave before will be pretty accurate, as they were measured with a Fluke 62 Mini IR Thermometer.

heh … glad the printers working :slight_smile:

If you go to “Additional Drivers” … is it offering any NVIDIA drivers for activation ?

Us too!! thought we’d be having a battle with the “supplier” - thanks again for your help…

“additional drivers” found a newer Nvidia driver, version 173, and “it” is currently downloading it ( must be HUGE - been at it a while! )…

Just had a daft error from ubuntu - “connecting to device”, despite your efforts, and my minimal ( read “typing” ) input, but as with Keiths problem, it prints the document fine (?).

Will post up when the driver is updated…

Many thanks again.

Sim

You’re welcome :slight_smile:

Let me know if it runs any cooler once the NVIDIA drivers are installed and you’ve rebooted … and obviously given it time to cool down.

Will do, I have just rebooted to activate the “new” driver, and at the mo it is running hotter, and slower than before - underneath is now 60 C - time to shut it down and leave it to cool, I reckon, but I’ll post back when its up from stone cold…

You can always de-activate the NVIDIA driver … which should reinstall the open source nouveau drivers.

I’ll see if I can find any known issues with your particular model tomorrow.

Are you sure it doesn’t run that hot in Windows … I’m seeing reports online of G70’s running overly hot in Windows too.

tomorrow I’ll post instructions to install and set up lm-sensors … hopefully that will allow us to monitor the CPU temperature, and maybe some other parameters … then if necessary we can look at installing jupiter power manager and setting CPU “On Demand” which will throttle the CPU frequency unless needed.

On the off chance I forget (it has been known) … remind me tomorrow :wink:

Hi Mark, the machine has been up now, this morning, for several hours, and was running at a lower temperature, until I went on-line. The other problem we have is that the display can not now keep up with my typing, which doesn’t apply in gedit, for example, but in firefox is a complete pain - weird.

I will disable the NVIDIA driver, if I can work out how, and come back soon…

ATB

Sim

Well then, the Nvidia driver needed several updates, and re-boots to sort the typing sync ( or non sync ) issue, but this is fine now! It is running version 173, with the second set of updates to that version, which is recommended by Ubuntu ( says recommended in brackets ).

Windoze??? whats that then? (!!) we bought this to replace an Acer which had “departed this life”, and although it came with Vista, the first thing I did was get rid of it and put Solaris on it. we migrated to Ubuntu later on… first 9.X, then 10.04, and now 12. From my limited experience I prefferred 10, but essentially, I have no idea how hot it ran under Mr Gate’s offering, sorry.

Going to go and do some work now (!), but I’ll leave “her” up, and keep my eye on the temps with the Fluke, and post back this evening…

Thank again

ATB

Sim