Making cups installation 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
So I just rsync
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 ?