How to make a printer working on Colibri T20?

I am trying to install Samsung Xpress M2021 on Colibri T20 running Angstrom distribution. When I connect the printer, I get following messages on ttyS0 debugging port:

[   62.769672] usb 2-1.2: new high speed USB device number 4 using tegra-ehci
[   62.901465] usb 2-1.2: New USB device found, idVendor=04e8, idProduct=3321
[   62.908387] usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   62.915973] usb 2-1.2: Product: M2020 Series
[   62.920410] usb 2-1.2: Manufacturer: Samsung Electronics Co., Ltd.
[   62.927337] usb 2-1.2: SerialNumber: 0H15B8GJCB007FJ

The driver is available (Samsung Xpress SL-M2021 Laser Printer series Software and Driver Downloads | HP® Customer Support) for Linux but not for this particular distribution.

I selected Linux into version field as well and tried to install. However, I am getting the error as follows: “INTERNAL ERRO: ABORT: ‘Unexpected architecture ‘armv7l’’, execution aborted”.

I followed similar question as well and I understand the CUPS is responsible for handling all printing process in Unix system. Following this question (How to connect to a printer using a toradex embedded device - Technical Support - Toradex Community), I installed cups on my system but resulting in following message: ‘unit files have no installation config’.

PS: The printer with the driver installed is working correctly on Ubuntu 14.04 installed on my laptop (X86) but I found that Ubuntu cannot be installed on Colibri T20. Which is the basic Toradex module which supports Debian/Ubuntu installation and ARM support for printers?

I am trying to install Samsung Xpress M2021 on Colibri T20 running Angstrom distribution. When I connect the printer, I get following messages on ttyS0 debugging port:

The driver is available (https://support.hp.com/in-en/drivers/selfservice/samsung-xpress-sl-m2021-laser-printer-series/16462598) for Linux but not for this particular distribution.

Well, most vendors only supply X86 resp. X86-64 based drivers for Linux if anything.

I selected Linux into version field as well and tried to install. However, I am getting the error as follows: “INTERNAL ERRO: ABORT: ‘Unexpected architecture ‘armv7l’’, execution aborted”.

I followed similar question as well and I understand the CUPS is responsible for handling all printing process in Unix system. Following this question (How to connect to a printer using a toradex embedded device - Technical Support - Toradex Community), I installed cups on my system but resulting in following message: ‘unit files have no installation config’.

You mean you did the following?

root@colibri-t20:~# opkg update
root@colibri-t20:~# opkg install cups

Yes, in general CUPS is one of them printing systems used in Linux. However, you will also need an actual CUPS compatible printer driver for your printer. The most prominent being Foomatic but that one does not seem to support any Samsung proprietary stuff.

PS: The printer with the driver installed is working correctly on Ubuntu 14.04 installed on my laptop (X86) but I found that Ubuntu cannot be installed on Colibri T20.

You may very well install Ubuntu or pretty much any other Linux distribution which does have an ARM port available. However wether or not they will also have a working such printer driver available is questionable.

Which is the basic Toradex module which supports Debian/Ubuntu installation and ARM support for printers?

In general this is really possible. However, there are some particularly “bad” vendors who don’t give … You know what I mean.

We googled around a litte bit and found an older ULD version which includes ARM binaries as well. Unfortunately, those seem to be soft float rather than hard float which is what is nowadays used.

I guess you could give SpliX a try. However, getting that to work may be non-trivial plus who knows whether or not your particualr printer will even be supported or not.

So it would probably be much simpler to pick a printer from a vendor who does care about Linux support e.g. either supported by Foomatic or HPLIP.