slycker
Posts: 3
Joined: Sat Feb 23, 2013 9:18 pm

Canon Printers and CUPS: ARM drivers availabile?

Sat Feb 23, 2013 9:33 pm

Hello,

I currently have my Raspberry Pi running Rasbian, acting as a wireless printer/scanner server for a Canon Pixma MP610.
The scanner is nice and prompt, using the SANE 'webscan' frontend. The printer, however, is incredibly slow at putting out print jobs (5-30 minutes for a single page). I know that this is a common driver issue for linux, and the answer is usually to install the manufacturer's driver instead of using the included open-source driver.

Canon's Driver for the MP610: http://software.canon-europe.com/software/0028478.asp

My problem, then, seems to be in the architecture of the driver. Some 32 bit drivers work on 64 bit architectures simply by forcing it ( dpkg -i --force-architecture *.deb).
http://ubuntuforums.org/showthread.php?t=1427098

In this case, however, I get lots of errors that I assume are because of being compiled for the wrong architecture:
ldconfig: xxxxxxxxxxxxxxxx is for unknown machine 3

---
my questions:

1) Is it possible to get an arm-compiled version of the canon drivers (cnijfilter-common and cnijfilter-mp610series)

2) Does Canon provide source code where it may be compiled for arm? (I couldn't find any)

3) Is there another work-around possible

Thanks!

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Sat Feb 23, 2013 11:38 pm

Silly to try and install x86 drivers on ARMv6 architecture, manufacturers who may provide ARM drivers it would only be for ARMv7

Even using a Standalone HP Wireless ePrinter is slow and not a happy experience.......................
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

westurner
Posts: 2
Joined: Wed Feb 27, 2013 6:30 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Feb 27, 2013 7:09 pm

I myself have been trying to compile the source provided by Canon for the UFR2 driver–this is for the Canon imageClass MF4350d, a great printer with horrible printing support. It's been a particularly troubling situation. I've managed to successfully compile the cndrvcups-lb-2.50 (also cndrvcups-ufr2-us_2.50) driver and run checkinstall to package *.deb, but I'm not sure if the package has all the necessary files. I'm pretty sure the main info comes from the cndrvcups-common package.

Unfortunately the cndrvcups-common package was a bit harder, and I never got it to compile properly due to its gnome dependencies. This failed to compile directly from the rPi with lots of

Code: Select all

declaration for parameter `XYZ` but no such parameter
stemming from all the usual suspects–gio, gtk, pango, atk, etc. I instead tried cross-compiling using crosstool-ng on a 64bit ubuntu machine. This ultimately failed as well with errors about the missing libraries. I then tried to --force-depends and --force-architecture of the Canon-provided 32-bit cndrvcups-common on the rPi itself. This worked, but now I have lots of bad libraries

Code: Select all

