Using x86 CUPS filter on Raspbian

Fábio Antunes

I've tried to use a CUPS filter compiled for x86 on Raspbian, however when I send a printing task I always get this reply.

/usr/lib/cups/filter/rastertg failed

I would like to know if there is a way I can use this CUPS filter compiled for x86 on Raspbian which runs on ARM?

Thank you.

Gilles 'SO- stop being evil'

Not really. You can't run an executable compiled for one processor type on another processor.

You could use Qemu to emulate an x86 processor, and install an x86 system that you run in Qemu, and set up all the plumbing. This would be a lot of work to set up, and it would be slow and memory-hungry. I mention it for completeness, not as a practical solution.

Qemu can also be used to emulate another processor to run a binary transparently. There's a tutorial for Debian. I've never done this, I don't know how easy it is to set up. Note that most literature on this topic will be to run arm or mips or ppc on x86, you're doing the opposite (x86 on arm).

The most practical solution is to compile that filter for your system. You can either do the compilation on your Pi or use a cross-compiler on a PC. There are several ABIs for ARM, so make sure to use a cross-compiler for Raspbian.

If you don't have the source of that filter, ask the printer manufacturer for a suitable binary, or look for an alternative, open-source driver. As a last resort, use a PC to print.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Cups dependency error in Raspbian

From Dev

CUPS filter for a raw queue

From Dev

Can I print via CUPS on ARM device without drivers by installing CUPS onto an x86 server with drivers?

From Dev

Using BIOS interrupts in x86

From Dev

x86: using memory / swapping values?

From Dev

using atof function in x86 NASM

From Dev

Semaphore implementation using x86 assembly

From Dev

IIR Lowpass filter in C# breaks in x86 mode

From Dev

x86 - setting a bit using inline assembly

From Dev

using text macros @date or @time in MASM x86

From Dev

C# projects using both X86 and Any CPU

From Java

Using pointers to return results in x86 Assembly

From Dev

X86 32b assembly - using atoll

From Dev

How to install x86 architecture for java using Ansible

From Dev

Achieve C casting using x86 mov instructions

From Dev

Compile wix project using "Any CPU" instead of "X86"

From Dev

NASM x86 using of nonexisting segment register 7

From Dev

Setting value stored at address using x86 ASM

From Dev

Compiling FFmpeg 3.1.1 for x86 using Android NDK

From Dev

Instrumenting ARM binaries on a X86/Linux machine using Valgrind

From Dev

x86 Assembly - finding powers using addition

From Dev

Need help multiplying using FPU in x86 Assembly

From Dev

Newline not executing properly using nasm for x86 architecture

From Dev

CUDA stuck building in x86 using CMake

From Dev

using bing maps in windows store app for an x86 or x64?

From Dev

How to run PowerShell in x64 or x86 using C#?

From Dev

What is the difference between data type in x86 and x64 when using parallel task

From Dev

Allocate large memory using x64 system with x86 application in c++

From Dev

What is the difference between data type in x86 and x64 when using parallel task

Related Related

  1. 1

    Cups dependency error in Raspbian

  2. 2

    CUPS filter for a raw queue

  3. 3

    Can I print via CUPS on ARM device without drivers by installing CUPS onto an x86 server with drivers?

  4. 4

    Using BIOS interrupts in x86

  5. 5

    x86: using memory / swapping values?

  6. 6

    using atof function in x86 NASM

  7. 7

    Semaphore implementation using x86 assembly

  8. 8

    IIR Lowpass filter in C# breaks in x86 mode

  9. 9

    x86 - setting a bit using inline assembly

  10. 10

    using text macros @date or @time in MASM x86

  11. 11

    C# projects using both X86 and Any CPU

  12. 12

    Using pointers to return results in x86 Assembly

  13. 13

    X86 32b assembly - using atoll

  14. 14

    How to install x86 architecture for java using Ansible

  15. 15

    Achieve C casting using x86 mov instructions

  16. 16

    Compile wix project using "Any CPU" instead of "X86"

  17. 17

    NASM x86 using of nonexisting segment register 7

  18. 18

    Setting value stored at address using x86 ASM

  19. 19

    Compiling FFmpeg 3.1.1 for x86 using Android NDK

  20. 20

    Instrumenting ARM binaries on a X86/Linux machine using Valgrind

  21. 21

    x86 Assembly - finding powers using addition

  22. 22

    Need help multiplying using FPU in x86 Assembly

  23. 23

    Newline not executing properly using nasm for x86 architecture

  24. 24

    CUDA stuck building in x86 using CMake

  25. 25

    using bing maps in windows store app for an x86 or x64?

  26. 26

    How to run PowerShell in x64 or x86 using C#?

  27. 27

    What is the difference between data type in x86 and x64 when using parallel task

  28. 28

    Allocate large memory using x64 system with x86 application in c++

  29. 29

    What is the difference between data type in x86 and x64 when using parallel task

HotTag

Archive