Skip to main content
xkun.1
Associate
August 27, 2021
Solved

stm32mp157 USB printer support

  • August 27, 2021
  • 3 replies
  • 1540 views

Hello,

I need use STM32MP157 connect a USB printer. I followed this article(https://community.st.com/s/question/0D53W00000cSjHuSAK/stm32mp157dk2-printer-support?t=1630032775565), and the result is right. but when I use print command like (lp printer_test.pdf), the printer not work. And the console outputs the following information: lp: Unsupported document-format "application/pdf".

Is it because I didn't install cups-filters, or any other else?

Please help me. Thanks.

Shaw.

This topic has been closed for replies.
Best answer by Jean-Marc B

Hi @xkun.1​ 

the package cups-filters is now available in the OpenSTLinux 3.0 apt repository:

$ apt-get update
$ apt-cache policy cups-filters
cups-filters:
 Installed: (none)
 Candidate: 1.27.2-r0
 Version table:
 1.27.2-r0 500
 500 http://packages.openstlinux.st.com/3.0 dunfell/updates armhf Packages

You can install it with this command:

$ apt-get install cups-filters

Best regards,

--JM

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'.

3 replies

Jean-Marc B
ST Employee
August 27, 2021

Hi @xkun.1​ 

I think your hypothesis about the missing cups-filters package may be right but we currently don't deliver it through apt commands.

I am investigating to add this package into the OpenSTLinux apt repository. I will keep you posted.

Best regards,

--JM

Jean-Marc B
Jean-Marc BBest answer
ST Employee
August 27, 2021

Hi @xkun.1​ 

the package cups-filters is now available in the OpenSTLinux 3.0 apt repository:

$ apt-get update
$ apt-cache policy cups-filters
cups-filters:
 Installed: (none)
 Candidate: 1.27.2-r0
 Version table:
 1.27.2-r0 500
 500 http://packages.openstlinux.st.com/3.0 dunfell/updates armhf Packages

You can install it with this command:

$ apt-get install cups-filters

Best regards,

--JM

In order to give better visibility on the answered topics, please click on 'Select as Best' on the reply which solved your issue or answered your question. See also 'Best Answers'.

xkun.1
xkun.1Author
Associate
August 30, 2021

Thank you. You did me a big favor​. Thanks again.