cancel
Showing results for 
Search instead for 
Did you mean: 

stm32mp157 USB printer support

xkun.1
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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'.

View solution in original post

3 REPLIES 3
Jean-Marc B
ST Employee

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

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'.

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