Wandboard printer setup

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wandboard printer setup

1,492 Views
pedropl
Contributor I

Hello!

I've been trying my best to start printing (the printer is HP DeskJet 1015) from Wandboard-Quad machine. However I am almost out of ideas.

What I have done is:

- added CUPS to the image

- added foomatic to the image

- added hplip to the image

Kernel version is 3.10.17.

What I achieved is a running cups installation where I could add a PPD file that i grabbed from hplip installation.

What's strange is that I am missing printer models while adding a printer in cups web interface (might be a missing cups-filters package but when I try to append it to the image, it can't be found)

When I try to setup the printer using hp-setup command, I get the information it cant find any device...

So far when I try to print, I get "unsupported format" error. What am I missing? What am I doing wrong? How to get all there parts working together? Is foomatic and hplip necessary or maybe CUPS is the only thing I need? Please help.

Labels (3)
Tags (2)
0 Kudos
Reply
3 Replies

1,112 Views
pedropl
Contributor I

root@wandboard-quad:~# lsusb

Bus 001 Device 003: ID 046d:c30e Logitech, Inc. UltraX Keyboard (Y-BL49)

Bus 001 Device 004: ID 03f0:b511 Hewlett-Packard

Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. 4-Port HUB

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@wandboard-quad:~# tail -f /var/log/messages

Jan 22 11:55:50 wandboard-quad user.info kernel: usb 1-1.2: new high-speed USB device number 4 using ci_hdrc

Jan 22 11:55:50 wandboard-quad user.info root: loading HP Device 001 004

Jan 22 11:55:51 wandboard-quad user.warn hp-config_usb_printer: hp-config_usb_printer[682]: warning: Failed to change log file permissions: chmod: /var/log/hp/hplip_config_usb_printer.log: No such file or directory

Jan 22 11:55:51 wandboard-quad user.warn hp-config_usb_printer: hp-config_usb_printer[682]: warning: Failed to change log file group permissions: chgrp: /var/log/hp/hplip_config_usb_printer.log: No such file or directory

Jan 22 11:55:51 wandboard-quad user.alert hp-config_usb_printer: hp-config_usb_printer[682]: error: This is not a valid device

root@wandboard-quad:~# dmesg

usb 1-1.2: new high-speed USB device number 4 using ci_hdrc

root@wandboard-quad:~# tail -f /var/log/cups/error_log

E [22/Jan/2015:11:45:24 +0000] HP_Deskjet_1010_series: File "/usr/lib/cups/filter/hpcups" not available: No such file or directory

W [22/Jan/2015:11:45:24 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files

W [22/Jan/2015:11:45:24 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files

W [22/Jan/2015:11:45:24 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files

0 Kudos
Reply

1,112 Views
pedropl
Contributor I

Well I solved the problem. The best solution seems to compile everything yourself, though it also produces lots of problems to solve. Main thing to keep in mind is to compile cups-filters and hplip and play with PPD files.

0 Kudos
Reply

1,112 Views
SergioSolis
NXP Employee
NXP Employee

Thank you for posting the solution Pedropl, it would be useful also to add it to the wandboard forums too.

Wandboard - Freescale i.MX6 ARM Cortex-A9 Community Development Board - FORUMS

0 Kudos
Reply