With LibreOffice 4.2.3, when printing to a remote cupsd over a TCP connection, the error message "Could not start printer. Please check your printer configuration." is displayed, but the document is still printed. This did not happen in 4.2.4. Verified with 4.2.3 on Ubuntu 12.04 and 14.04, and with 4.2.4 RC1 on Ubuntu 14.04.
I think this happens to the first job sent on a particular TCP connection. If I send two jobs in a row, I see the message on the first job but not the second. If I wait for the CUPS connection timeout to elapse (default 5 minutes) and send another job, I see the message again.
Steps to reproduce:
1. Configure CUPS to use a TCP connection: mkdir ~/.cups ; echo 'ServerName 127.0.0.1' >> ~/.cups/client.conf
2. Open LibreOffice and print a document.
An error message is displayed. However,the document is still printed.
No error message should appear.
> With LibreOffice 4.2.3, when printing to a remote cupsd over a TCP
> connection, the error message "Could not start printer. Please check your
> printer configuration." is displayed, but the document is still printed.
> This did not happen in 4.2.4. Verified with 4.2.3 on Ubuntu 12.04 and 14.04,
> and with 4.2.4 RC1 on Ubuntu 14.04.
Can confirm on Debian 7.4 amd64 with LibreOffice 184.108.40.206 and CUPS (cups 1.5.3-5+deb7u1) network printer.
if it work now again with LibreOffice 4.2.4 RC1, did you know which commit fix this issue?
(In reply to comment #1)
> @ Ryan,
> if it work now again with LibreOffice 4.2.4 RC1, did you know which commit
> fix this issue?
Sorry. I made a typo. It worked in 4.2.2. The bug exists in 4.2.3 and in 4.2.4 RC1.
(In reply to comment #2)
> Sorry. I made a typo. It worked in 4.2.2. The bug exists in 4.2.3 and in
> 4.2.4 RC1.
Maybe this is the underlying cause for this issue?
Created attachment 97833 [details]
I confirm the bug,
but the bug occurs also on a USB printer ( a cups printer, Canon lasershot LBP 3000 ), no need to print over a tcp connection, the bug will occur with a direct connection ( USB ) to a printer,
I use archlinux 64 bits, libreoffice 4.2.3,
the first attempt I get an error message "Could no start printer,please check your printer configuration", but the document is still printed despite the error message,
th second attempt: no error message,
so this error message happens on a first attempt of printing in libreoffice,
it's probably easy to correct this bug
On openSUSE 13.1 with 4.2.3 from Factory
The first print is OK, after that it's about
every other print job gives the error.
This is openSUSE with CUPS 1.7.1 not the 'out
of the box' version
I can confirm this on Xubuntu 12.04 (both 32 and 64 bit) with LO 220.127.116.11 with two Ricoh networked printer configured on CUPS as lpd://ipaddr/PASSTHRU.
Documents, despite error are printed.
(In reply to comment #5)
> but the bug occurs also on a USB printer ( a cups printer, Canon lasershot
> LBP 3000 ), no need to print over a tcp connection, the bug will occur with
> a direct connection ( USB ) to a printer,
By "TCP connection" I meant that the client (libcups) is talking to cupsd over TCP (probably on port 631) and not over a Unix socket (/var/run/cups/cups.sock or similar). I have not seen this happen when the Unix socket is used, but maybe someone else has. The connection from cupsd to the printer doesn't matter.
(In reply to comment #3)
> Maybe this is the underlying cause for this issue?
Probably. I am trying to build 4.3 from git to check whether the bug is still there, and then I'll try 4.2 with that change reverted.
can confirm the bug on ubuntu 14.04 with LO 18.104.22.168
Confirmed with kubuntu 12.04 and libo 22.214.171.124, this badly hurts LTSP installations fat clients since they see printers this way triggering the bug. I hear lot of schools start screaming...
I'm gettings this too in Ubuntu 14.04 / LibreOffice 1:4.2.3~rc3-0ubuntu2,
both on USB printers and on network printers,
usually not the first time I print, but from the second time and on.
I've done some further tests.
I've tried to bibisect, but latest bibisect build is 126.96.36.199alpha1 and of course has not the bug.
I've compiled 4.3 from source (Alpha1), and the bug seems NOT there (I've used autogen.sh --enable-kde4 --without-java hope is not java related).
Hope the fix will be backported in 4.2 soon or the fix reverted
i add you to the cc list, maybe this commit ist the underlying cause for this issue in 4.2.
this sounds like the sort of problem that would be fixed by 8c0d051a0e719fe51fdc5cab1b01afbf721e5e75
can you please test if it is fixed already in 188.8.131.52 ?
> can you please test if it is fixed already in 184.108.40.206 ?
Yes as soon a download of 220.127.116.11 is available.
Usually I omit simple "me too" posts, but to confirm this sequence occurring with LibreOffice 1:4.2.3~rc3-0ubuntu2~precise1:
first print is ok, following prints throw this "could not start printer"
System ist Ubuntu 12.04.3 LTS
Printer is a HP G85 connected through USB with cups 1.5.3-0ubuntu8.2 and hplip 3.12.2-1ubuntu3.4
> can you please test if it is fixed already in 18.104.22.168 ?
Confirm it is fixed in Version: 22.214.171.124 (Build-ID: 63150712c6d317d27ce2db16eb94c2f3d7b699f)
Xubuntu 12.04 Lts 32: tested with Version: 126.96.36.199 (RC2). The customer reported that the problem has solved. Going to make further tests on my own.
Seems OK on openSUSE ( 188.8.131.52 from factory )
thanks for feedback, setting to VERIFIED
*** Bug 78446 has been marked as a duplicate of this bug. ***
*** Bug 78285 has been marked as a duplicate of this bug. ***
The 184.108.40.206 (RC?) update/upgrade from the launchpad.net/libreoffice (testing?) PPA did not fix the inability to print on my Ubuntu 14.04 LTS system.
The HP C4210 printer still prints perfectly from the LibreOffice suite on the Windows 8.1 computer (that the printer is physically connected to) as it does from every other program on either system.
The LibreOffice suite on the Ubuntu system does not bring up an authentication pop-up dialogue after you have clicked on the "Print" icon (as do all of the other applications on the Ubuntu system). Obviously, the Windows host computer requires no such authentication dialogue in order to enable printing.
Of far greater concern to me, after the installation of this PPA, I am now getting a triangular warning notification in the Panel that when clicked upon reads....as follows.
"The update information is outdated. This may be caused by network problems or by a repository that is no longer available. Please update manually by selecting 'Show updates' from the indicator menu, and watching for any failing repositories.
I am still experiencing this issue. I'm on Ubuntu 14.04 LTS 64-bit, updated to the latest version. I'm using LibreOffice 220.127.116.11 from LibreOffice 4.2 PPA. I can't print to my local wifi printer with LibreOffice.
My workaround is that, I have to export my documents in LibreOffice as PDF, and print those documents with PDF viewer in Ubuntu.
I'm a little bit wondering that this bug marked as FIXED.
(In reply to comment #24)
> I am still experiencing this issue. I'm on Ubuntu 14.04 LTS 64-bit, updated
> to the latest version. I'm using LibreOffice 18.104.22.168 from LibreOffice 4.2
> PPA. I can't print to my local wifi printer with LibreOffice.
> My workaround is that, I have to export my documents in LibreOffice as PDF,
> and print those documents with PDF viewer in Ubuntu.
You was always able to print with this bug, there was only a wrong error message.
Not the issue of this bug report, create a new one.
(In reply to comment #25)
> (In reply to comment #24)
> > I am still experiencing this issue. I'm on Ubuntu 14.04 LTS 64-bit, updated
> > to the latest version. I'm using LibreOffice 22.214.171.124 from LibreOffice 4.2
> > PPA. I can't print to my local wifi printer with LibreOffice.
> > My workaround is that, I have to export my documents in LibreOffice as PDF,
> > and print those documents with PDF viewer in Ubuntu.
> You was always able to print with this bug, there was only a wrong error
> Not the issue of this bug report, create a new one.
I created a new bug report here.
I am also experiencing this problem as of 6/19/2014, is there a fix?
Why can't Libre Version: 126.96.36.199 Build ID: 420m0(Build:2) print in Ubuntu 14.04lts Intel® Pentium(R) CPU B960 @ 2.20GHz × 2 ? I can print from everything else, I removed and reinstalled Libre upgrade but still same result. Libre reports "Could not start printer.Please check your printer configuration.". I updated everything but I have seen reference to this problem: https://bugs.freedesktop.org/show_bug.cgi?id=77776 but no solution??
If you want to print in LibreOffice, you will have to choose Postscript instead of PDF in the priter setting menu inside LibreOffice. At least, that's how I managed to print via my local wifi printer.