ldconfig: /usr/lib/libcanon_slim.so.1 is for unknown machine 3
Here's the result of my labor:
  • Canon printer shows up and installs to cups ok with all instances.
  • Printer does not print when sent a test page/*]
  • Cups message states: processing since - "Sending data to printer." when installed via compiled lb driver and forced common driver/*]
  • Cups message states: Processing - "/usr/lib/cups/filter/pstoufr2cpca failed" when both debs installed via force flags/*]

My question to any experienced engineers, can the code even be compiled for arm architecture? Does the source need some explicit rules or more source to compile? Note that everything compiles just fine on ubuntu 32-bit. Is there a better way to cross-compile for rPi than crosstool-ng? What do the ldconfig library errors mean--is that due to the wrong architecture? The libs indicated by ldconfig are all provided by the 32-bit source packages as their respective *.so files. Does this mean they are all 32-bit libraries and hence that's why this compilation fails so miserably?

Cannot attach deb, so here's a link to my server: http://turnerharris.com/rpi/cndrvcups-l ... _armhf.deb

johnnyBrandom
Posts: 6
Joined: Wed Mar 06, 2013 4:40 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 06, 2013 5:51 am

I've been slogging through compiling the Canon printer drivers on an Arch Linux arm5 pogoplug. After several days of struggling with automake and configure, I am finally able to compile _most_ of the source, and after installing some of the compiled binaries, I am able to see a new usb interface in CUPS for my attached printer (i960). Now, there are many problems with this path - namely, canon is supplying some of the libs that are needed to link against in x86 binary form only. I have been unable to locate source to build these libs for arm.

And, I fear that there is at least one program that may be required (lgmon) to make this work that needs to link against some of these x86 libs. As I said, I have the canon usb driver compiled and installed and my printer does register with it but I can't seem to get any pages to print. It could be either a flawed ppd or the missing lgmon stuff. Not sure.

When I bring up cups I see this: Connection: cnijusb:/dev/usb/lp0
which wasn't there before I compiled and installed all the canon source.

With the normal arch arm CUPS install, I can get my canon i960 printer to work but it is excruciatingly slow. For that configuration, I see as my connection: usb://Canon/i960?serial=2083e8. There is a CUPS Gutenprint driver that works well enough - I've tried to use that driver with the canon USB connection but no go. I've also tried several of the canon supplied drivers (none are for the i960) but no go. I think the problem is really the missing lgmon piece but I'm not an expert in this - so it may work now if I had an mx series printer or an ip2700 which are the ppd files that canon supplies with the 3.30 distro.

If you want to try this yourself, google for cnijfilter-source. There are two tarballs floating around - one is on Canon's asia download site (this is v3.30-1) and the other is from canon europe:

http://files.canon-europe.com/files/sof ... 0-1.tar.gz

I built my binaries using the 3.30 source. I later found the 3.5 source and looked at it but my printer driver is still not there and the libs are sill pre-compiled for x86 so I didn't mess with that.

Oh, and I strongly advise that you install gcc (plus all dev tools: automake, etc.) on your target platform and compile there before you start down this road. Cross compiling is really not advisable. Plan to spend several days downloading dependencies and debugging automake. If you are not an seasoned developer, this path is not advisable. If you choose to try - I will send you some tips for getting you through some of the compile issues.

Bottom line is - you may be more successful just installing a decent Linux distro (Arch is probably most up-to-date) on your device and loading CUPS and Gutenprint. It's a better first approach than trying to compile the canon stuff and you will not be able to compile all the canon stuff until you can find canons libs compiled for arm. :(

If someone out there happens to have the source for canon's common and other libs - I will be happy to get those compiled to.

FYI - here's what I get when I try to link my arm built .o files to produce lgmon *without* including the x86 libs:

Code: Select all

[[email protected] src]# gcc  -O2 -Wall   -o lgmon langmon.o lm_print.o lm_status.o lm_sub.o
lm_status.o: In function `setup_bscc.constprop.1':
lm_status.c:(.text+0x25c): undefined reference to `CNCL_MakePrintCommand'
lm_status.c:(.text+0x35c): undefined reference to `CNCL_CheckPrintCommand'
lm_status.c:(.text+0x394): undefined reference to `CNCL_MakePrintCommand'
lm_status.c:(.text+0x3dc): undefined reference to `CNCL_CheckPrintCommand'
lm_status.o: In function `status_get_process':
lm_status.c:(.text+0x6a8): undefined reference to `CNCL_MakePrintCommand'
lm_status.c:(.text+0x758): undefined reference to `CNCL_CheckPrintCommand'
lm_status.c:(.text+0x80c): undefined reference to `CNCL_GetStatusCommand'
lm_status.c:(.text+0x8fc): undefined reference to `CNCL_GetStatusCommand'
lm_sub.o: In function `get_printer_status':
lm_sub.c:(.text+0x5b4): undefined reference to `CNCL_GetStatusCommand'
lm_sub.c:(.text+0x644): undefined reference to `CNCL_GetStatusCommand'
lm_sub.o: In function `write_status_info':
lm_sub.c:(.text+0x990): undefined reference to `bscc2sts'
lm_sub.c:(.text+0x9dc): undefined reference to `CNCL_GetStatusCommand'
collect2: error: ld returned 1 exit status
So there are actually only a few fcns that are missing to get this built. I'm probably going to give up here though - so tantalizingly close. :(

johnnyBrandom
Posts: 6
Joined: Wed Mar 06, 2013 4:40 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 06, 2013 6:47 pm

I'm happy to report that I am having much better success with getting my Canon i960 printer working through my pogoplug (pink) with the Debian Squeeze distro and using the Foomatic print drivers (actually spoofing the i960 with BJ8PA06N.PPD a.k.a Canon-BJC-8200-bj8pa06n.upp.ppd) . It's now printing (normal letter) jobs as fast as it does when connected to my Mac.

Now the experiment to see how well the pogoplug will handle operating as my network print server. :)

andrum99
Posts: 931
Joined: Fri Jul 20, 2012 2:41 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 06, 2013 10:48 pm

I doubt the problems you are having with very slow printing are anything to do with not using proprietary drivers for your printer. It is most likely caused by the fact that most inkjet printers require the print job to be rendered on the PC, then sent to the printer. You can see the effect of this when you print from windows - if you have a look at the print queue you will see the size of the print job can be as much as several hundred megabytes for a multi-page colour document with lots of graphics. Since the Raspberry Pi's processor is not very fast and there is a limited amount of memory this is likely to cause significant slowdowns.

There are some HP Business Inkjets that understand PCL 5, which is rendered in the printer itself. This would allow you to print from the Pi at a reasonable speed. You could also try a laser printer, since almost all of these do the rendering themselves as well.

I'm using an HP LaserJet 1018 connected to my Raspberry Pi. It works reasonably quickly printing from the Pi itself, but the real reason for doing it is to turn the 1018 into a network printer for my other (Windows) PCs, which it does well. Printing is slightly slower than having the printer connected directly to the PC but certainly not as slow as you have experienced.

Cheers

Andrew.

johnnyBrandom
Posts: 6
Joined: Wed Mar 06, 2013 4:40 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 06, 2013 11:13 pm

I doubt the problems you are having with very slow printing are anything to do with not using proprietary drivers for your printer.
OP stated that he's getting 1 page per 5/10minutes. I can confirm that I was seeing similar speeds on my pogoplug versus 1 page per 10-20 seconds when connected to my Mac. This magnitude of slowdown is not explained by difference in processor speed. Just using a different distro and driver on my plug got me back to normal print speed which confirms that it was a driver issue. While he may not need the *proprietary* driver, I strongly suspect the OP can greatly improve performance by trying *different* drivers. This is a very well documented problem with Linux printing.

slycker
Posts: 3
Joined: Sat Feb 23, 2013 9:18 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 27, 2013 12:50 am

JB,
Thanks for your suggestions! Unfortunately I've been bogged down at work for this past month, which is why I haven't been replying here. I too wasn't able to find the required Canon sources, and my Raspberry Pi is sitting pretty much uselessly connected to my printer now. I may try boot out Debian Wheezy and get arch linux running on there to see what exists in that world for alternate drivers.
Once I get a bit more time I may try and contact Canon about this - I doubt they'd provide the source, but who knows - perhaps a compiled arm driver would fall out?

Spid,
I realized that trying to install x86 drivers on an arm distro would likely end in tears, though I had been curious what sort of errors it would throw given my lack of other options.

-ds

johnnyBrandom
Posts: 6
Joined: Wed Mar 06, 2013 4:40 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 27, 2013 3:34 am

I may try boot out Debian Wheezy and get arch linux running on there to see what exists in that world for alternate drivers.
I was successful with Debian Squeeze. I tried Arch and got it to work but printing was super slow. I may try to upgrade my Squeeze system to Wheezy at some point but I'm pretty satisfied with Squeeze for now. Printing is super fast and good quality. I was not able to get avahi on squeeze to bonjour with my macs so I eventually shut that service off and just have my plug boot with a fixed ip and then I set my network computers to look for a print queue at that ip on port 631. With a mac, you must supply the path to the cups print queue (of form printers/<name of your queue>) for this to work and choose IPP printing when you add the printer.

Good luck!

slycker
Posts: 3
Joined: Sat Feb 23, 2013 9:18 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 27, 2013 6:52 pm

Thanks JB - I'll give your approach a try.

I sent canon canada a mail just for kicks, on the off chance that they may actually have been able to help. As may be expected, they can't supply the missing source code or an arm-compiled driver, nor do they have (or plan) any support for the Linux operating system.

-ds

rickwookie
Posts: 23
Joined: Sat Mar 03, 2012 11:09 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Thu Jun 13, 2013 1:40 pm

johnnyBrandom wrote:I'm happy to report that I am having much better success with getting my Canon i960 printer working through my pogoplug (pink) with the Debian Squeeze distro and using the Foomatic print drivers (actually spoofing the i960 with BJ8PA06N.PPD a.k.a Canon-BJC-8200-bj8pa06n.upp.ppd) . It's now printing (normal letter) jobs as fast as it does when connected to my Mac.

Now the experiment to see how well the pogoplug will handle operating as my network print server. :)
How did you go about this?

I've been wasting my time trying to compile the drivers for my MP640 until I discovered that the cnijnetchk.o cnijnetprn.o files can't be used and there's no source for them.

Are you saying I could print wirelessly to my MP640 using another driver?

Heater
Posts: 13922
Joined: Tue Jul 17, 2012 3:02 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Thu Jun 13, 2013 6:23 pm

Never, ever buy a Cannon printer.

We have a network Cannon printer/scanner/copier machine in our office. Took a whole day of scouring the net to find a recipe for getting that thing to print under Debian on a PC using CUPS. The Cannon web site is totally useless for finding any help. I had to write down the final solution, it'a couple of pages long.

Next up my coworker wanted to use it from Windows, he lost a day as well.

What ever happened to the good old days of plug-n-print?
Memory in C++ is a leaky abstraction .

rickwookie
Posts: 23
Joined: Sat Mar 03, 2012 11:09 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Sat Jun 15, 2013 3:07 pm

To be fair, I've not had any trouble with my Canon MP640 until now. I can print and scan wirelessly to my windows and mac machines, and also had it working from CUPS on my Unbuntu x86 server, including using that as an AirPrint server.

Now I want to completely replace the Ubuntu server with a PI, and have got everything working (Logitech Media Server, VPN server, etc) except printing to the Canon.

shinings
Posts: 1
Joined: Mon Aug 05, 2013 9:50 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Mon Aug 05, 2013 9:57 pm

johnnyBrandom wrote:I'm happy to report that I am having much better success with getting my Canon i960 printer working through my pogoplug (pink) with the Debian Squeeze distro and using the Foomatic print drivers (actually spoofing the i960 with BJ8PA06N.PPD a.k.a Canon-BJC-8200-bj8pa06n.upp.ppd) . It's now printing (normal letter) jobs as fast as it does when connected to my Mac.

Now the experiment to see how well the pogoplug will handle operating as my network print server. :)
Hi johnnyBrandom, I too have a Canon printer (imageClass D420) and have been scratching my head installing airprint on my pogoplug. The web interface ipaddres:631 could find the printer, but I just can't find a driver that works with my Canon. Can you tell me how exactly you worked through with the Debian squeeze distro and the Foomatic print drivers? Sorry i'm new to Linux and may need a little more instruction. (I'm a long time windows/MSDOS user plus a little bit of MacOS). Thanks in advance.

johnnyBrandom
Posts: 6
Joined: Wed Mar 06, 2013 4:40 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Sun Aug 11, 2013 2:25 am

rickwookie wrote: How did you go about this?

I've been wasting my time trying to compile the drivers for my MP640 until I discovered that the cnijnetchk.o cnijnetprn.o files can't be used and there's no source for them.

Are you saying I could print wirelessly to my MP640 using another driver?
All of my work was done on a pogoplug - not a pi so I apologize for confusion. There are similarities but things will likely be slightly different. I followed Jeff Doozan's guide (mostly) to re-image the plug for use with arm linux distro's. I tried arch, wheezy, and squeeze but foud squeeze was right combination for my set-up. Once I got my distro working, I loaded cups print system - I then experimented with avahi for bonjour service but that failed. So I ditched avahi and just went with a fixed ip. There were no available driver for my printer but I found a post that mentioned a foomatic driver would work. I loaded foomatic on my plug and then worked through the cups interface settings to get it working. I did not set up airprinting as I don't really need that. My set up is:

wap <--ethernet--> pogoplug<--usb-->canoni960

This essentially turned my canon usb i960 into a network printer. I think you need a bonjour service for airprinting but squeeze may not support that. I need network printing more than airprinting so I settled for this.

johnnyBrandom
Posts: 6
Joined: Wed Mar 06, 2013 4:40 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Sun Aug 11, 2013 2:42 am

shinings wrote:
Hi johnnyBrandom, I too have a Canon printer (imageClass D420) and have been scratching my head installing airprint on my pogoplug. The web interface ipaddres:631 could find the printer, but I just can't find a driver that works with my Canon. Can you tell me how exactly you worked through with the Debian squeeze distro and the Foomatic print drivers? Sorry i'm new to Linux and may need a little more instruction. (I'm a long time windows/MSDOS user plus a little bit of MacOS). Thanks in advance.
There was no driver for the i960 either but someone figure out that one of the available foomatic drivers would work. I also played with gutenprint. Found those through internet searches. I think you'll have to try to find a print subsystem with a driver that's close enough. While I was working the issue - I did find that the arch had a pretty decent generic cups subsystem - it was missing support form my printer but I think I did get a generic driver to work there - it was slow and not perfect but it might work better for you. Try to find if someone has managed to get your printer working under and arm linux distro (this is where things get dodgy) and try to install that distro. You may have to just try a few distros and see what works best (as I did). It's a bit of a chore but it's a learning opportunity too.

lepirlouit
Posts: 2
Joined: Tue Feb 10, 2015 12:59 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Thu Nov 19, 2015 1:41 pm

erhaps, if you have the time, you could give a try to a very old reverse-engineered capt driver :

http://www.boichat.ch/nicolas/capt/index.html
http://www.boichat.ch/nicolas/lbp660/

wgjhstt247
Posts: 8
Joined: Tue Feb 21, 2017 3:12 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Feb 22, 2017 12:13 am

I've made significant progress on this subject for those that can only use proprietary UFRII or CAPT Canon x86 drivers. I have a Canon imageCLASS MF4570dn printer. First, what didn't work: (1) Installing the common and ufr2 deb files and dependencies via the multiarch debian feature. Even after including all the right dependencies to install, every one of the them was marked to break the existing armhf package. (2) compiling the common and ufr2 deb packages from the source folder provided with the driver. This doesn't work because the source folder contains shared libraries that were already compiled in x86 architecture.

Here's the most recent trail I've taken. I found that you can run x86 programs on the Raspberry Pi by using qemu-i386 and binfmt_support packages. This allows you to run x86 programs from the command line as you already run arm programs from the command line. I created the default library location for qemu-i386 (/etc/binfmt_support/i386). I manually extracted the precompiled 32-bit deb files and installed the files (some into the qemu-i386 library folder and some into the arm folders). I also manually downloaded all the dependency x86 packages and extracted the shared library files into the qemu-i386 library folder. The only binary that needs to run is the canon ufr2 cups filter which is pstoufr2cnca. This binary runs, but fails to complete because internally it calls ghostscript (a common postscript generation program) with opvp device (armhf ghostscript) and ghostscript can't open the device. I found that opvp (OpenPrinting Vector) is really a Japanese printing framework that calls on a module or driver to run properly. This driver is canon shared library (x86). I'm going to try running pstoufr2cnca again with the x86 ghostscript binary instead and see if it can open the device. If I can get pstoufr2cnca to run properly, I'm sure that it will print. I will update as I discover more.

wgjhstt247
Posts: 8
Joined: Tue Feb 21, 2017 3:12 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Feb 22, 2017 5:17 pm

Update: The canon imageCLASS MF4570dn printer now prints from CUPS on the raspberry pi. I originally learned about this process from here: https://www.lhinderberger.de/pi/2016/01 ... ivers.html and here http://orange314.com/Run_x86_code_on_OPI

First you need to have binfmt-support and qemu-i386 installed to run x86 drivers, binaries, etc:

Code: Select all

sudo apt-get install binfmt-support qemu-user
Enable the kernel to automatically hand x86 programs to qemu:

Code: Select all

sudo echo ':i386:M::\x7fELF\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x03:\xff\xff\xff\xff\xff\xfe\xfe\xff\xff\xff\xff\xff\xff\xff\xff\xff\xfb\xff\xff:/usr/bin/qemu-i386-static:' > /proc/sys/fs/binfmt_misc/register
Then you're going to create the default directory for the qemu i386 library files and link it to the other default directory for qemu i386 libraries:

Code: Select all

mkdir -p /etc/qemu-binfmt/i386
ln -s /etc/qemu-binfmt/i386 /usr/gnemul/qemu-i386
Next, you'll install the 32-bit driver common and ufr2 deb files manually:

Code: Select all

ar x cndrvcups-common_3.70-1_i386.deb data.tar.xz && mkdir common-data && mv data.tar.xz common-data/data.tar.xz
ar x cndrvcups-common_3.70-1_i386.deb control.tar.xz && tar xvf control.tar.xz ./postinst && mv postinst common-data/postinst.sh && chmod 777 postinst.sh
ar x cndrvcups-ufr2-us_3.30-1_i386.deb data.tar.xz && mkdir ufr2-data && mv data.tar.xz ufr2-data/data.tar.xz 
ar x cndrvcups-ufr2-us_3.30-1_i386.deb control.tar.xz && tar xvf control.tar.xz ./postinst && mv postinst ufr2-data/postinst.sh && chmod 777 postinst.sh
sudo su
pushd common-data
tar xvC /etc/qemu-binfmt/i386 -f data.tar.xz ./lib ./usr/lib 
tar xvC / -f data.tar.xz ./usr/bin ./usr/include ./usr/share ./usr/lib/cups ./etc 
popd
pushd ufr2-data
tar xvC /etc/qemu-binfmt/i386 -f data.tar.xz ./lib ./usr/lib 
tar xvC / -f data.tar.xz ./usr/bin ./usr/include ./usr/share ./usr/lib/cups ./etc 
popd
./common-data/postinst.sh
./ufr2-data/postinst.sh
Now, the fun part - manually downloading and installing all the dependency libraries. Here's how to extract one library manually to our default library folder:

Code: Select all

pushd /tmp && mkdir libraryname && cd libraryname
wget http://url-to-tar.gz-file
ar x tar.gz-file data.tar.xz --OR-- ar x tar.gz-file data.tar.gz
tar xvC /etc/qemu-binfmt/i386 -f data.tar.xz ./etc ./lib ./usr/lib --OR -- tar xvC /etc/qemu-binfmt/i386 -f data.tar.gz ./etc ./lib ./usr/lib
popd
Finally, since the proprietary cups filter pstoufr2cpca calls ghostscript with an x86 driver/shared library, we also need to download and install the x86 version of ghostscript and all of it's library dependencies as well following the convention above. You may be wondering, "I have two different copies of the ghostscript program now. How do I tell pstoufr2cpca to use the x86 one instead of the arm one?" Not so lucky for us, pstoufr2cpca calls the ghostscript program by full path "/usr/bin/gs". We'll need to create a bash script that replaces "/usr/bin/gs" and allow the bash script to call the correct ghostscript program. Here's the contents of the bash script that I made. I renamed the ghostscript programs to "gs-i386" and "gs-arm" and put them in /usr/bin. This script must also be given execute permission by using chmod.

Code: Select all

#!/bin/bash
PARENT_COMMAND=$(ps --no-headers -o command $PPID)
if [[ $PARENT_COMMAND == *"pstoufr2"* ]]; then
        /usr/bin/gs-i386 "[email protected]"
else
        /usr/bin/gs-arm "[email protected]"
fi
You can test the process that cups uses to print a test page by issuing the commands manually. The last command is the important command. If this runs successfully and pstoout.out contains binary code, your printer will print this document.

Code: Select all

export PPD=/usr/share/cups/model/CNCUPSMF4500ZS.ppd
/usr/lib/cups/filter/bannertopdf 1 me '' 1 '' < /usr/share/cups/data/testprint > bannertopdf.pdf
/usr/lib/cups/filter/pdftopdf 1 me '' 1 '' < bannertopdf.pdf > pdftopdf.pdf
/usr/lib/cups/filter/pdftops 1 me '' 1 '' < pdftopdf.pdf > pdftops.ps
/usr/lib/cups/filter/pstoufr2cpca 1 me '' 1 '' < pdftops.ps > pstoout.out
If this produces errors, you'll need to check if qemu is running the cups filter, is the correct ghostscript program running, and do you have all the dependency x86 libraries installed, etc.

For reference, here's the list of library files that I have in my x86 library folder (these are all debian jessie x86 library files):

Code: Select all

./etc:
total 20
drwxr-xr-x 4 root root 4096 Feb 20 16:05 cups
drwxr-xr-x 4 root root 4096 Oct 28 06:24 ghostscript
drwxr-xr-x 3 root root 4096 Feb  3  2016 gss
drwxr-xr-x 2 root root 4096 Feb 20 16:06 ld.so.conf.d
drwxr-xr-x 2 root root 4096 Nov  6  2014 libpaper.d

./etc/cups:
total 12
drwxr-xr-x 2 root root 4096 Jun  9  2015 interfaces
drwxr-xr-x 2 root root 4096 Jun  9  2015 ppd
-rw-r--r-- 1 root root  160 Jun  9  2015 snmp.conf

./etc/ld.so.conf.d:
total 4
-rw-r--r-- 1 root root 108 Jan 16 11:43 i386-linux-gnu.conf

./lib:
total 4
drwxr-xr-x 2 root root 4096 Mar 29  2015 i386-linux-gnu
lrwxrwxrwx 1 root root   25 Jan 16 11:43 ld-linux.so.2 -> i386-linux-gnu/ld-2.24.so

./lib/i386-linux-gnu:
total 6572
-rwxr-xr-x 1 root root  146716 Jan 16 11:43 ld-2.24.so
lrwxrwxrwx 1 root root      10 Jan 16 11:43 ld-linux.so.2 -> ld-2.24.so
-rw-r--r-- 1 root root   14064 Jan 16 11:43 libanl-2.24.so
lrwxrwxrwx 1 root root      14 Jan 16 11:43 libanl.so.1 -> libanl-2.24.so
lrwxrwxrwx 1 root root      17 Mar 29  2015 libblkid.so.1 -> libblkid.so.1.1.0
-rw-r--r-- 1 root root  289420 Mar 29  2015 libblkid.so.1.1.0
-rw-r--r-- 1 root root    5584 Jan 16 11:43 libBrokenLocale-2.24.so
lrwxrwxrwx 1 root root      23 Jan 16 11:43 libBrokenLocale.so.1 -> libBrokenLocale-2.24.so
-rwxr-xr-x 1 root root 1787812 Jan 16 11:43 libc-2.24.so
-rw-r--r-- 1 root root  185964 Jan 16 11:43 libcidn-2.24.so
lrwxrwxrwx 1 root root      15 Jan 16 11:43 libcidn.so.1 -> libcidn-2.24.so
lrwxrwxrwx 1 root root      17 Dec 27 15:15 libcom_err.so.2 -> libcom_err.so.2.1
-rw-r--r-- 1 root root   13808 Dec 27 15:15 libcom_err.so.2.1
-rw-r--r-- 1 root root   38460 Jan 16 11:43 libcrypt-2.24.so
lrwxrwxrwx 1 root root      16 Jan 16 11:43 libcrypt.so.1 -> libcrypt-2.24.so
lrwxrwxrwx 1 root root      12 Jan 16 11:43 libc.so.6 -> libc-2.24.so
lrwxrwxrwx 1 root root      19 Nov 21 21:14 libdbus-1.so.3 -> libdbus-1.so.3.8.14
-rw-r--r-- 1 root root  350524 Nov 21 21:14 libdbus-1.so.3.8.14
-rw-r--r-- 1 root root   13860 Jan 16 11:43 libdl-2.24.so
lrwxrwxrwx 1 root root      13 Jan 16 11:43 libdl.so.2 -> libdl-2.24.so
lrwxrwxrwx 1 root root      17 Jun  5  2016 libexpat.so.1 -> libexpat.so.1.6.0
-rw-r--r-- 1 root root  165168 Jun  5  2016 libexpat.so.1.6.0
lrwxrwxrwx 1 root root      23 Feb 14 08:16 libglib-2.0.so.0 -> libglib-2.0.so.0.5102.0
-rw-r--r-- 1 root root 1227748 Feb 14 08:16 libglib-2.0.so.0.5102.0
lrwxrwxrwx 1 root root      18 Nov 27  2014 libkeyutils.so.1 -> libkeyutils.so.1.5
-rw-r--r-- 1 root root   13620 Nov 27  2014 libkeyutils.so.1.5
lrwxrwxrwx 1 root root      16 Dec  8  2014 liblzma.so.5 -> liblzma.so.5.0.0
-rw-r--r-- 1 root root  165420 Dec  8  2014 liblzma.so.5.0.0
-rw-r--r-- 1 root root  341556 Jan 16 11:43 libm-2.24.so
-rw-r--r-- 1 root root   13896 Jan 16 11:43 libmemusage.so
lrwxrwxrwx 1 root root      17 Mar 29  2015 libmount.so.1 -> libmount.so.1.1.0
-rw-r--r-- 1 root root  322680 Mar 29  2015 libmount.so.1.1.0
lrwxrwxrwx 1 root root      12 Jan 16 11:43 libm.so.6 -> libm-2.24.so
-rw-r--r-- 1 root root   96128 Jan 16 11:43 libnsl-2.24.so
lrwxrwxrwx 1 root root      14 Jan 16 11:43 libnsl.so.1 -> libnsl-2.24.so
-rw-r--r-- 1 root root   34644 Jan 16 11:43 libnss_compat-2.24.so
lrwxrwxrwx 1 root root      21 Jan 16 11:43 libnss_compat.so.2 -> libnss_compat-2.24.so
-rw-r--r-- 1 root root   22100 Jan 16 11:43 libnss_dns-2.24.so
lrwxrwxrwx 1 root root      18 Jan 16 11:43 libnss_dns.so.2 -> libnss_dns-2.24.so
-rw-r--r-- 1 root root   46740 Jan 16 11:43 libnss_files-2.24.so
lrwxrwxrwx 1 root root      20 Jan 16 11:43 libnss_files.so.2 -> libnss_files-2.24.so
-rw-r--r-- 1 root root   18028 Jan 16 11:43 libnss_hesiod-2.24.so
lrwxrwxrwx 1 root root      21 Jan 16 11:43 libnss_hesiod.so.2 -> libnss_hesiod-2.24.so
-rw-r--r-- 1 root root   46776 Jan 16 11:43 libnss_nis-2.24.so
-rw-r--r-- 1 root root   54936 Jan 16 11:43 libnss_nisplus-2.24.so
lrwxrwxrwx 1 root root      22 Jan 16 11:43 libnss_nisplus.so.2 -> libnss_nisplus-2.24.so
lrwxrwxrwx 1 root root      18 Jan 16 11:43 libnss_nis.so.2 -> libnss_nis-2.24.so
-rw-r--r-- 1 root root    5592 Jan 16 11:43 libpcprofile.so
lrwxrwxrwx 1 root root      17 Mar 26  2016 libpcre.so.3 -> libpcre.so.3.13.1
-rw-r--r-- 1 root root  464180 Mar 26  2016 libpcre.so.3.13.1
lrwxrwxrwx 1 root root      18 Jan  6 21:23 libpng12.so.0 -> libpng12.so.0.50.0
-rw-r--r-- 1 root root  177984 Jan  6 21:23 libpng12.so.0.50.0
-rwxr-xr-x 1 root root  132356 Jan 16 11:43 libpthread-2.24.so
lrwxrwxrwx 1 root root      18 Jan 16 11:43 libpthread.so.0 -> libpthread-2.24.so
-rw-r--r-- 1 root root   83808 Jan 16 11:43 libresolv-2.24.so
lrwxrwxrwx 1 root root      17 Jan 16 11:43 libresolv.so.2 -> libresolv-2.24.so
-rw-r--r-- 1 root root   30692 Jan 16 11:43 librt-2.24.so
lrwxrwxrwx 1 root root      13 Jan 16 11:43 librt.so.1 -> librt-2.24.so
-rw-r--r-- 1 root root   13844 Jan 16 11:43 libSegFault.so
-rw-r--r-- 1 root root  153640 Aug 31  2014 libselinux.so.1
-rw-r--r-- 1 root root   30592 Jan 16 11:43 libthread_db-1.0.so
lrwxrwxrwx 1 root root      19 Jan 16 11:43 libthread_db.so.1 -> libthread_db-1.0.so
-rw-r--r-- 1 root root    9836 Jan 16 11:43 libutil-2.24.so
lrwxrwxrwx 1 root root      15 Jan 16 11:43 libutil.so.1 -> libutil-2.24.so
lrwxrwxrwx 1 root root      16 Mar 29  2015 libuuid.so.1 -> libuuid.so.1.3.0
-rw-r--r-- 1 root root   18000 Mar 29  2015 libuuid.so.1.3.0
lrwxrwxrwx 1 root root      13 Nov 27  2014 libz.so.1 -> libz.so.1.2.8
-rw-r--r-- 1 root root  112284 Nov 27  2014 libz.so.1.2.8

./usr:
total 16
drwxr-xr-x 2 root root 4096 Feb 22 08:39 bin
drwxr-xr-x 4 root root 4096 Nov  6  2014 lib
drwxr-xr-x 2 root root 4096 Feb 22 08:39 sbin
drwxr-xr-x 4 root root 4096 Aug 31 07:22 share

./usr/bin:
total 112
-rwxr-xr-x 1 root root 1023 Feb 22 08:39 dvipdf
-rwxr-xr-x 1 root root  638 Feb 22 08:39 eps2eps
-rwxr-xr-x 1 root root  311 Feb 22 08:39 font2c
lrwxrwxrwx 1 root root    2 Feb 22 08:39 ghostscript -> gs
-rwxr-xr-x 1 root root 4960 Feb 22 08:39 gs
-rwxr-xr-x 1 root root  350 Feb 22 08:39 gsbj
-rwxr-xr-x 1 root root  352 Feb 22 08:39 gsdj
-rwxr-xr-x 1 root root  352 Feb 22 08:39 gsdj500
-rwxr-xr-x 1 root root  353 Feb 22 08:39 gslj
-rwxr-xr-x 1 root root  350 Feb 22 08:39 gslp
-rwxr-xr-x 1 root root  277 Feb 22 08:39 gsnd
-rwxr-xr-x 1 root root  698 Feb 22 08:39 pdf2dsc
-rwxr-xr-x 1 root root  909 Feb 22 08:39 pdf2ps
-rwxr-xr-x 1 root root  550 Feb 22 08:39 pdfopt
-rwxr-xr-x 1 root root  498 Feb 22 08:39 pf2afm
-rwxr-xr-x 1 root root  516 Feb 22 08:39 pfbtopfa
-rwxr-xr-x 1 root root  404 Feb 22 08:39 pphs
-rwxr-xr-x 1 root root  395 Feb 22 08:39 printafm
-rwxr-xr-x 1 root root  740 Feb 22 08:39 ps2ascii
-rwxr-xr-x 1 root root 2794 Feb 22 08:39 ps2epsi
-rwxr-xr-x 1 root root  272 Feb 22 08:39 ps2pdf
-rwxr-xr-x 1 root root  215 Feb 22 08:39 ps2pdf12
-rwxr-xr-x 1 root root  215 Feb 22 08:39 ps2pdf13
-rwxr-xr-x 1 root root  215 Feb 22 08:39 ps2pdf14
-rwxr-xr-x 1 root root 1097 Feb 22 08:39 ps2pdfwr
-rwxr-xr-x 1 root root  647 Feb 22 08:39 ps2ps
-rwxr-xr-x 1 root root  669 Feb 22 08:39 ps2ps2
lrwxrwxrwx 1 root root    8 Feb 22 08:39 ps2txt -> ps2ascii
-rwxr-xr-x 1 root root  286 Feb 22 08:39 wftopfa

./usr/lib:
total 22508
drwxr-xr-x  8 root root    4096 Jun  9  2015 cups
drwxr-xr-x 12 root root    4096 Feb 22 08:54 i386-linux-gnu
-rw-r--r--  1 root root    5634 Feb 20 12:01 libbuftool.a
-rw-r--r--  1 root root 1473052 Feb 20 12:01 libc3pl.so
-rw-r--r--  1 root root 1473052 Feb 20 12:01 libc3pl.so.0
-rw-r--r--  1 root root 1473052 Feb 20 12:01 libc3pl.so.0.0.1
-rw-r--r--  1 root root  516384 Feb 20 12:01 libcaepcm.so
-rw-r--r--  1 root root  516384 Feb 20 12:01 libcaepcm.so.1
-rw-r--r--  1 root root  516384 Feb 20 12:01 libcaepcm.so.1.0
-rw-r--r--  1 root root    8288 Feb 20 12:05 libcaiocnpkbidi.so
-rw-r--r--  1 root root    8288 Feb 20 12:05 libcaiocnpkbidi.so.1
-rw-r--r--  1 root root    8288 Feb 20 12:05 libcaiocnpkbidi.so.1.0.0
-rw-r--r--  1 root root    4412 Feb 20 12:01 libcaiousb.so
-rw-r--r--  1 root root    4412 Feb 20 12:01 libcaiousb.so.1
-rw-r--r--  1 root root    4412 Feb 20 12:01 libcaiousb.so.1.0.0
-rw-r--r--  1 root root    4984 Feb 20 12:01 libcaiowrap.so
-rw-r--r--  1 root root    4984 Feb 20 12:01 libcaiowrap.so.1
-rw-r--r--  1 root root    4984 Feb 20 12:01 libcaiowrap.so.1.0.0
-rw-r--r--  1 root root   35432 Feb 20 12:01 libcanonc3pl.so
-rw-r--r--  1 root root   35432 Feb 20 12:01 libcanonc3pl.so.1
-rw-r--r--  1 root root   35432 Feb 20 12:01 libcanonc3pl.so.1.0.0
-rw-r--r--  1 root root   27856 Feb 20 12:01 libcanon_slim.so
-rw-r--r--  1 root root   27856 Feb 20 12:01 libcanon_slim.so.1
-rw-r--r--  1 root root   27856 Feb 20 12:01 libcanon_slim.so.1.0.0
-rw-r--r--  1 root root    1019 Feb 20 12:05 libcanonufr2.la
-rw-r--r--  1 root root  195632 Feb 20 12:05 libcanonufr2.so
-rw-r--r--  1 root root  195632 Feb 20 12:05 libcanonufr2.so.1
-rw-r--r--  1 root root  195632 Feb 20 12:05 libcanonufr2.so.1.0.0
-rw-r--r--  1 root root  245440 Feb 20 12:05 libcnlbcm.so
-rw-r--r--  1 root root  245440 Feb 20 12:05 libcnlbcm.so.1
-rw-r--r--  1 root root  245440 Feb 20 12:05 libcnlbcm.so.1.0
-rw-r--r--  1 root root   24448 Feb 20 12:05 libcnpkufr2.a
-rw-r--r--  1 root root     778 Feb 20 12:05 libcnpkufr2.la
-rw-r--r--  1 root root  568676 Feb 20 12:01 libColorGearC.so
-rw-r--r--  1 root root  568676 Feb 20 12:01 libColorGearC.so.1
-rw-r--r--  1 root root  568676 Feb 20 12:01 libColorGearC.so.1.0.0
-rw-r--r--  1 root root  717224 Feb 20 12:01 libColorGear.so
-rw-r--r--  1 root root  717224 Feb 20 12:01 libColorGear.so.0
-rw-r--r--  1 root root  717224 Feb 20 12:01 libColorGear.so.0.0.0
-rw-r--r--  1 root root  135908 Feb 20 12:05 libEnoJBIG.so
-rw-r--r--  1 root root  135908 Feb 20 12:05 libEnoJBIG.so.1
-rw-r--r--  1 root root  135908 Feb 20 12:05 libEnoJBIG.so.1.0.0
-rw-r--r--  1 root root  193028 Feb 20 12:05 libEnoJPEG.so
-rw-r--r--  1 root root  193028 Feb 20 12:05 libEnoJPEG.so.1
-rw-r--r--  1 root root  193028 Feb 20 12:05 libEnoJPEG.so.1.0.0
lrwxrwxrwx  1 root root      13 Oct 28 06:24 libgs.so.9 -> libgs.so.9.06
-rw-r--r--  1 root root 9501472 Oct 28 06:24 libgs.so.9.06
lrwxrwxrwx  1 root root      20 Feb 10  2012 libjbig2dec.so.0 -> libjbig2dec.so.0.0.0
-rw-r--r--  1 root root   95240 Feb 10  2012 libjbig2dec.so.0.0.0
-rw-r--r--  1 root root   21388 Feb 20 12:05 libufr2filter.so
-rw-r--r--  1 root root   21388 Feb 20 12:05 libufr2filter.so.1
-rw-r--r--  1 root root   21388 Feb 20 12:05 libufr2filter.so.1.0.0
-rw-r--r--  1 root root    1517 Feb 20 12:05 libuictlufr2.la
-rw-r--r--  1 root root  282128 Feb 20 12:05 libuictlufr2.so
-rw-r--r--  1 root root  282128 Feb 20 12:05 libuictlufr2.so.1
-rw-r--r--  1 root root  282128 Feb 20 12:05 libuictlufr2.so.1.0.0

./usr/lib/cups:
total 24
drwxr-xr-x 2 root root 4096 Jun  9  2015 backend-available
drwxr-xr-x 2 root root 4096 Jun  9  2015 cgi-bin
drwxr-xr-x 2 root root 4096 Jun  9  2015 daemon
drwxr-xr-x 2 root root 4096 Jun  9  2015 driver
drwxr-xr-x 2 root root 4096 Feb 18 00:12 filter
drwxr-xr-x 2 root root 4096 Jun  9  2015 monitor

./usr/lib/cups/backend-available:
total 176
-rwxr--r-- 1 root root 17768 Jun  9  2015 dnssd
-rwxr--r-- 1 root root 50600 Jun  9  2015 lpd
-r-xr-xr-x 1 root root 25964 Jun  9  2015 snmp
-r-xr-xr-x 1 root root 34216 Jun  9  2015 socket
-r-xr--r-- 1 root root 38248 Jun  9  2015 usb

./usr/lib/cups/cgi-bin:
total 128
-rwxr-xr-x 1 root root 66972 Jun  9  2015 admin.cgi
-rwxr-xr-x 1 root root 13680 Jun  9  2015 classes.cgi
-rwxr-xr-x 1 root root 13672 Jun  9  2015 help.cgi
-rwxr-xr-x 1 root root  9576 Jun  9  2015 jobs.cgi
-rwxr-xr-x 1 root root 13680 Jun  9  2015 printers.cgi

./usr/lib/cups/daemon:
total 108
-rwxr-xr-x 1 root root 17768 Jun  9  2015 cups-deviced
-rwxr-xr-x 1 root root 46796 Jun  9  2015 cups-driverd
-rwxr-xr-x 1 root root  5480 Jun  9  2015 cups-exec
-rwxr-xr-x 1 root root 30108 Jun  9  2015 cups-lpd

./usr/lib/cups/driver:
total 0

./usr/lib/cups/filter:
total 80
lrwxrwxrwx 1 root root    13 Jun  9  2015 rastertodymo -> rastertolabel
-rwxr-xr-x 1 root root 17768 Jun  9  2015 rastertoepson
-rwxr-xr-x 1 root root 17768 Jun  9  2015 rastertohp
-rwxr-xr-x 1 root root 21864 Jun  9  2015 rastertolabel
-rwxr-xr-x 1 root root 13672 Jun  9  2015 rastertopwg

./usr/lib/cups/monitor:
total 24
-rwxr-xr-x 1 root root 9576 Jun  9  2015 bcp
-rwxr-xr-x 1 root root 9576 Jun  9  2015 tbcp

./usr/lib/i386-linux-gnu:
total 24980
drwxr-xr-x 2 root root    4096 Jan 16 11:43 audit
drwxr-xr-x 2 root root    4096 Apr 13  2015 avahi
drwxr-xr-x 2 root root   12288 Jan 16 11:43 gconv
drwxr-xr-x 3 root root    4096 May 29  2016 gdk-pixbuf-2.0
drwxr-xr-x 3 root root    4096 Feb 14 08:16 gio
drwxr-xr-x 2 root root    4096 Feb 14 08:16 glib-2.0
drwxr-xr-x 3 root root    4096 Jan 26 10:59 gtk-2.0
drwxr-xr-x 3 root root    4096 Feb  3  2016 krb5
lrwxrwxrwx 1 root root      23 Sep 19 11:57 libatk-1.0.so.0 -> libatk-1.0.so.0.22209.1
-rw-r--r-- 1 root root  153796 Sep 19 11:57 libatk-1.0.so.0.22209.1
lrwxrwxrwx 1 root root      24 Apr 13  2015 libavahi-client.so.3 -> libavahi-client.so.3.2.9
-rw-r--r-- 1 root root   75736 Apr 13  2015 libavahi-client.so.3.2.9
lrwxrwxrwx 1 root root      24 Apr 13  2015 libavahi-common.so.3 -> libavahi-common.so.3.5.3
-rw-r--r-- 1 root root   55300 Apr 13  2015 libavahi-common.so.3.5.3
lrwxrwxrwx 1 root root      21 Dec 13 17:13 libcairo.so.2 -> libcairo.so.2.11400.8
-rw-r--r-- 1 root root 1305684 Dec 13 17:13 libcairo.so.2.11400.8
-rw-r--r-- 1 root root   34052 Jun  9  2015 libcupsimage.so.2
-rw-r--r-- 1 root root  509260 Jun  9  2015 libcups.so.2
lrwxrwxrwx 1 root root      18 Jan 10  2014 libdatrie.so.1 -> libdatrie.so.1.3.1
-rw-r--r-- 1 root root   29900 Jan 10  2014 libdatrie.so.1.3.1
lrwxrwxrwx 1 root root      18 Jun  5  2016 libexpatw.so.1 -> libexpatw.so.1.6.0
-rw-r--r-- 1 root root  165168 Jun  5  2016 libexpatw.so.1.6.0
lrwxrwxrwx 1 root root      15 Dec  9  2014 libffi.so.6 -> libffi.so.6.0.2
-rw-r--r-- 1 root root   26080 Dec  9  2014 libffi.so.6.0.2
lrwxrwxrwx 1 root root      22 Aug 24 07:21 libfontconfig.so.1 -> libfontconfig.so.1.8.0
-rw-r--r-- 1 root root  268172 Aug 24 07:21 libfontconfig.so.1.8.0
lrwxrwxrwx 1 root root      21 Oct  5  2015 libfreetype.so.6 -> libfreetype.so.6.11.1
-rw-r--r-- 1 root root  723108 Oct  5  2015 libfreetype.so.6.11.1
lrwxrwxrwx 1 root root      29 May 29  2016 libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.3100.1
-rw-r--r-- 1 root root  161868 May 29  2016 libgdk_pixbuf-2.0.so.0.3100.1
lrwxrwxrwx 1 root root      34 May 29  2016 libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.3100.1
-rw-r--r-- 1 root root   75396 May 29  2016 libgdk_pixbuf_xlib-2.0.so.0.3100.1
lrwxrwxrwx 1 root root      27 Jan 26 10:59 libgdk-x11-2.0.so.0 -> libgdk-x11-2.0.so.0.2400.31
-rw-r--r-- 1 root root  786504 Jan 26 10:59 libgdk-x11-2.0.so.0.2400.31
lrwxrwxrwx 1 root root      22 Feb 14 08:16 libgio-2.0.so.0 -> libgio-2.0.so.0.5102.0
-rw-r--r-- 1 root root 1934752 Feb 14 08:16 libgio-2.0.so.0.5102.0
lrwxrwxrwx 1 root root      21 Dec 29  2013 libglade-2.0.so.0 -> libglade-2.0.so.0.0.7
-rw-r--r-- 1 root root  105428 Dec 29  2013 libglade-2.0.so.0.0.7
lrwxrwxrwx 1 root root      26 Feb 14 08:16 libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.5102.0
-rw-r--r-- 1 root root   13816 Feb 14 08:16 libgmodule-2.0.so.0.5102.0
lrwxrwxrwx 1 root root      16 Aug 17  2014 libgmp.so.10 -> libgmp.so.10.2.0
-rw-r--r-- 1 root root  584412 Aug 17  2014 libgmp.so.10.2.0
lrwxrwxrwx 1 root root      25 Nov  5 16:19 libgnutls-deb0.so.28 -> libgnutls-deb0.so.28.41.0
-rw-r--r-- 1 root root 1316576 Nov  5 16:19 libgnutls-deb0.so.28.41.0
lrwxrwxrwx 1 root root      26 Feb 14 08:16 libgobject-2.0.so.0 -> libgobject-2.0.so.0.5102.0
-rw-r--r-- 1 root root  378760 Feb 14 08:16 libgobject-2.0.so.0.5102.0
lrwxrwxrwx 1 root root      17 Mar  9  2016 libgraphite2.so.2.0.0 -> libgraphite2.so.3
lrwxrwxrwx 1 root root      21 Mar  9  2016 libgraphite2.so.3 -> libgraphite2.so.3.0.1
-rw-r--r-- 1 root root  161228 Mar  9  2016 libgraphite2.so.3.0.1
lrwxrwxrwx 1 root root      21 Feb  3  2016 libgssapi_krb5.so.2 -> libgssapi_krb5.so.2.2
-rw-r--r-- 1 root root  327580 Feb  3  2016 libgssapi_krb5.so.2.2
lrwxrwxrwx 1 root root      26 Feb 14 08:16 libgthread-2.0.so.0 -> libgthread-2.0.so.0.5102.0
-rw-r--r-- 1 root root    5488 Feb 14 08:16 libgthread-2.0.so.0.5102.0
drwxr-xr-x 2 root root    4096 Jan 26 10:59 libgtk2.0-0
lrwxrwxrwx 1 root root      27 Jan 26 10:59 libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.2400.31
-rw-r--r-- 1 root root 5182208 Jan 26 10:59 libgtk-x11-2.0.so.0.2400.31
lrwxrwxrwx 1 root root      22 Oct 30  2014 libharfbuzz.so.0 -> libharfbuzz.so.0.935.0
-rw-r--r-- 1 root root  378976 Oct 30  2014 libharfbuzz.so.0.935.0
lrwxrwxrwx 1 root root      17 Nov  6 15:22 libhogweed.so.2 -> libhogweed.so.2.5
-rw-r--r-- 1 root root  190544 Nov  6 15:22 libhogweed.so.2.5
lrwxrwxrwx 1 root root      17 Aug 31 07:22 libidn.so.11 -> libidn.so.11.6.12
-rw-r--r-- 1 root root  206352 Aug 31 07:22 libidn.so.11.6.12
-rw-r--r-- 1 root root   21960 Apr 15  2014 libijs-0.35.so
lrwxrwxrwx 1 root root      18 Feb  7 16:23 libjasper.so.1 -> libjasper.so.1.0.0
-rw-r--r-- 1 root root  351224 Feb  7 16:23 libjasper.so.1.0.0
-rw-r--r-- 1 root root   57524 Oct 16  2014 libjbig.so.0
lrwxrwxrwx 1 root root      17 Mar  8  2015 libjpeg.so.62 -> libjpeg.so.62.1.0
-rw-r--r-- 1 root root  317152 Mar  8  2015 libjpeg.so.62.1.0
lrwxrwxrwx 1 root root      18 Feb  3  2016 libk5crypto.so.3 -> libk5crypto.so.3.1
-rw-r--r-- 1 root root  202524 Feb  3  2016 libk5crypto.so.3.1
lrwxrwxrwx 1 root root      14 Feb  3  2016 libkrb5.so.3 -> libkrb5.so.3.3
-rw-r--r-- 1 root root  874580 Feb  3  2016 libkrb5.so.3.3
lrwxrwxrwx 1 root root      21 Feb  3  2016 libkrb5support.so.0 -> libkrb5support.so.0.1
-rw-r--r-- 1 root root   46924 Feb  3  2016 libkrb5support.so.0.1
lrwxrwxrwx 1 root root      17 Jan 27 08:05 liblcms2.so.2 -> liblcms2.so.2.0.6
-rw-r--r-- 1 root root  400288 Jan 27 08:05 liblcms2.so.2.0.6
lrwxrwxrwx 1 root root      16 Nov  6 15:22 libnettle.so.4 -> libnettle.so.4.7
-rw-r--r-- 1 root root  214748 Nov  6 15:22 libnettle.so.4.7
lrwxrwxrwx 1 root root      19 Sep 19  2014 libp11-kit.so.0 -> libp11-kit.so.0.0.0
-rw-r--r-- 1 root root  270148 Sep 19  2014 libp11-kit.so.0.0.0
lrwxrwxrwx 1 root root      24 Nov 18  2014 libpango-1.0.so.0 -> libpango-1.0.so.0.3600.8
-rw-r--r-- 1 root root  310224 Mar 31  2012 libpango-1.0.so.0.3000.0
-rw-r--r-- 1 root root  334400 Nov 18  2014 libpango-1.0.so.0.3600.8
lrwxrwxrwx 1 root root      29 Nov 18  2014 libpangocairo-1.0.so.0 -> libpangocairo-1.0.so.0.3600.8
-rw-r--r-- 1 root root   51204 Mar 31  2012 libpangocairo-1.0.so.0.3000.0
-rw-r--r-- 1 root root   51168 Nov 18  2014 libpangocairo-1.0.so.0.3600.8
lrwxrwxrwx 1 root root      27 Nov 18  2014 libpangoft2-1.0.so.0 -> libpangoft2-1.0.so.0.3600.8
-rw-r--r-- 1 root root  182812 Mar 31  2012 libpangoft2-1.0.so.0.3000.0
-rw-r--r-- 1 root root   92532 Nov 18  2014 libpangoft2-1.0.so.0.3600.8
lrwxrwxrwx 1 root root      22 Sep  2  2014 libpangox-1.0.so.0 -> libpangox-1.0.so.0.0.0
-rw-r--r-- 1 root root  129888 Sep  2  2014 libpangox-1.0.so.0.0.0
-rw-r--r-- 1 root root   51248 Mar 31  2012 libpangox-1.0.so.0.3000.0
lrwxrwxrwx 1 root root      27 Nov 18  2014 libpangoxft-1.0.so.0 -> libpangoxft-1.0.so.0.3600.8
-rw-r--r-- 1 root root   30452 Mar 31  2012 libpangoxft-1.0.so.0.3000.0
-rw-r--r-- 1 root root   34504 Nov 18  2014 libpangoxft-1.0.so.0.3600.8
lrwxrwxrwx 1 root root      17 Nov  6  2014 libpaper.so.1 -> libpaper.so.1.1.2
-rw-r--r-- 1 root root   11156 Nov  6  2014 libpaper.so.1.1.2
lrwxrwxrwx 1 root root      22 Mar 26  2016 libpcreposix.so.3 -> libpcreposix.so.3.13.1
-rw-r--r-- 1 root root    9500 Mar 26  2016 libpcreposix.so.3.13.1
lrwxrwxrwx 1 root root      21 Aug 24  2014 libpixman-1.so.0 -> libpixman-1.so.0.32.6
-rw-r--r-- 1 root root  750960 Aug 24  2014 libpixman-1.so.0.32.6
lrwxrwxrwx 1 root root      33 Jan  6 21:23 libpng12.so.0 -> /lib/i386-linux-gnu/libpng12.so.0
lrwxrwxrwx 1 root root      19 Jan  9 12:50 libpng16.so.16 -> libpng16.so.16.28.0
-rw-r--r-- 1 root root  230708 Jan  9 12:50 libpng16.so.16.28.0
lrwxrwxrwx 1 root root      19 Dec 26  2014 libstdc++.so.6 -> libstdc++.so.6.0.20
-rw-r--r-- 1 root root  963316 Dec 26  2014 libstdc++.so.6.0.20
lrwxrwxrwx 1 root root      17 May  4  2016 libtasn1.so.6 -> libtasn1.so.6.3.2
-rw-r--r-- 1 root root   79484 May  4  2016 libtasn1.so.6.3.2
lrwxrwxrwx 1 root root      16 Aug 21  2014 libthai.so.0 -> libthai.so.0.2.0
-rw-r--r-- 1 root root   40328 Aug 21  2014 libthai.so.0.2.0
lrwxrwxrwx 1 root root      16 Jan 12 17:27 libtiff.so.5 -> libtiff.so.5.2.0
-rw-r--r-- 1 root root  504808 Jan 12 17:27 libtiff.so.5.2.0
lrwxrwxrwx 1 root root      15 Aug 17  2014 libX11.so.6 -> libX11.so.6.3.0
-rw-r--r-- 1 root root 1383712 Aug 17  2014 libX11.so.6.3.0
lrwxrwxrwx 1 root root      15 Jun 14  2013 libXau.so.6 -> libXau.so.6.0.0
-rw-r--r-- 1 root root    9660 Jun 14  2013 libXau.so.6.0.0
lrwxrwxrwx 1 root root      22 Nov  8  2014 libxcb-render.so.0 -> libxcb-render.so.0.0.0
-rw-r--r-- 1 root root   38328 Nov  8  2014 libxcb-render.so.0.0.0
lrwxrwxrwx 1 root root      19 Nov  8  2014 libxcb-shm.so.0 -> libxcb-shm.so.0.0.0
-rw-r--r-- 1 root root    9620 Nov  8  2014 libxcb-shm.so.0.0.0
lrwxrwxrwx 1 root root      15 Nov  8  2014 libxcb.so.1 -> libxcb.so.1.1.0
-rw-r--r-- 1 root root  149244 Nov  8  2014 libxcb.so.1.1.0
lrwxrwxrwx 1 root root      22 Jun 16  2013 libXcomposite.so.1 -> libXcomposite.so.1.0.0
-rw-r--r-- 1 root root    9592 Jun 16  2013 libXcomposite.so.1.0.0
lrwxrwxrwx 1 root root      19 Nov  8  2014 libXcursor.so.1 -> libXcursor.so.1.0.2
-rw-r--r-- 1 root root   42648 Nov  8  2014 libXcursor.so.1.0.2
lrwxrwxrwx 1 root root      19 Dec  8  2014 libXdamage.so.1 -> libXdamage.so.1.1.0
-rw-r--r-- 1 root root    9564 Dec  8  2014 libXdamage.so.1.1.0
lrwxrwxrwx 1 root root      17 Dec 10  2014 libXdmcp.so.6 -> libXdmcp.so.6.0.0
-rw-r--r-- 1 root root   20072 Dec 10  2014 libXdmcp.so.6.0.0
lrwxrwxrwx 1 root root      16 Oct  5  2014 libXext.so.6 -> libXext.so.6.4.0
-rw-r--r-- 1 root root   80208 Oct  5  2014 libXext.so.6.4.0
lrwxrwxrwx 1 root root      18 Dec  8  2014 libXfixes.so.3 -> libXfixes.so.3.1.0
-rw-r--r-- 1 root root   21876 Dec  8  2014 libXfixes.so.3.1.0
lrwxrwxrwx 1 root root      15 Jul 13  2014 libXft.so.2 -> libXft.so.2.3.2
-rw-r--r-- 1 root root   92368 Jul 13  2014 libXft.so.2.3.2
lrwxrwxrwx 1 root root      20 Nov  8  2014 libXinerama.so.1 -> libXinerama.so.1.0.0
-rw-r--r-- 1 root root    9668 Nov  8  2014 libXinerama.so.1.0.0
lrwxrwxrwx 1 root root      14 Dec  8  2014 libXi.so.6 -> libXi.so.6.1.0
-rw-r--r-- 1 root root   71212 Dec  8  2014 libXi.so.6.1.0
lrwxrwxrwx 1 root root      16 Dec 23 10:54 libxml2.so.2 -> libxml2.so.2.9.1
-rw-r--r-- 1 root root 1569152 Dec 23 10:54 libxml2.so.2.9.1
lrwxrwxrwx 1 root root      18 Nov  8  2014 libXrandr.so.2 -> libXrandr.so.2.2.0
-rw-r--r-- 1 root root   42460 Nov  8  2014 libXrandr.so.2.2.0
lrwxrwxrwx 1 root root      19 Nov  8  2014 libXrender.so.1 -> libXrender.so.1.3.0
-rw-r--r-- 1 root root   42700 Nov  8  2014 libXrender.so.1.3.0
drwxr-xr-x 3 root root    4096 Mar 31  2012 pango

./usr/lib/i386-linux-gnu/audit:
total 12
-rw-r--r-- 1 root root 9732 Jan 16 11:43 sotruss-lib.so

./usr/lib/i386-linux-gnu/avahi:
total 16
-rw-r--r-- 1 root root 15569 Apr 13  2015 service-types.db

./usr/lib/i386-linux-gnu/gconv:
total 6428
-rw-r--r-- 1 root root  21968 Jan 16 11:43 ANSI_X3.110.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ARMSCII-8.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ASMO_449.so
-rw-r--r-- 1 root root 234960 Jan 16 11:43 BIG5HKSCS.so
-rw-r--r-- 1 root root  87504 Jan 16 11:43 BIG5.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 BRF.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP10007.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP1125.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP1250.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP1251.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP1252.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP1253.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP1254.so
-rw-r--r-- 1 root root  13776 Jan 16 11:43 CP1255.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP1256.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP1257.so
-rw-r--r-- 1 root root  13780 Jan 16 11:43 CP1258.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP737.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP770.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP771.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP772.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP773.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP774.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CP775.so
-rw-r--r-- 1 root root  95696 Jan 16 11:43 CP932.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CSN_369103.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 CWI.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 DEC-MCS.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-AT-DE-A.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-AT-DE.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-CA-FR.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-DK-NO-A.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-DK-NO.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-ES-A.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-ES.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-ES-S.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-FI-SE-A.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-FI-SE.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-FR.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-IS-FRISS.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-IT.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-PT.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-UK.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 EBCDIC-US.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ECMA-CYRILLIC.so
-rw-r--r-- 1 root root  17872 Jan 16 11:43 EUC-CN.so
-rw-r--r-- 1 root root  13776 Jan 16 11:43 EUC-JISX0213.so
-rw-r--r-- 1 root root  87504 Jan 16 11:43 EUC-JP-MS.so
-rw-r--r-- 1 root root  13776 Jan 16 11:43 EUC-JP.so
-rw-r--r-- 1 root root  13776 Jan 16 11:43 EUC-KR.so
-rw-r--r-- 1 root root  21968 Jan 16 11:43 EUC-TW.so
-rw-r--r-- 1 root root 177616 Jan 16 11:43 GB18030.so
-rw-r--r-- 1 root root  54732 Jan 16 11:43 GBBIG5.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 GBGBK.so
-rw-r--r-- 1 root root 112080 Jan 16 11:43 GBK.so
-rw-r--r-- 1 root root  56095 Jan 16 11:43 gconv-modules
-rw-r--r-- 1 root root  26256 Jan 16 11:43 gconv-modules.cache
-rw-r--r-- 1 root root   9680 Jan 16 11:43 GEORGIAN-ACADEMY.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 GEORGIAN-PS.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 GOST_19768-74.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 GREEK7-OLD.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 GREEK7.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 GREEK-CCITT.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 HP-GREEK8.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 HP-ROMAN8.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 HP-ROMAN9.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 HP-THAI8.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 HP-TURKISH8.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM037.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM038.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1004.so
-rw-r--r-- 1 root root   5580 Jan 16 11:43 IBM1008_420.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1008.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1025.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1026.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1046.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1047.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1097.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1112.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1122.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1123.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1124.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1129.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1130.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1132.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1133.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1137.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1140.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1141.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1142.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1143.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1144.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1145.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1146.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1147.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1148.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1149.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1153.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1154.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1155.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1156.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1157.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1158.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1160.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1161.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1162.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1163.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1164.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1166.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM1167.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM12712.so
-rw-r--r-- 1 root root 148940 Jan 16 11:43 IBM1364.so
-rw-r--r-- 1 root root 124364 Jan 16 11:43 IBM1371.so
-rw-r--r-- 1 root root 173516 Jan 16 11:43 IBM1388.so
-rw-r--r-- 1 root root 230860 Jan 16 11:43 IBM1390.so
-rw-r--r-- 1 root root 230860 Jan 16 11:43 IBM1399.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM16804.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM256.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM273.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM274.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM275.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM277.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM278.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM280.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM281.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM284.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM285.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM290.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM297.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM420.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM423.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM424.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM437.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM4517.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM4899.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM4909.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM4971.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM500.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM5347.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM803.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM850.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM851.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM852.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM855.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM856.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM857.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM860.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM861.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM862.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM863.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM864.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM865.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM866NAV.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM866.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM868.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM869.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM870.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM871.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM874.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM875.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM880.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM891.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM901.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM902.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM9030.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM903.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM904.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM905.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM9066.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM918.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM921.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM922.so
-rw-r--r-- 1 root root  99848 Jan 16 11:43 IBM930.so
-rw-r--r-- 1 root root  71120 Jan 16 11:43 IBM932.so
-rw-r--r-- 1 root root 120328 Jan 16 11:43 IBM933.so
-rw-r--r-- 1 root root  83464 Jan 16 11:43 IBM935.so
-rw-r--r-- 1 root root 112080 Jan 16 11:43 IBM937.so
-rw-r--r-- 1 root root  99848 Jan 16 11:43 IBM939.so
-rw-r--r-- 1 root root  71120 Jan 16 11:43 IBM943.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IBM9448.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 IEC_P27-1.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 INIS-8.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 INIS-CYRILLIC.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 INIS.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISIRI-3342.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO_10367-BOX.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO_11548-1.so
-rw-r--r-- 1 root root  38356 Jan 16 11:43 ISO-2022-CN-EXT.so
-rw-r--r-- 1 root root  30160 Jan 16 11:43 ISO-2022-CN.so
-rw-r--r-- 1 root root  26064 Jan 16 11:43 ISO-2022-JP-3.so
-rw-r--r-- 1 root root  38368 Jan 16 11:43 ISO-2022-JP.so
-rw-r--r-- 1 root root  13776 Jan 16 11:43 ISO-2022-KR.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO_2033.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO_5427-EXT.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO_5427.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO_5428.so
-rw-r--r-- 1 root root  17940 Jan 16 11:43 ISO646.so
-rw-r--r-- 1 root root  21968 Jan 16 11:43 ISO_6937-2.so
-rw-r--r-- 1 root root  21968 Jan 16 11:43 ISO_6937.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-10.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-11.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-13.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-14.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-15.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-16.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-1.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-2.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-3.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-4.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-5.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-6.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-7.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-8.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-9E.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO8859-9.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO-IR-197.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 ISO-IR-209.so
-rw-r--r-- 1 root root  17872 Jan 16 11:43 JOHAB.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 KOI8-R.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 KOI8-RU.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 KOI-8.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 KOI8-T.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 KOI8-U.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 LATIN-GREEK-1.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 LATIN-GREEK.so
-rw-r--r-- 1 root root 464224 Jan 16 11:43 libCNS.so
-rw-r--r-- 1 root root  66912 Jan 16 11:43 libGB.so
-rw-r--r-- 1 root root  58720 Jan 16 11:43 libISOIR165.so
-rw-r--r-- 1 root root  99680 Jan 16 11:43 libJIS.so
-rw-r--r-- 1 root root 120160 Jan 16 11:43 libJISX0213.so
-rw-r--r-- 1 root root  46432 Jan 16 11:43 libKSC.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 MAC-CENTRALEUROPE.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 MACINTOSH.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 MAC-IS.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 MAC-SAMI.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 MAC-UK.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 MIK.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 NATS-DANO.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 NATS-SEFI.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 PT154.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 RK1048.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 SAMI-WS2.so
-rw-r--r-- 1 root root  13776 Jan 16 11:43 SHIFT_JISX0213.so
-rw-r--r-- 1 root root  91600 Jan 16 11:43 SJIS.so
-rw-r--r-- 1 root root  17872 Jan 16 11:43 T.61.so
-rw-r--r-- 1 root root  13780 Jan 16 11:43 TCVN5712-1.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 TIS-620.so
-rw-r--r-- 1 root root  17872 Jan 16 11:43 TSCII.so
-rw-r--r-- 1 root root  71120 Jan 16 11:43 UHC.so
-rw-r--r-- 1 root root   9688 Jan 16 11:43 UNICODE.so
-rw-r--r-- 1 root root  13788 Jan 16 11:43 UTF-16.so
-rw-r--r-- 1 root root   9692 Jan 16 11:43 UTF-32.so
-rw-r--r-- 1 root root  17876 Jan 16 11:43 UTF-7.so
-rw-r--r-- 1 root root   9680 Jan 16 11:43 VISCII.so

./usr/lib/i386-linux-gnu/gdk-pixbuf-2.0:
total 16
drwxr-xr-x 3 root root 4096 May 29  2016 2.10.0
-rwxr-xr-x 1 root root 9752 May 29  2016 gdk-pixbuf-query-loaders

./usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0:
total 4
drwxr-xr-x 2 root root 4096 May 29  2016 loaders

./usr/lib/i386-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders:
total 312
-rw-r--r-- 1 root root 17956 May 29  2016 libpixbufloader-ani.so
-rw-r--r-- 1 root root 17892 May 29  2016 libpixbufloader-bmp.so
-rw-r--r-- 1 root root 26220 May 29  2016 libpixbufloader-gif.so
-rw-r--r-- 1 root root  9712 May 29  2016 libpixbufloader-icns.so
-rw-r--r-- 1 root root 13844 May 29  2016 libpixbufloader-ico.so
-rw-r--r-- 1 root root 13816 May 29  2016 libpixbufloader-jasper.so
-rw-r--r-- 1 root root 22112 May 29  2016 libpixbufloader-jpeg.so
-rw-r--r-- 1 root root 17848 May 29  2016 libpixbufloader-pcx.so
-rw-r--r-- 1 root root 22172 May 29  2016 libpixbufloader-png.so
-rw-r--r-- 1 root root 13784 May 29  2016 libpixbufloader-pnm.so
-rw-r--r-- 1 root root 13804 May 29  2016 libpixbufloader-qtif.so
-rw-r--r-- 1 root root  9660 May 29  2016 libpixbufloader-ras.so
-rw-r--r-- 1 root root 13764 May 29  2016 libpixbufloader-tga.so
-rw-r--r-- 1 root root 13864 May 29  2016 libpixbufloader-tiff.so
-rw-r--r-- 1 root root  9656 May 29  2016 libpixbufloader-wbmp.so
-rw-r--r-- 1 root root 13820 May 29  2016 libpixbufloader-xbm.so
-rw-r--r-- 1 root root 26160 May 29  2016 libpixbufloader-xpm.so

./usr/lib/i386-linux-gnu/gio:
total 4
drwxr-xr-x 2 root root 4096 Feb 14 08:16 modules

./usr/lib/i386-linux-gnu/gio/modules:
total 0

./usr/lib/i386-linux-gnu/glib-2.0:
total 92
-rwxr-xr-x 1 root root  9788 Feb 14 08:16 gio-querymodules
-rwxr-xr-x 1 root root 34728 Feb 14 08:16 glib-compile-resources
-rwxr-xr-x 1 root root 43036 Feb 14 08:16 glib-compile-schemas

./usr/lib/i386-linux-gnu/gtk-2.0:
total 4
drwxr-xr-x 4 root root 4096 Jan 26 10:59 2.10.0

./usr/lib/i386-linux-gnu/gtk-2.0/2.10.0:
total 8
drwxr-xr-x 2 root root 4096 Jan 26 10:59 immodules
drwxr-xr-x 2 root root 4096 Jan 26 10:59 printbackends

./usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/immodules:
total 164
-rw-r--r-- 1 root root 18848 Jan 26 10:59 im-am-et.so
-rw-r--r-- 1 root root  5624 Jan 26 10:59 im-cedilla.so
-rw-r--r-- 1 root root  7168 Jan 26 10:59 im-cyrillic-translit.so
-rw-r--r-- 1 root root  7592 Jan 26 10:59 im-inuktitut.so
-rw-r--r-- 1 root root  6268 Jan 26 10:59 im-ipa.so
-rw-r--r-- 1 root root 13836 Jan 26 10:59 im-multipress.so
-rw-r--r-- 1 root root 13760 Jan 26 10:59 im-thai.so
-rw-r--r-- 1 root root 18836 Jan 26 10:59 im-ti-er.so
-rw-r--r-- 1 root root 18836 Jan 26 10:59 im-ti-et.so
-rw-r--r-- 1 root root  7480 Jan 26 10:59 im-viqr.so
-rw-r--r-- 1 root root 30480 Jan 26 10:59 im-xim.so

./usr/lib/i386-linux-gnu/gtk-2.0/2.10.0/printbackends:
total 156
-rw-r--r-- 1 root root 105548 Jan 26 10:59 libprintbackend-cups.so
-rw-r--r-- 1 root root  18100 Jan 26 10:59 libprintbackend-file.so
-rw-r--r-- 1 root root  13864 Jan 26 10:59 libprintbackend-lpr.so
-rw-r--r-- 1 root root  13884 Jan 26 10:59 libprintbackend-test.so

./usr/lib/i386-linux-gnu/krb5:
total 4
drwxr-xr-x 3 root root 4096 Feb  3  2016 plugins

./usr/lib/i386-linux-gnu/krb5/plugins:
total 4
drwxr-xr-x 2 root root 4096 Feb  3  2016 krb5

./usr/lib/i386-linux-gnu/krb5/plugins/krb5:
total 0

./usr/lib/i386-linux-gnu/libgtk2.0-0:
total 12
-rwxr-xr-x 1 root root 9772 Jan 26 10:59 gtk-query-immodules-2.0

./usr/lib/i386-linux-gnu/pango:
total 4
drwxr-xr-x 4 root root 4096 Mar 31  2012 1.6.0

./usr/lib/i386-linux-gnu/pango/1.6.0:
total 8
drwxr-xr-x 2 root root 4096 Mar 31  2012 module-files.d
drwxr-xr-x 2 root root 4096 Mar 31  2012 modules

./usr/lib/i386-linux-gnu/pango/1.6.0/module-files.d:
total 8
-rw-r--r-- 1 root root 4269 Mar 31  2012 libpango1.0-0.modules

./usr/lib/i386-linux-gnu/pango/1.6.0/modules:
total 248
-rw-r--r-- 1 root root  9664 Mar 31  2012 pango-arabic-fc.so
-rw-r--r-- 1 root root  5480 Mar 31  2012 pango-arabic-lang.so
-rw-r--r-- 1 root root  9916 Mar 31  2012 pango-basic-fc.so
-rw-r--r-- 1 root root 80072 Mar 31  2012 pango-basic-x.so
-rw-r--r-- 1 root root 13692 Mar 31  2012 pango-hangul-fc.so
-rw-r--r-- 1 root root 13752 Mar 31  2012 pango-hebrew-fc.so
-rw-r--r-- 1 root root 26396 Mar 31  2012 pango-indic-fc.so
-rw-r--r-- 1 root root  9860 Mar 31  2012 pango-indic-lang.so
-rw-r--r-- 1 root root  9628 Mar 31  2012 pango-khmer-fc.so
-rw-r--r-- 1 root root  9652 Mar 31  2012 pango-syriac-fc.so
-rw-r--r-- 1 root root 17864 Mar 31  2012 pango-thai-fc.so
-rw-r--r-- 1 root root  5508 Mar 31  2012 pango-thai-lang.so
-rw-r--r-- 1 root root  9628 Mar 31  2012 pango-tibetan-fc.so

./usr/sbin:
total 4
-rwxr-xr-x 1 root root 450 Feb 22 08:39 update-gsfontmap

./usr/share:
total 8
drwxr-xr-x 6 root root 4096 Aug 31 07:22 doc
drwxr-xr-x 4 root root 4096 Feb 22 08:39 man

./usr/share/doc:
total 16
drwxr-xr-x 2 root root 4096 Feb 22 08:39 ghostscript
drwxr-xr-x 2 root root 4096 Jun  9  2015 libcupsimage2
drwxr-xr-x 2 root root 4096 Aug 31 07:22 libidn11
drwxr-xr-x 2 root root 4096 Jan 27 08:05 liblcms2-2

./usr/share/doc/ghostscript:
total 84
-rw-r--r-- 1 root root  4608 Feb 22 08:39 buildinfo_i386.gz
-rw-r--r-- 1 root root 35344 Feb 22 08:39 changelog.Debian.gz
-rw-r--r-- 1 root root 28183 Feb 22 08:39 copyright
-rw-r--r-- 1 root root  1236 Feb 22 08:39 NEWS.Debian.gz
-rw-r--r-- 1 root root  2764 Feb 22 08:39 README.Debian
-rw-r--r-- 1 root root   160 Feb 22 08:39 TODO.Debian

./usr/share/doc/libcupsimage2:
total 108
-rw-r--r-- 1 root root 95273 Jun  9  2015 changelog.Debian.gz
-rw-r--r-- 1 root root  4582 Jul 30  2014 changelog.gz
-rw-r--r-- 1 root root  3107 Jun  9  2015 copyright

./usr/share/doc/libidn11:
total 128
-rw-r--r-- 1 root root  5362 Aug 10  2014 AUTHORS.gz
-rw-r--r-- 1 root root  4700 Aug 29 13:48 changelog.Debian.gz
-rw-r--r-- 1 root root 61838 Aug 10  2014 changelog.gz
-rw-r--r-- 1 root root 17415 Aug 29 13:48 copyright
-rw-r--r-- 1 root root 16199 Aug 10  2014 NEWS.gz
-rw-r--r-- 1 root root  1206 Aug 10  2014 README
-rw-r--r-- 1 root root  2780 Aug 10  2014 THANKS
-rw-r--r-- 1 root root   849 Aug 10  2014 TODO

./usr/share/doc/liblcms2-2:
total 12
-rw-r--r-- 1 root root 1993 Jan 27 07:26 changelog.Debian.gz
-rw-r--r-- 1 root root 2467 Mar 17  2014 changelog.gz
-rw-r--r-- 1 root root 2167 Jan 27 07:26 copyright

./usr/share/man:
total 8
drwxr-xr-x 3 root root 4096 Feb 22 08:39 de
drwxr-xr-x 2 root root 4096 Feb 22 08:39 man1

./usr/share/man/de:
total 4
drwxr-xr-x 2 root root 4096 Feb 22 08:39 man1

./usr/share/man/de/man1:
total 44
-rw-r--r-- 1 root root  601 Feb 22 08:39 dvipdf.1.gz
lrwxrwxrwx 1 root root   10 Feb 22 08:39 eps2eps.1.gz -> ps2ps.1.gz
-rw-r--r-- 1 root root  562 Feb 22 08:39 font2c.1.gz
-rw-r--r-- 1 root root  490 Feb 22 08:39 gsnd.1.gz
-rw-r--r-- 1 root root  885 Feb 22 08:39 pdf2dsc.1.gz
-rw-r--r-- 1 root root  640 Feb 22 08:39 pdf2ps.1.gz
-rw-r--r-- 1 root root  843 Feb 22 08:39 pdfopt.1.gz
-rw-r--r-- 1 root root  471 Feb 22 08:39 printafm.1.gz
-rw-r--r-- 1 root root  908 Feb 22 08:39 ps2ascii.1.gz
lrwxrwxrwx 1 root root   11 Feb 22 08:39 ps2pdf12.1.gz -> ps2pdf.1.gz
lrwxrwxrwx 1 root root   11 Feb 22 08:39 ps2pdf13.1.gz -> ps2pdf.1.gz
lrwxrwxrwx 1 root root   11 Feb 22 08:39 ps2pdf14.1.gz -> ps2pdf.1.gz
-rw-r--r-- 1 root root 1074 Feb 22 08:39 ps2pdf.1.gz
-rw-r--r-- 1 root root  675 Feb 22 08:39 ps2ps.1.gz
-rw-r--r-- 1 root root  461 Feb 22 08:39 wftopfa.1.gz

./usr/share/man/man1:
total 72
-rw-r--r-- 1 root root  448 Feb 22 08:39 dvipdf.1.gz
lrwxrwxrwx 1 root root   10 Feb 22 08:39 eps2eps.1.gz -> ps2ps.1.gz
-rw-r--r-- 1 root root  427 Feb 22 08:39 font2c.1.gz
lrwxrwxrwx 1 root root    7 Feb 22 08:39 ghostscript.1.gz -> gs.1.gz
-rw-r--r-- 1 root root 5895 Feb 22 08:39 gs.1.gz
lrwxrwxrwx 1 root root    9 Feb 22 08:39 gsbj.1.gz -> gslp.1.gz
lrwxrwxrwx 1 root root    9 Feb 22 08:39 gsdj.1.gz -> gslp.1.gz
lrwxrwxrwx 1 root root    9 Feb 22 08:39 gsdj500.1.gz -> gslp.1.gz
lrwxrwxrwx 1 root root    9 Feb 22 08:39 gslj.1.gz -> gslp.1.gz
-rw-r--r-- 1 root root 1329 Feb 22 08:39 gslp.1.gz
-rw-r--r-- 1 root root  383 Feb 22 08:39 gsnd.1.gz
-rw-r--r-- 1 root root  788 Feb 22 08:39 pdf2dsc.1.gz
-rw-r--r-- 1 root root  520 Feb 22 08:39 pdf2ps.1.gz
-rw-r--r-- 1 root root  692 Feb 22 08:39 pdfopt.1.gz
-rw-r--r-- 1 root root  418 Feb 22 08:39 pf2afm.1.gz
-rw-r--r-- 1 root root  344 Feb 22 08:39 pfbtopfa.1.gz
-rw-r--r-- 1 root root  344 Feb 22 08:39 printafm.1.gz
-rw-r--r-- 1 root root  750 Feb 22 08:39 ps2ascii.1.gz
-rw-r--r-- 1 root root 1312 Feb 22 08:39 ps2epsi.1.gz
lrwxrwxrwx 1 root root   11 Feb 22 08:39 ps2pdf12.1.gz -> ps2pdf.1.gz
lrwxrwxrwx 1 root root   11 Feb 22 08:39 ps2pdf13.1.gz -> ps2pdf.1.gz
lrwxrwxrwx 1 root root   11 Feb 22 08:39 ps2pdf14.1.gz -> ps2pdf.1.gz
-rw-r--r-- 1 root root 1205 Feb 22 08:39 ps2pdf.1.gz
-rw-r--r-- 1 root root  571 Feb 22 08:39 ps2pdfwr.1.gz
-rw-r--r-- 1 root root  707 Feb 22 08:39 ps2ps.1.gz
-rw-r--r-- 1 root root  336 Feb 22 08:39 wftopfa.1.gz

Rnoyer6813
Posts: 4
Joined: Sat Mar 04, 2017 12:14 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Sat Mar 04, 2017 12:18 am

wgjhstt247,

Outstanding work! I am in a very similar situation. One question: How could I potentially modify your procedure to accommodate my MF4450 printer?

Would the process be radically different?

Rob

wgjhstt247
Posts: 8
Joined: Tue Feb 21, 2017 3:12 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Mon Mar 06, 2017 1:56 pm

The process would be exactly the same.

Because of the x86 emulation, the printer driver is very slow to render print jobs. It takes about 1-2 minutes to render each page from google cloud print or AirPrint. I haven't tried through USB or printing from a desktop computer. Ymmv

Rnoyer6813
Posts: 4
Joined: Sat Mar 04, 2017 12:14 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Tue Mar 07, 2017 11:33 pm

wgjhstt247,

I confess to being a bit of a novice here. I've installed binfmt-support and qemu-i386 as described but I am not seeing the default directory /usr/gnemul/qemu-i386. Of course I can create it but was this supposed to manifest as a result of the installation of the packages above?

Next, I see your UFR2 driver is of the US variety. I was only able to locate the v3.30 driver from the UK. Probably a negligible difference but just something I noticed.

Also, regarding the dependencies libraries, I see you have laid out the format for manual installation but, forgive my ignorance here, where can I find what is required for the Canon UFR driver? I'm happy to put in the work but just not sure where to look.

Sorry for the barrage of questions but I'd say after scouring several forums, you are about the only success story with a Pi CUPS server and the Canon UFR driver.

Rob

wgjhstt247
Posts: 8
Joined: Tue Feb 21, 2017 3:12 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 08, 2017 4:28 pm

Rob,

The default directory, /usr/gnemul/qemu-i386, should be a symbolic link to /etc/qemu-binfmt/i386. You have to create this manually. The command to create this is in the previous post.

You can download the latest UK driver version from Canon Support UK. There should be no difference between the US and UK versions except language/model.

You can run this to find the immediate dependencies of the driver packages, but it won't give you the full dependency list because these dependencies also have dependencies which also have dependencies, etc. I've provided a list of library files in my original post which should suffice as a full dependency list.

Code: Select all

dpkg --info cndrvcups-ufr2-uk_3.30-1_i386.deb
dpkg --info cndrvcups-common_3.70-1_i386.deb


You can download these dependencies from the debian jessie repository/website. For example, here's the debian jessie libc download page (I googled it): https://packages.debian.org/jessie/libc6 All you have to do is click i386 towards the bottom of the page and then copy the download link into your ssh session after wget. Like this:

Code: Select all

wget http://ftp.uk.debian.org/debian/pool/main/g/glibc/libc6_2.19-18+deb8u7_i386.deb
Here's the complete download and extract procedure for this particular library

Code: Select all

pushd /tmp && mkdir libc && cd libc
wget http://ftp.uk.debian.org/debian/pool/main/g/glibc/libc6_2.19-18+deb8u7_i386.deb
ar x libc6_2.19-18+deb8u7_i386.deb data.tar.xz
tar xvC /etc/qemu-binfmt/i386 -f data.tar.xz ./etc ./lib ./usr/lib
popd
Hopefully this helps.

Rnoyer6813
Posts: 4
Joined: Sat Mar 04, 2017 12:14 am

Re: Canon Printers and CUPS: ARM drivers availabile?

Wed Mar 15, 2017 3:18 pm

wgjhstt,

The dependency library install process looks pretty straightforward on an individual basis, thanks for the walk-through there. Earlier you mentioned installing "all the libraries" and I see you listed all the library files you installed in your original post for reference.

Does each of these files represent a dependency library that needs to be downloaded from the debian libc download page? The process is the same for all I assume.

Again, appreciate your patience here.

Rob

wgjhstt247
Posts: 8
Joined: Tue Feb 21, 2017 3:12 pm

Re: Canon Printers and CUPS: ARM drivers availabile?

Fri Mar 17, 2017 2:45 pm

Yes, each file may be apart of a different library package such as libpango or libjpeg. These are not apart of libc.

Return to “Raspbian”