Can't print in Porteus 4

Post here if you are a new Porteus member and you're looking for some help.
jano
White ninja
White ninja
Posts: 21
Joined: 04 Oct 2015, 11:33
Distribution: Porteus 5rc1 / Linux Mint
Location: Madrid - Spain

Can't print in Porteus 4

Post#1 by jano » 11 May 2020, 19:27

I'd appreciate help to be able to print with my scanner/printer Canon MF4140 connected via USB.

So far:

I have Porteus 4 installled in my HDD (ext4 filesystem), with mate desktop. Logged as guest.

Following the indications of Printing and scanning for Porteus I have downloaded 007-printing-x86_64-2018-04-21.xzm for Porteus-v4.0 (as posted by Blaze 21 April 2018) and 007-printing-mate-dep-colord-1.3.5-x86_64-2018-04-21.xzm, renamed both from 007-... to 0.7-..., placed them in porteus/base folder and rebooted.

Then, through Print Settings I have configured the printer (Canon MF4140) without apparent problems. Now I can scan (at least with Simple Scan), but I can't print.

Printer Settings shows:
Device url: usb://Canon/MF4100%20Series?serial=SDF710213668P&interface=1
Make and Model: Canon MF4100 Series UFRII LT
Printer state: Idle
Connected to localhost

but when I try to print (from LibreOffice), it doesn't print anything. However, the 'Document Print Status' shows it as "completed" :shock:

For what is worth: I can print with the same printer in the same computer under Linux Mint, and I have the specific drivers for the printer, but in deb / rpm packages

User avatar
Ed_P
Contributor
Contributor
Posts: 8343
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Can't print in Porteus 4

Post#2 by Ed_P » 12 May 2020, 03:39

Are you able to see, or add, your printer with the Menu > Admin > Manage Printing function?
Ed

jano
White ninja
White ninja
Posts: 21
Joined: 04 Oct 2015, 11:33
Distribution: Porteus 5rc1 / Linux Mint
Location: Madrid - Spain

Can't print in Porteus 4

Post#3 by jano » 12 May 2020, 04:54

Admin -> Print Settings shows the printer, and I can add another printer, modify the settings, delete it, etc. If I try to print a test page, it gives an error: "There was a problem processing document 'Test Page' (doc 12)." It then guides me through a Printing troubleshooter, where it states "There are status messages associated with the queue. The printer's state message is 'Sending data to printer'" ". Next dialog shows the printing job as "stopped".

System Tools -> Manage Printing on the other hand opens Firefox @ http://localhost:631/admin/ and from there, in http://localhost:631/printers/ it shows the printer as 'idle, accepting jobs, non shared, server's default'. From there I have tried to print a test page, and it shows it as 'held' with a 'filter failed' message.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Can't print in Porteus 4

Post#4 by Blaze » 12 May 2020, 15:56

Hi jano, try in AF mode with rename 007- to 07- of printing modules and

Code: Select all

su
toor
cache-module
# or
glib-compile-schemas /usr/share/glib-2.0/schemas
# fixes issue and after this simple-scan can be run
Add your printer via system-config-printer

Code: Select all

su
toor
system-config-printer
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jano
White ninja
White ninja
Posts: 21
Joined: 04 Oct 2015, 11:33
Distribution: Porteus 5rc1 / Linux Mint
Location: Madrid - Spain

Can't print in Porteus 4

Post#5 by jano » 12 May 2020, 16:52

Blaze:
Unfortunately, no luck with your suggestions.
1) With glib-compile-schemas /usr/share/glib-2.0/schemas I get:

Code: Select all

Warning: Schema “org.gnome.crypto.cache” has path “/desktop/gnome/crypto/cache/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.crypto.pgp” has path “/desktop/gnome/crypto/pgp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
2) With cache-module, I get:

Code: Select all

/usr/bin/gtk-query-immodules-2.0
/usr/bin/gtk-query-immodules-3.0
Warning: Schema “org.gnome.crypto.cache” has path “/desktop/gnome/crypto/cache/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.crypto.pgp” has path “/desktop/gnome/crypto/pgp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.locale” has path “/system/locale/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy” has path “/system/proxy/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.http” has path “/system/proxy/http/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.https” has path “/system/proxy/https/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.ftp” has path “/system/proxy/ftp/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
Warning: Schema “org.gnome.system.proxy.socks” has path “/system/proxy/socks/”.  Paths starting with “/apps/”, “/desktop/” or “/system/” are deprecated.
/usr/bin/update-desktop-database
/usr/bin/gdk-pixbuf-query-loaders
/usr/bin/update-mime-database
Do you want to make a module from the caches? [y/n] 
3) Running system-config-printer I get

Code: Select all

Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)
Error creating proxy: The connection is closed (g-io-error-quark, 18)

(system-config-printer:1785): Gtk-CRITICAL **: 18:32:32.744: gtk_tree_store_insert_after: assertion 'G_NODE (sibling->user_data)->parent == G_NODE (parent->user_data)' failed

(system-config-printer:1785): Gtk-CRITICAL **: 18:32:32.744: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed

(system-config-printer:1785): Gtk-CRITICAL **: 18:32:32.744: gtk_tree_store_set_value: assertion 'VALID_ITER (iter, tree_store)' failed
but then a Print Settings windows opens. After that, I add the printer, but it doesn't print: the job appears in the queue as completed, but it doesn't.

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Can't print in Porteus 4

