You are not logged in.

#1 2016-12-26 03:43

ghostdawg
Member
From: USA
Registered: 2016-09-19
Posts: 69

Kate and Kwrite Print Error

I just noticed when I try to print using Kwrite and/or Kate, they both show this error message:

"A print error occurred. Error message received from system:

cupsdoprint -P 'MFC5440CN' -J 'Untitled' -H '/var/run/cups/cups.sock:631' -U 'saptech' -o ' copies=1 multiple-document-handling=separate-documents-collated-copies orientation-requested=3' '/home/saptech/.trinity/tmp-ghostdawg8/tdeprint_GDDM0Xln' : execution failed with message:
/bin/bash: cupsdoprint: command not found "

Looking at the last line, it doesn't seem to be listed in the repositories.

$ sudo apt-get install cupsdoprint-trinity
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package cupsdoprint-trinity

$ sudo apt-get install cupsdoprint
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package cupsdoprint

What am I missing with this? Printing works with LO Writer and from browser window.


Dell Optiplex 760 - Quad Core | 4gb | 250gb | Mageia 5, Salix 14.2, Q4OS
Lenovo Thinkpad T420 | 4gb | 120gb | Mageia 5, Debian Testing

Offline

#2 2016-12-26 11:25

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,993

Re: Kate and Kwrite Print Error

cupsdoprint command comes from tdelibs14-trinity, check is that is installed and if not try installing it and it should give you the command required.

Offline

#3 2016-12-27 00:32

ghostdawg
Member
From: USA
Registered: 2016-09-19
Posts: 69

Re: Kate and Kwrite Print Error

Hi Dai_trying, I checked for tdelibs14-trinity and it is already installed:

$ sudo apt-get install tdelibs14-trinity
Reading package lists... Done
Building dependency tree       
Reading state information... Done
tdelibs14-trinity is already the newest version.

I ran the --reinstall command and it still give the error message listed in the first post, above. Any other ideas?

Thnx.


Dell Optiplex 760 - Quad Core | 4gb | 250gb | Mageia 5, Salix 14.2, Q4OS
Lenovo Thinkpad T420 | 4gb | 120gb | Mageia 5, Debian Testing

Offline

#4 2016-12-27 18:38

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,993

Re: Kate and Kwrite Print Error

I don't understand that, if the package is installed it should make the command available...

if you enter which cupsdoprint what does it say?

I have command-not-found installed (great for finding what packages an uninstalled program belongs to) and if I type a command that is not recognized either by not being installed or not available (needs root) it will tell me either what package I need to install or that I need to use root to operate it. This may help find the problem... maybe...

Offline

#5 2016-12-29 09:11

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,335

Re: Kate and Kwrite Print Error

Dai_trying wrote:

I have command-not-found installed (great for finding what packages an uninstalled program belongs to) and if I type a command that is not recognized either by not being installed or not available (needs root) it will tell me either what package I need to install or that I need to use root to operate it. This may help find the problem... maybe...

That is one very useful tool Dai - thank you and Happy New Year!

Offline

#6 2016-12-29 09:29

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,993

Re: Kate and Kwrite Print Error

You're welcome, and best wishes for the new year to one and all. smile

Offline

#7 2017-01-14 15:29

Rademes
Member
From: Latvia
Registered: 2015-12-13
Posts: 637

Re: Kate and Kwrite Print Error

I also can not print from KWrite and Kate. Just get an error message:
I can print from Chromium, OpenOffice, Okular, so I am sure, printer is installed correctly.

Last edited by Rademes (2017-01-14 15:31)


Attachments:
png error1.png, Size: 13.13 KiB, Downloads: 630

Before asking for help please read this topic: https://www.q4os.org/forum/viewtopic.php?id=3502   If you have problems with WiFi network, try to install the Network Manager using Q4OS Software Centre.

Offline

#8 2017-01-15 01:34

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,993

Re: Kate and Kwrite Print Error

I just tested my installation and both kwrite and kate are printing ok. I can't translate your error message but if you paste it as clear text i can run it through google translate and maybe help with it.

Offline

#9 2017-01-15 07:16

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,335

Re: Kate and Kwrite Print Error

Just a thought @ghostdawg - did you install the printer via the Settings>Printer menu or through TDEPrint utility.

It sounds as if TDE is not communicating with CUPS properly.

Offline

#10 2017-01-15 09:06

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,506
Website

Re: Kate and Kwrite Print Error

@Rademes
We are not able to reproduce it too. Any additional information would be appreciated.

Offline

#11 2017-01-22 22:55

ghostdawg
Member
From: USA
Registered: 2016-09-19
Posts: 69

Re: Kate and Kwrite Print Error

bin wrote:

Just a thought @ghostdawg - did you install the printer via the Settings>Printer menu or through TDEPrint utility.

It sounds as if TDE is not communicating with CUPS properly.

Sorry for late reply. I'm not sure what I did at this time, I've been busy and have been testing some Mageia bug fixes for awhile. I may not have used either one since I manually installed the Brother's drivers and used Cups to set it up.


Dell Optiplex 760 - Quad Core | 4gb | 250gb | Mageia 5, Salix 14.2, Q4OS
Lenovo Thinkpad T420 | 4gb | 120gb | Mageia 5, Debian Testing

Offline

#12 2017-01-23 08:18

bin
Member
From: U.K.
Registered: 2016-01-28
Posts: 1,335

Re: Kate and Kwrite Print Error

If you can enter cupsdoprint at command line and it comes back with 'No printer specified (and PRINTER variable is empty)' then cupsdoprint is installed correctly. Since it is a KDE tool it explains why other apps print OK.

So, I wonder if this man page may hold the key:-

http://www.manpages.spotlynx.com/gnu_li … sdoprint.1

cupsdoprint is a command line tool to print files using the CUPS printing system.
cupsdoprint does not support printing from stdin.
You can use lpoptions -l -p Printername to discover the options a certain printer supports.

I take it you used the driver supplied by Brother for your MFC5440:-
http://support.brother.com/g/b/download … all&os=128
If so was it eh LPR or Cupswrapper?

Offline

Board footer

Powered by FluxBB