We have moved to a new Sailfish OS Forum. Please start new discussions there.

Revision history [back]

click to hide/show revision 1
initial version

posted 2019-12-21 02:44:58 +0200

How to install cups filters and others

Hi, I have installed the cups package with this method.

Now I need the foomatic-rip filter, can I scp the /usr/lib/cups/filter/ folder from my Ubuntu to SailfishOS ?

How to install cups filters and others

Hi, I have installed the cups package with this method.

Now I need the foomatic-rip filter, can filter :

$ lpstat -p                                                 
printer myPrinter is idle.  enabled since sam. 21 déc. 2019 01:16:45 CET
    File "/usr/lib/cups/filter/foomatic-rip" not available: No such file or directory

Can I just scp the /usr/lib/cups/filter//usr/lib/cups/filter/foomatic-rip folder from my Ubuntu to SailfishOS ?

How to install Making cups filters and othersinstallation work with lpr

Hi, I have installed the cups package with this method.

Now I need the foomatic-rip filter :

$ lpstat -p                                                 
printer myPrinter is idle.  enabled since sam. 21 déc. 2019 01:16:45 CET
    File "/usr/lib/cups/filter/foomatic-rip" not available: No such file or directory

Can So I just scprsync the /usr/lib/cups/filter/foomatic-rip filter from my Ubuntu (supposing it's not distrib. dependent) to my SailfishOS device and restarted cups :

$ alias scp='time \rsync -h --progress -u -zt'
$ scp /usr/lib/cups/filter/foomatic-rip jolla-wlan:cups/filter/
X11 forwarding request failed on channel 0
foomatic-rip
        110.57K 100%    5.71MB/s    0:00:00 (xfr#1, to-chk=0/1)

real    0m0.882s
user    0m0.060s
sys 0m0.008s
$ ssh jolla-wlan 
X11 forwarding request failed on channel 0
Last login: Sat Dec 21 01:31:27 2019 from 192.168.2.3
,---
| Sailfish OS 3.2.1.19 (Nuuksio)
 ---


$ sudo install -vp ~/cups/filter/foomatic-rip /usr/lib/cups/filter/
Password:              
`/home/nemo/cups/filter/foomatic-rip' -> `/usr/lib/cups/filter/foomatic-rip'
$ sudo systemctl restart cups                               
$ lpstat -p                                        
printer Lexmark_MS310dn is idle.  enabled since sam. 21 déc. 2019 01:16:45 CET

So now I tried and print 2 PDFs from my Jolla (the same I did from my Ubuntu) :

$ cd Documents/
$ lpr hebrew_Alphabet_Chart.pdf 
$ lpr JohnGLake.pdf 
$ \lpq -a +3
Rank    Owner   Job     File(s)                         Total Size
1st     (null)  1       untitled                        115712 bytes
2nd     (null)  2       untitled                        39936 bytes
Rank    Owner   Job     File(s)                         Total Size
1st     (null)  1       untitled                        115712 bytes
2nd     (null)  2       untitled                        39936 bytes
Rank    Owner   Job     File(s)                         Total Size
1st     (null)  1       untitled                        115712 bytes
2nd     (null)  2       untitled                        39936 bytes
Rank    Owner   Job     File(s)                         Total Size
1st     (null)  1       untitled                        115712 bytes
2nd     (null)  2       untitled                        39936 bytes
^C

I can see above that the Owner is (null), can you please tell me what is missing in this configuration ?