Post#6 by beny » 12 May 2020, 17:15

hi jano install the canon driver for your arch you can do this with rpm2tgz and tgz2xzm to make a module for your printer,after this remove your printer from cups and add printer again,ah and see if cupsd is up,maybe work.

jano
White ninja
White ninja
Posts: 21
Joined: 04 Oct 2015, 11:33
Distribution: Porteus 5rc1 / Linux Mint
Location: Madrid - Spain

Can't print in Porteus 4

Post#7 by jano » 12 May 2020, 17:41

Thanks for the reply, beny
beny wrote:
12 May 2020, 17:15
install the canon driver for your arch you can do this with rpm2tgz and tgz2xzm to make a module for your printer,after this remove your printer from cups and add printer again
Tried, without luck. It seems that the drivers I have are already in Blaze's module (cndrvcups-common-3.90-1.x86_64, cndrvcups-ufr2-uk-3.50-1.x86_64, cndrvcups-ufr2lt-uk-1.40-1.x86_64 and cndrvcups-utility-1.10-1.x86_64)
beny wrote:
12 May 2020, 17:15
and see if cupsd is up
This I do not understand. Could you please explain?

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Can't print in Porteus 4

Post#8 by beny » 12 May 2020, 17:59

hi you have cups demon in /etc/rc.d/rc.cups: start stop or restart maybe blaze xzm have a script that start it at boot time.

jano
White ninja
White ninja
Posts: 21
Joined: 04 Oct 2015, 11:33
Distribution: Porteus 5rc1 / Linux Mint
Location: Madrid - Spain

Can't print in Porteus 4

Post#9 by jano » 12 May 2020, 18:22

beny wrote:
12 May 2020, 17:59
hi you have cups demon in /etc/rc.d/rc.cups: start stop or restart maybe blaze xzm have a script that start it at boot time.
Thanks beny, but I am a total noob. After you have pointed it, I see there is there is this /etc/rc.d/rc.cups script. But I don't know if it is started or stopped, how it should be (started or stopped) and how to change its state, if necessary. :sos:

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Can't print in Porteus 4

Post#10 by beny » 12 May 2020, 19:20

hi jano in terminal or konsole:
bash-5.0# sh '/etc/rc.d/rc.cups' start
cups: started scheduler. [ OK ]
bash-5.0# sh '/etc/rc.d/rc.cups' status
cups: scheduler is running.
well this is the command that you can use to check cups.When you modify something you have always restart cups

jano
White ninja
White ninja
Posts: 21
Joined: 04 Oct 2015, 11:33
Distribution: Porteus 5rc1 / Linux Mint
Location: Madrid - Spain

Can't print in Porteus 4

Post#11 by jano » 12 May 2020, 20:54

beny wrote:
12 May 2020, 19:20
hi jano in terminal or konsole:
bash-5.0# sh '/etc/rc.d/rc.cups' start
cups: started scheduler. [ OK ]
bash-5.0# sh '/etc/rc.d/rc.cups' status
cups: scheduler is running.
well this is the command that you can use to check cups.When you modify something you have always restart cups
Got it, thanks a lot :beer:

jano
White ninja
White ninja
Posts: 21
Joined: 04 Oct 2015, 11:33
Distribution: Porteus 5rc1 / Linux Mint
Location: Madrid - Spain

Can't print in Porteus 4

Post#12 by jano » 13 May 2020, 13:23

Hi, beny, tried again following your suggestion, stopping cups after removing the printer from cups, then activating the module with my drivers, then restarting cups and then adding my printer, but to no avail. Still no luck :unknown:

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Can't print in Porteus 4

Post#13 by beny » 13 May 2020, 16:20

hi jano can try to print from root account instead guest..maybe change something,permission issue, into arch my user can't manage cups i have to use sudo for it.
Last edited by beny on 13 May 2020, 16:27, edited 1 time in total.

User avatar
Blaze
DEV Team
DEV Team
Posts: 3869
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Can't print in Porteus 4

Post#14 by Blaze » 13 May 2020, 16:26

jano, try to install Porteus 5 RC1 x86_64 http://porteus.org/porteus-mirrors.html and Printing and scanning for Porteus (Пост Blaze #74600) + MATE printing module.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

jano
White ninja
White ninja
Posts: 21
Joined: 04 Oct 2015, 11:33
Distribution: Porteus 5rc1 / Linux Mint
Location: Madrid - Spain

Can't print in Porteus 4

Post#15 by jano » 13 May 2020, 17:36

@beny: Tried , but didn't work.

@Blaze: Downloaded, installed and tested from a FAT32 pendrive: that did the trick :Yahoo!: I have tested it and it did print perfectly a pdf with Atril, a txt with pluma and a doc with LibreOffice. Scanning also works with Document Scanner and Xsane! Thanks a bunch! :worship:

As a side note, and just in case it helps debugging, I want to mention that:
* ScanGear MP doesn't start (from the menu, at least), and
* ImageScan, when started from the menu, opens a windows with the message "Could not send command scanner. Check the scanner status.", while if started from the terminal gives the message (iscan:3124): Gtk-WARNING **: 19:30:03.248: Unable to locate theme engine in module_path: "murrine" several time and then the window.

In Porteus 4 the same scanning programs also do not work.

Post Reply