Page 6 of 15
Re: printing-3.2 for porteus 3.2
Posted: 17 Nov 2016, 15:53
by Blaze
brokenman wrote:any reason why cups was not added to the printing module?
Because cups is present in /var/log/packages/ or I'm wrong?
Code: Select all
root@porteus:/home/guest# find /var/log/packages/ -iname *cups*
/var/log/packages/cups-2.1.4-x86_64-1
root@porteus:~$ cups-config --version
2.1.4
root@porteus:~$
it seems
hplip bug of Slackel distro...
https://pkgs.org/slackware-14.2/slackel ... j.txz.html
pauleus wrote:Hi - I try to use printing by download and activate module.
root@porteus:~# system-config-printer
Print Settings - localhost
Printing service not available...
Copy my printing module to the folder modules of Porteus. For example /mnt/sdb1/porteus/modules
Reboot Porteus and then run system-config-printer.
If you use 32 bit, and can't run system-config-printer
please, open terminal and run these commands for install cups-2.1.4
Code: Select all
su
toor
usm -u all
usm -g cups
chmod +x /etc/rc.d/rc.cups
reboot
Re: printing-3.2 for porteus 3.2
Posted: 17 Nov 2016, 16:42
by donald
@ Blaze
not in 32bit
Code: Select all
root@porteus:/home/guest# uname -rm
4.8.7-porteus i686
root@porteus:/home/guest# find /var/log/packages/ -iname *cups*
root@porteus:/home/guest#
Re: printing-3.2 for porteus 3.2
Posted: 17 Nov 2016, 16:54
by Blaze
donald, it's call to
brokenman (about cups)
I replaced
slackel-x86_64/hplip-3.16.9-x86_64-1dj.txz on the
slackware64-current/slackware64/ap/hplip-3.16.9-x86_64-1.txz
07-printing-x86_64-17.11.2016.xzm 67.93 Mb (64 bit)
If all ok, I will do it for I586 (32 bit).
Re: printing-3.2 for porteus 3.2
Posted: 17 Nov 2016, 17:52
by Ed_P
3.2 Cinnamon 64-bit
HP Officejet Pro 8600
New version seems to have worked but no test page printed. It was able to configure my network printer once I manually put the IP address in and manually selected the brand and model, the config window showed 3 drivers for it and I chose the top one.
Code: Select all
guest@porteus:~$ uname -rm
4.8.8-porteus x86_64
guest@porteus:~$ find /var/log/packages/ -iname *cups*
/var/log/packages/cups-bjnp-1.2-x86_64-1_slonly
/var/log/packages/cups-filters-1.9.0-x86_64-2
/var/log/packages/pycups-1.9.73-x86_64-1
/var/log/packages/cups-2.1.4-x86_64-1
guest@porteus:~$ system-config-printer
Caught non-fatal exception. Traceback:
File "/usr/share/system-config-printer/probe_printer.py", line 253, in _do_find
fn ()
File "/usr/share/system-config-printer/probe_printer.py", line 281, in _probe_snmp
stderr=null)
File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Continuing anyway..
PASSTHRU
'\x00'
ps
'\x00'
lp
'\x00'
PORT1
'\x00'
'\x00'
LPT0
'\x00'
LPT0_PASSTHRU
'\x00'
COM0
'\x00'
COM0_PASSTHRU
'\x00'
LPT1
'\x00'
LPT1_PASSTHRU
'\x00'
COM1
'\x00'
COM1_PASSTHRU
'\x00'
LPT2
'\x00'
LPT2_PASSTHRU
'\x00'
COM2
'\x00'
COM2_PASSTHRU
'\x00'
LPT3
'\x00'
LPT3_PASSTHRU
'\x00'
COM3
'\x00'
COM3_PASSTHRU
'\x00'
LPT4
'\x00'
LPT4_PASSTHRU
'\x00'
COM4
'\x00'
COM4_PASSTHRU
'\x00'
LPT5
'\x00'
LPT5_PASSTHRU
'\x00'
COM5
'\x00'
COM5_PASSTHRU
'\x00'
LPT6
'\x00'
LPT6_PASSTHRU
'\x00'
COM6
'\x00'
COM6_PASSTHRU
'\x00'
LPT7
'\x00'
LPT7_PASSTHRU
'\x00'
COM7
'\x00'
COM7_PASSTHRU
'\x00'
pr0
'\x00'
pr1
'\x00'
pr2
'\x00'
pr3
'\x00'
pr4
'\x00'
pr5
'\x00'
pr6
'\x00'
pr7
'\x00'
pr8
'\x00'
pr9
'\x00'
pr10
'\x00'
pr11
'\x00'
pr12
'\x00'
pr13
'\x00'
pr14
'\x00'
pr15
'\x00'
pr16
'\x00'
pr17
'\x00'
pr18
'\x00'
pr19
'\x00'
pr20
'\x00'
pr21
'\x00'
pr22
'\x00'
pr23
'\x00'
pr24
'\x00'
pr25
'\x00'
pr26
'\x00'
pr27
'\x00'
pr28
'\x00'
pr29
'\x00'
pr30
'\x00'
pr31
'\x00'
pr32
'\x00'
pr33
'\x00'
pr34
'\x00'
pr35
'\x00'
pr36
'\x00'
pr37
'\x00'
pr38
'\x00'
pr39
'\x00'
pr40
'\x00'
pr41
'\x00'
pr42
'\x00'
pr43
'\x00'
pr44
'\x00'
pr45
'\x00'
pr46
'\x00'
pr47
'\x00'
pr48
'\x00'
pr49
'\x00'
No ID match for device socket://192.168.200.190:9100:
MFG:Generic;MDL:Printer;DES:Generic Printer;
Using lsb/usr/cupsfilters/textonly.ppd (status: 3)
Unknown value for media-col: (unknown IPP value tag 0x34)
Choices: [u'media-bottom-margin', u'media-left-margin', u'media-right-margin', u'media-size', u'media-source', u'media-top-margin', u'media-type']
Selecting from choices: media-bottom-margin
Unknown value for media-col: (unknown IPP value tag 0x34)
Choices: [u'media-bottom-margin', u'media-left-margin', u'media-right-margin', u'media-size', u'media-source', u'media-top-margin', u'media-type']
Selecting from choices: media-bottom-margin
/usr/share/system-config-printer/monitor.py:741: Warning: Source ID 2778 was not found when attempting to remove it
gobject.source_remove (self.update_timer)
/usr/share/system-config-printer/system-config-printer.py:2013: Warning: Source ID 2790 was not found when attempting to remove it
gobject.source_remove (self.populateList_timer)
/usr/share/system-config-printer/monitor.py:191: Warning: Source ID 2901 was not found when attempting to remove it
gobject.source_remove (timer)
guest@porteus:~$
Something about a "cups_insecure_filter error" in the Notifications window and printer debug screens.
Code: Select all
Printer warning
Printer 'HP-Officejet-Pro-8600' 'cups_insecure_filter error'
Re: printing-3.2 for porteus 3.2
Posted: 17 Nov 2016, 18:03
by donald
@ Blaze
Blaze wrote:donald, it's call to brokenman (about cups)
OK,pardon..
It's just that i don't know where cups will / should be by default.
brokenman wrote:any reason why cups was not added to the printing module?
this sounds like cups will not be included in the stock porteus-iso.
(No idea why it is in x86_64 then)
Re: printing-3.2 for porteus 3.2
Posted: 17 Nov 2016, 22:25
by pauleus
OK, so I usm -g cups and start cupsd, but parallel backend not working...
root@porteus:/usr/lib/cups/backend# ls
beh* bluetooth* hp* http@ implicitclass* ipps@ parallel* smb@ socket*
bjnp* gutenprint52+usb* hpfax* https@ ipp* lpd* serial* snmp* usb*
root@porteus:/usr/lib/cups/backend# ./parallel
root@porteus:/usr/lib/cups/backend#
root@porteus:/usr/lib/cups/backend# lpinfo -v
network ipp
network ipps
network http
network lpd
network socket
network https
network smb
root@porteus:/usr/lib/cups/backend# dmesg | grep par
[ 22.044151] parport_pc 00:02: reported by Plug and Play ACPI
[ 22.044223] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA]
[ 22.585483] ppdev: user-space parallel port driver
Anyone else using old parallel thing like me?
Re: printing-3.2 for porteus 3.2
Posted: 18 Nov 2016, 00:46
by brokenman
Because cups is present in /var/log/packages/ or I'm wrong?
cups is only in kde and cinnamon. Probably best to include it in the printing module.
Re: printing-3.2 for porteus 3.2
Posted: 18 Nov 2016, 05:30
by pauleus
FYI - I happen to have Ubuntu Mate 15.10 on USB so I try that, works perfect.
Trouble seems to be that Porteus kernel not give me /dev/lp0 on this machine.
Rest of v3.2 works very nice for me. Great job!
Re: printing-3.2 for porteus 3.2
Posted: 18 Nov 2016, 14:15
by francois
cups is only in kde and cinnamon
Is there some major reason why cups is included in these desktop and not into the others?
Re: printing-3.2 for porteus 3.2
Posted: 18 Nov 2016, 15:30
by Blaze
Ed_P, can you try my 07-printing-x86_64-17.11.2016.xzm 67.93 Mb (64 bit) module in
Always Fresh mode? Thanks.
donald, thanks for your report.
pauleus wrote:but parallel backend not working...
What is parallel backend? What is it for?
Probably, it's that do you mean
https://pkgs.org/search/parallel (look at Slackware 14.2 section)
brokenman wrote:cups is only in kde and cinnamon. Probably best to include it in the printing module.
Agree with you, but need to exclude cups package from kde and cinnamon and include it in the printing module. What do you say about this decision?
Re: printing-3.2 for porteus 3.2
Posted: 18 Nov 2016, 18:57
by brokenman
cups is a dependency of other packages in kde and cinnamon.
Re: printing-3.2 for porteus 3.2
Posted: 18 Nov 2016, 21:16
by francois
So why not printing for kde, cinnamon. ... ... smaller packages for those two big ones, and bigger packages with cups for mate, xfce ...
Forget my suggestion, the less packages there will be, the simpler, KISS, KISS, KISS. 8)
Re: printing-3.2 for porteus 3.2
Posted: 19 Nov 2016, 00:15
by brokenman
@pauleus
Have you tried creating the file?
Code: Select all
modprobe lp
modprobe ppdev
modprobe parport_pc
mknod /dev/lp0 b 6 0
Re: printing-3.2 for porteus 3.2
Posted: 19 Nov 2016, 04:11
by pauleus
@brokenman
I boot again and lp module not loaded, /dev/lp0 not there.
So, modprobe lp from console and lp loads, /dev/lp0 created. Good.
I don't know why it's not automatic.
Then, usm -g cups and check backends in /usr/lib/cups/backend
but parallel is not there. It was before but not now.
So, download and activate 07-printing... module,
OK, now parallel is there... ????
Try it,
root@porteus:~# /usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "unknown" "LPT #1" "" ""
OK, that's good too.
Setup with system-config-printer, but won't print.
Try lpinfo -v,
root@porteus:~# lpinfo -v
network socket
network ipps
network ipp
network http
network https
network lpd
network smb
Should show up there, but it's not. Won't work. Don't know why.
Maybe something not right in usm cups package for this.
Re: printing-3.2 for porteus 3.2
Posted: 19 Nov 2016, 04:41
by Ed_P
Blaze wrote:Ed_P, can you try my 07-printing-x86_64-17.11.2016.xzm 67.93 Mb (64 bit) module in Always Fresh mode? Thanks.
I did, same result.
Code: Select all
guest@porteus:~$ uname -r
4.8.8-porteus
guest@porteus:~$ cat /proc/cmdline
quiet from=/ISOs/Porteus-CINNAMON-v3.2-x86_64-nu.iso kmap=us extramod=/porteus3.2/Modules
guest@porteus:~$ ls /mnt/live/memory/images
000-kernel.xzm/ 07-printing-x86_64-17.11.2016.xzm/
001-core.xzm/ firefox-50.0b5-x86_64-1.xzm/
002-xorg.xzm/ flashplayer-plugin-23.0.0.205-x86_64-1.xzm/
003-cinnamon.xzm/
guest@porteus:~$ ls /usr/lib/
NetworkManager/ librokenman
bjlib/ macroport
cinnamon-control-center-1/ mozilla/
iscan-data/ pkgconfig/
kde4/ polkit-1/
libcinnamon-control-center.so@ rpm/
libcinnamon-control-center.so.1@ siconv/
libcinnamon-control-center.so.1.0.0* systemd/
libcncpmslld2.so.3.0.0 udev/
libcncpnet2.so.1.2.3 udisks2/
guest@porteus:~$