arm linux need to make hplip work

Asked by Matt

1. Your Linux Distribution and version.
 kernel 4.1.15+gbdea10a
 We are on an arm7 module.

2. Your printer make/model.
 hp deskjet 1112

3. If possible, run 'hp-check -t' and post the output.
 see below keyword: ** hp-check -t **

4. A detailed explanation of your problem.
We need to print from an arm7 module on kernel 4.1.15.
There is no installer on this box (e.g. no apt-get install)
Every dependency that is needed must be available in yocto project morty v 2.2
or we need to manually build it and any of its dependencies which could be very time consuming.
So far we cross compiled hplip and put it on the box.
We can see some signs of life..the alignment page will print and hp-check shows the usb printer can be seen but we can't print to it.
Part of the problem is we don't trust the error listing in hp-check and are unsure what missing dependencies to focus on. We do not trust this because we built hplip on a ubuntu vm ran hp-check had 13+ errors and can print fine on that box. Running on the arm module we get 20+ errors but cannot print.

5. Steps to recreate the problem.

Downloaded hplip 3.18.3
extract tar to folder hplip_cross
cd poky_sdk
source environment-setup-cortexa9hf-neon-poky-linux-gnueabi
cd ~/Downloads/hplip_cross

./configure --disable-qt4 --enable-qt5 --disable-scan-build --disable-fax-build --disable-network-build --disable-gui-build --target=arm-unknown-linux-gnu --host=arm-unknown-linux-gnu --disable-dbus-build

#per above we don't care about scanning, or faxing or network printing or gui
# we just need the simplest solution possible to send a pdf to the usb hpdeskjet 1112

make clean
Modify makefile lines
PYTHON = /usr/bin/python
change above to
PYTHON = /opt/poky/2.2/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/bin/python

PYTHONINCLUDEDIR = /usr/include/python2.7
change above to
PYTHONINCLUDEDIR = /opt/poky/2.2/sysroots/cortexa9hf-neon-poky-linux-gnueabi/usr/include/python2.7

make

make install DESTDIR=~/crossinstall2

tar -czvf hplipcross2.tar.gz etc usr var
tar -xvf hplipcross2.tar.gz -C /

run a permissions fix script

clear previous errors from log
start the cups daemon
cupsd
run hp-setup
..get some errors
hp-align - works

reboot
clear the error log so i can send a clear log in help ticket
rm /var/log/cups/error_log
cupsd
clear print queu
lprm -

lp hithere.pdf
lp: Unsupported document-format "application/pdf".

lp hithere.prn
request id is DeskJet_1110-25 (1 file(s))

lpstat -l

DeskJet_1110-25 root 4096 Wed May 13 18:20:20 2037
        Status:
        Alerts: printer-stopped
        queued for DeskJet_1110

but i also have cases where it will say..
DeskJet_1110-25 root 4096 Wed May 13 18:09:55 2037
        Status:
        Alerts: job-printing
        queued for DeskJet_1110

but it never prints it just sits there forever

more /var/log/cups/error_log

root@cgtimx6:~# more /var/log/cups/error_log
I [13/May/2037:18:19:39 +0000] Listening to [v1.::1]:631 (IPv6)
I [13/May/2037:18:19:39 +0000] Listening to 127.0.0.1:631 (IPv4)
I [13/May/2037:18:19:39 +0000] Listening to /var/run/cups/cups.sock (Domain)
I [13/May/2037:18:19:39 +0000] Remote access is disabled.
D [13/May/2037:18:19:39 +0000] Added auto ServerAlias cgtimx6
I [13/May/2037:18:19:39 +0000] Loaded configuration file "/etc/cups/cupsd.conf"
D [13/May/2037:18:19:39 +0000] Using keychain "/etc/cups/ssl" for server name "cgtimx6".
D [13/May/2037:18:19:39 +0000] Creating missing directory "/var/run/cups"
D [13/May/2037:18:19:39 +0000] Repairing ownership of "/var/run/cups"
D [13/May/2037:18:19:39 +0000] Repairing access permissions of "/var/run/cups"
D [13/May/2037:18:19:39 +0000] Creating missing directory "/var/run/cups/certs"
D [13/May/2037:18:19:39 +0000] Repairing ownership of "/var/run/cups/certs"
D [13/May/2037:18:19:39 +0000] Repairing access permissions of "/var/run/cups/certs"
I [13/May/2037:18:19:39 +0000] Using default TempDir of /var/spool/cups/tmp...
I [13/May/2037:18:19:39 +0000] Configured for up to 100 clients.
I [13/May/2037:18:19:39 +0000] Allowing up to 100 client connections per host.
I [13/May/2037:18:19:39 +0000] Using policy "default" as the default.
I [13/May/2037:18:19:39 +0000] Full reload is required.
I [13/May/2037:18:19:39 +0000] Loaded MIME database from "/usr/share/cups/mime" and "/etc/cups": 40 types, 3 filters...
D [13/May/2037:18:19:39 +0000] Loading printer DeskJet_1110...
D [13/May/2037:18:19:39 +0000] load_ppd: Loading /var/cache/cups/DeskJet_1110.data...
D [13/May/2037:18:19:39 +0000] cupsdRegisterPrinter(p=0x5639e298(DeskJet_1110))
I [13/May/2037:18:19:39 +0000] Loading job cache file "/var/cache/cups/job.cache"...
D [13/May/2037:18:19:39 +0000] [Job 8] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 8] Loading attributes...
D [13/May/2037:18:19:39 +0000] [Job 8] Unloading...
D [13/May/2037:18:19:39 +0000] [Job 9] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 10] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 11] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 11] Loading attributes...
D [13/May/2037:18:19:39 +0000] [Job 11] Unloading...
D [13/May/2037:18:19:39 +0000] [Job 12] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 12] Loading attributes...
D [13/May/2037:18:19:39 +0000] [Job 12] Unloading...
D [13/May/2037:18:19:39 +0000] [Job 13] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 14] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 15] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 16] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 17] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 17] Loading attributes...
D [13/May/2037:18:19:39 +0000] [Job 17] Unloading...
D [13/May/2037:18:19:39 +0000] [Job 18] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 19] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 19] Loading attributes...
D [13/May/2037:18:19:39 +0000] [Job 19] Unloading...
D [13/May/2037:18:19:39 +0000] [Job 20] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 20] Loading attributes...
D [13/May/2037:18:19:39 +0000] [Job 20] Unloading...
D [13/May/2037:18:19:39 +0000] [Job 21] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 22] Loading from cache...
D [13/May/2037:18:19:39 +0000] [Job 22] Loading attributes...
D [13/May/2037:18:19:39 +0000] [Job 22] Unloading...
D [13/May/2037:18:19:39 +0000] [Job 23] Loading from cache...
I [13/May/2037:18:19:39 +0000] Full reload complete.
D [13/May/2037:18:19:39 +0000] cupsdCleanFiles(path="/var/spool/cups/tmp", pattern="(null)")
I [13/May/2037:18:19:39 +0000] Cleaning out old files in "/var/spool/cups/tmp".
D [13/May/2037:18:19:39 +0000] cupsdCleanFiles(path="/var/cache/cups", pattern="*.ipp")
I [13/May/2037:18:19:39 +0000] Cleaning out old files in "/var/cache/cups".
D [13/May/2037:18:19:39 +0000] Calling FindDeviceById(cups-DeskJet_1110)
D [13/May/2037:18:19:39 +0000] FindDeviceById failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [13/May/2037:18:19:39 +0000] Using profile ID "DeskJet_1110-Gray..".
D [13/May/2037:18:19:39 +0000] Calling CreateProfile(DeskJet_1110-Gray..,temp)
W [13/May/2037:18:19:39 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
D [13/May/2037:18:19:39 +0000] Using profile ID "DeskJet_1110-RGB..".
D [13/May/2037:18:19:39 +0000] Calling CreateProfile(DeskJet_1110-RGB..,temp)
W [13/May/2037:18:19:39 +0000] CreateProfile failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
I [13/May/2037:18:19:39 +0000] Registering ICC color profiles for "DeskJet_1110".
D [13/May/2037:18:19:39 +0000] Calling CreateDevice(cups-DeskJet_1110,temp)
W [13/May/2037:18:19:39 +0000] CreateDevice failed: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.ColorManager was not provided by any .service files
I [13/May/2037:18:19:39 +0000] Listening to [v1.::1]:631 on fd 8...
I [13/May/2037:18:19:39 +0000] Listening to 127.0.0.1:631 on fd 9...
I [13/May/2037:18:19:39 +0000] Listening to /var/run/cups/cups.sock on fd 10...
I [13/May/2037:18:19:39 +0000] Resuming new connection processing...
D [13/May/2037:18:19:39 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/May/2037:18:19:39 +0000] cupsdAddCert: Adding certificate for PID 0
D [13/May/2037:18:19:39 +0000] Discarding unused server-started event...
D [13/May/2037:18:19:40 +0000] [Job 8] Removing document files.
D [13/May/2037:18:19:40 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:19:40 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Not busy"
D [13/May/2037:18:19:40 +0000] [Job 11] Removing document files.
D [13/May/2037:18:19:40 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:19:40 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/May/2037:18:19:40 +0000] Report: clients=0
D [13/May/2037:18:19:40 +0000] Report: jobs=16
D [13/May/2037:18:19:40 +0000] Report: jobs-active=0
D [13/May/2037:18:19:40 +0000] Report: printers=1
D [13/May/2037:18:19:40 +0000] Report: stringpool-string-count=2144
D [13/May/2037:18:19:40 +0000] Report: stringpool-alloc-bytes=7608
D [13/May/2037:18:19:40 +0000] Report: stringpool-total-bytes=39936
D [13/May/2037:18:19:43 +0000] [Client 1] Accepted from localhost (Domain)
D [13/May/2037:18:19:43 +0000] [Client 1] Waiting for request.
D [13/May/2037:18:19:43 +0000] [Client 1] POST / HTTP/1.1
D [13/May/2037:18:19:43 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [13/May/2037:18:19:43 +0000] [Client 1] Read: status=200
D [13/May/2037:18:19:43 +0000] [Client 1] No authentication data provided.
D [13/May/2037:18:19:43 +0000] [Client 1] 2.0 Get-Jobs 1
D [13/May/2037:18:19:43 +0000] Get-Jobs ipp://localhost/
D [13/May/2037:18:19:43 +0000] [Client 1] Returning IPP successful-ok for Get-Jobs (ipp://localhost/) from localhost
D [13/May/2037:18:19:43 +0000] [Client 1] Content-Length: 75
D [13/May/2037:18:19:43 +0000] [Client 1] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/May/2037:18:19:43 +0000] [Client 1] con->http=0x563dba30
D [13/May/2037:18:19:43 +0000] [Client 1] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x56397310(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/May/2037:18:19:43 +0000] [Client 1] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/May/2037:18:19:43 +0000] [Client 1] bytes=0, http_state=0, data_remaining=75
D [13/May/2037:18:19:43 +0000] [Client 1] Flushing write buffer.
D [13/May/2037:18:19:43 +0000] [Client 1] New state is HTTP_STATE_WAITING
D [13/May/2037:18:19:43 +0000] [Client 1] Waiting for request.
D [13/May/2037:18:19:43 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:19:43 +0000] [Client 1] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/May/2037:18:19:43 +0000] [Client 1] Closing connection.
D [13/May/2037:18:19:43 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/May/2037:18:20:08 +0000] [Client 2] Accepted from localhost (Domain)
D [13/May/2037:18:20:08 +0000] [Client 2] Waiting for request.
D [13/May/2037:18:20:08 +0000] [Client 2] POST / HTTP/1.1
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [13/May/2037:18:20:08 +0000] [Client 2] Read: status=200
D [13/May/2037:18:20:08 +0000] [Client 2] No authentication data provided.
D [13/May/2037:18:20:08 +0000] [Client 2] 2.0 Get-Printer-Attributes 1
D [13/May/2037:18:20:08 +0000] Get-Printer-Attributes ipp://localhost:631/printers/DeskJet_1110
D [13/May/2037:18:20:08 +0000] [Client 2] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/DeskJet_1110) from localhost
D [13/May/2037:18:20:08 +0000] [Client 2] Content-Length: 1105
D [13/May/2037:18:20:08 +0000] [Client 2] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/May/2037:18:20:08 +0000] [Client 2] con->http=0x563dba30
D [13/May/2037:18:20:08 +0000] [Client 2] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1105, response=0x56397310(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/May/2037:18:20:08 +0000] [Client 2] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/May/2037:18:20:08 +0000] [Client 2] bytes=0, http_state=0, data_remaining=1105
D [13/May/2037:18:20:08 +0000] [Client 2] Flushing write buffer.
D [13/May/2037:18:20:08 +0000] [Client 2] New state is HTTP_STATE_WAITING
D [13/May/2037:18:20:08 +0000] [Client 2] Waiting for request.
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] [Client 2] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/May/2037:18:20:08 +0000] [Client 2] Closing connection.
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/May/2037:18:20:08 +0000] [Client 3] Accepted from localhost (Domain)
D [13/May/2037:18:20:08 +0000] [Client 3] Waiting for request.
D [13/May/2037:18:20:08 +0000] [Client 3] POST /printers/DeskJet_1110 HTTP/1.1
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [13/May/2037:18:20:08 +0000] [Client 3] Read: status=200
D [13/May/2037:18:20:08 +0000] [Client 3] No authentication data provided.
D [13/May/2037:18:20:08 +0000] [Client 3] 2.0 Create-Job 2
D [13/May/2037:18:20:08 +0000] Create-Job ipp://localhost:631/printers/DeskJet_1110
D [13/May/2037:18:20:08 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] add_job: requesting-user-name="root"
D [13/May/2037:18:20:08 +0000] Adding default job-sheets values "none,none"...
I [13/May/2037:18:20:08 +0000] [Job 24] Adding start banner page "none".
D [13/May/2037:18:20:08 +0000] Discarding unused job-created event...
I [13/May/2037:18:20:08 +0000] [Job 24] Queued on "DeskJet_1110" by "root".
D [13/May/2037:18:20:08 +0000] [Client 3] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/DeskJet_1110) from localhost
D [13/May/2037:18:20:08 +0000] [Client 3] Content-Length: 200
D [13/May/2037:18:20:08 +0000] [Client 3] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/May/2037:18:20:08 +0000] [Client 3] con->http=0x563dba30
D [13/May/2037:18:20:08 +0000] [Client 3] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=200, response=0x56397310(IPP_STATE_IDLE), pipe_pid=0, file=-1
D [13/May/2037:18:20:08 +0000] [Client 3] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/May/2037:18:20:08 +0000] [Client 3] bytes=0, http_state=0, data_remaining=200
D [13/May/2037:18:20:08 +0000] [Client 3] Flushing write buffer.
D [13/May/2037:18:20:08 +0000] [Client 3] New state is HTTP_STATE_WAITING
D [13/May/2037:18:20:08 +0000] [Client 3] Waiting for request.
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] [Client 3] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/May/2037:18:20:08 +0000] [Client 3] Closing connection.
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/May/2037:18:20:08 +0000] [Client 4] Accepted from localhost (Domain)
D [13/May/2037:18:20:08 +0000] [Client 4] Waiting for request.
D [13/May/2037:18:20:08 +0000] [Client 4] POST /printers/DeskJet_1110 HTTP/1.1
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [13/May/2037:18:20:08 +0000] [Client 4] Read: status=200
D [13/May/2037:18:20:08 +0000] [Client 4] No authentication data provided.
D [13/May/2037:18:20:08 +0000] [Client 4] 2.0 Send-Document 3
D [13/May/2037:18:20:08 +0000] [Client 4] Read: status=100
D [13/May/2037:18:20:08 +0000] [Client 4] Read: status=100
D [13/May/2037:18:20:08 +0000] Send-Document ipp://localhost:631/printers/DeskJet_1110
D [13/May/2037:18:20:08 +0000] cupsdIsAuthorized: requesting-user-name="root"
D [13/May/2037:18:20:08 +0000] [Job 24] Auto-typing file...
D [13/May/2037:18:20:08 +0000] [Job 24] Request file type is application/pdf.
D [13/May/2037:18:20:08 +0000] Send-Document client-error-document-format-not-supported: Unsupported document-format \"application/pdf\".
E [13/May/2037:18:20:08 +0000] [Client 4] Returning IPP client-error-document-format-not-supported for Send-Document (ipp://localhost:631/printers/DeskJet_1110) from localhost
D [13/May/2037:18:20:08 +0000] [Client 4] Content-Length: 176
D [13/May/2037:18:20:08 +0000] [Client 4] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/May/2037:18:20:08 +0000] [Client 4] con->http=0x563dba30
D [13/May/2037:18:20:08 +0000] [Client 4] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=176, response=0x56397c08(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/May/2037:18:20:08 +0000] [Client 4] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/May/2037:18:20:08 +0000] [Client 4] bytes=0, http_state=0, data_remaining=176
D [13/May/2037:18:20:08 +0000] [Client 4] Flushing write buffer.
D [13/May/2037:18:20:08 +0000] [Client 4] New state is HTTP_STATE_WAITING
D [13/May/2037:18:20:08 +0000] [Client 4] Waiting for request.
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] [Client 4] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/May/2037:18:20:08 +0000] [Client 4] Closing connection.
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/May/2037:18:20:08 +0000] [Client 5] Accepted from localhost (Domain)
D [13/May/2037:18:20:08 +0000] [Client 5] Waiting for request.
D [13/May/2037:18:20:08 +0000] [Client 5] POST /jobs/ HTTP/1.1
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [13/May/2037:18:20:08 +0000] [Client 5] Read: status=200
D [13/May/2037:18:20:08 +0000] [Client 5] No authentication data provided.
D [13/May/2037:18:20:08 +0000] [Client 5] 2.0 Cancel-Job 4
D [13/May/2037:18:20:08 +0000] Cancel-Job ipp://localhost:631/printers/DeskJet_1110
D [13/May/2037:18:20:08 +0000] cupsdIsAuthorized: requesting-user-name="root"
D [13/May/2037:18:20:08 +0000] [Job 24] time-at-completed=2125851608
D [13/May/2037:18:20:08 +0000] Discarding unused job-completed event...
I [13/May/2037:18:20:08 +0000] [Job 24] Job canceled by \"root\"
I [13/May/2037:18:20:08 +0000] Expiring subscriptions...
D [13/May/2037:18:20:08 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [13/May/2037:18:20:08 +0000] [Job 24] Canceled by "root".
D [13/May/2037:18:20:08 +0000] [Client 5] Returning IPP successful-ok for Cancel-Job (ipp://localhost:631/printers/DeskJet_1110) from localhost
D [13/May/2037:18:20:08 +0000] [Client 5] Content-Length: 75
D [13/May/2037:18:20:08 +0000] [Client 5] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/May/2037:18:20:08 +0000] [Job 8] Removing document files.
D [13/May/2037:18:20:08 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] [Job 11] Removing document files.
D [13/May/2037:18:20:08 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] [Job 24] Removing document files.
D [13/May/2037:18:20:08 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] [Client 5] con->http=0x563dba30
D [13/May/2037:18:20:08 +0000] [Client 5] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=75, response=0x56397310(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/May/2037:18:20:08 +0000] [Client 5] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/May/2037:18:20:08 +0000] [Client 5] bytes=0, http_state=0, data_remaining=75
D [13/May/2037:18:20:08 +0000] [Client 5] Flushing write buffer.
D [13/May/2037:18:20:08 +0000] [Client 5] New state is HTTP_STATE_WAITING
D [13/May/2037:18:20:08 +0000] [Client 5] Waiting for request.
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:08 +0000] [Client 5] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/May/2037:18:20:08 +0000] [Client 5] Closing connection.
D [13/May/2037:18:20:08 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/May/2037:18:20:09 +0000] [Job 24] Unloading...
I [13/May/2037:18:20:11 +0000] Saving job.cache...
D [13/May/2037:18:20:11 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Dirty files"
D [13/May/2037:18:20:20 +0000] [Client 6] Accepted from localhost (Domain)
D [13/May/2037:18:20:20 +0000] [Client 6] Waiting for request.
D [13/May/2037:18:20:20 +0000] [Client 6] POST / HTTP/1.1
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [13/May/2037:18:20:20 +0000] [Client 6] Read: status=200
D [13/May/2037:18:20:20 +0000] [Client 6] No authentication data provided.
D [13/May/2037:18:20:20 +0000] [Client 6] 2.0 Get-Printer-Attributes 1
D [13/May/2037:18:20:20 +0000] Get-Printer-Attributes ipp://localhost:631/printers/DeskJet_1110
D [13/May/2037:18:20:20 +0000] [Client 6] Returning IPP successful-ok for Get-Printer-Attributes (ipp://localhost:631/printers/DeskJet_1110) from localhost
D [13/May/2037:18:20:20 +0000] [Client 6] Content-Length: 1105
D [13/May/2037:18:20:20 +0000] [Client 6] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/May/2037:18:20:20 +0000] [Client 6] con->http=0x563dba30
D [13/May/2037:18:20:20 +0000] [Client 6] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=1105, response=0x563966f0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/May/2037:18:20:20 +0000] [Client 6] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/May/2037:18:20:20 +0000] [Client 6] bytes=0, http_state=0, data_remaining=1105
D [13/May/2037:18:20:20 +0000] [Client 6] Flushing write buffer.
D [13/May/2037:18:20:20 +0000] [Client 6] New state is HTTP_STATE_WAITING
D [13/May/2037:18:20:20 +0000] [Client 6] Waiting for request.
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [13/May/2037:18:20:20 +0000] [Client 6] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/May/2037:18:20:20 +0000] [Client 6] Closing connection.
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [13/May/2037:18:20:20 +0000] [Client 7] Accepted from localhost (Domain)
D [13/May/2037:18:20:20 +0000] [Client 7] Waiting for request.
D [13/May/2037:18:20:20 +0000] [Client 7] POST /printers/DeskJet_1110 HTTP/1.1
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [13/May/2037:18:20:20 +0000] [Client 7] Read: status=200
D [13/May/2037:18:20:20 +0000] [Client 7] No authentication data provided.
D [13/May/2037:18:20:20 +0000] [Client 7] 2.0 Create-Job 2
D [13/May/2037:18:20:20 +0000] Create-Job ipp://localhost:631/printers/DeskJet_1110
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients"
D [13/May/2037:18:20:20 +0000] add_job: requesting-user-name="root"
D [13/May/2037:18:20:20 +0000] Adding default job-sheets values "none,none"...
I [13/May/2037:18:20:20 +0000] [Job 25] Adding start banner page "none".
D [13/May/2037:18:20:20 +0000] Discarding unused job-created event...
I [13/May/2037:18:20:20 +0000] [Job 25] Queued on "DeskJet_1110" by "root".
D [13/May/2037:18:20:20 +0000] [Client 7] Returning IPP successful-ok for Create-Job (ipp://localhost:631/printers/DeskJet_1110) from localhost
D [13/May/2037:18:20:20 +0000] [Client 7] Content-Length: 200
D [13/May/2037:18:20:20 +0000] [Client 7] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/May/2037:18:20:20 +0000] [Client 7] con->http=0x563dba30
D [13/May/2037:18:20:20 +0000] [Client 7] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=200, response=0x56396690(IPP_STATE_IDLE), pipe_pid=0, file=-1
D [13/May/2037:18:20:20 +0000] [Client 7] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/May/2037:18:20:20 +0000] [Client 7] bytes=0, http_state=0, data_remaining=200
D [13/May/2037:18:20:20 +0000] [Client 7] Flushing write buffer.
D [13/May/2037:18:20:20 +0000] [Client 7] New state is HTTP_STATE_WAITING
D [13/May/2037:18:20:20 +0000] [Client 7] Waiting for request.
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:20 +0000] [Client 7] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/May/2037:18:20:20 +0000] [Client 7] Closing connection.
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Dirty files", busy="Dirty files"
D [13/May/2037:18:20:20 +0000] [Client 8] Accepted from localhost (Domain)
D [13/May/2037:18:20:20 +0000] [Client 8] Waiting for request.
D [13/May/2037:18:20:20 +0000] [Client 8] POST /printers/DeskJet_1110 HTTP/1.1
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Dirty files"
D [13/May/2037:18:20:20 +0000] [Client 8] Read: status=200
D [13/May/2037:18:20:20 +0000] [Client 8] No authentication data provided.
D [13/May/2037:18:20:20 +0000] [Client 8] 2.0 Send-Document 3
D [13/May/2037:18:20:20 +0000] [Client 8] Read: status=100
D [13/May/2037:18:20:20 +0000] [Client 8] Read: status=100
D [13/May/2037:18:20:20 +0000] Send-Document ipp://localhost:631/printers/DeskJet_1110
D [13/May/2037:18:20:20 +0000] cupsdIsAuthorized: requesting-user-name="root"
D [13/May/2037:18:20:20 +0000] [Job 25] Auto-typing file...
D [13/May/2037:18:20:20 +0000] [Job 25] Request file type is application/vnd.cups-raw.
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
I [13/May/2037:18:20:20 +0000] [Job 25] File of type application/vnd.cups-raw queued by "root".
I [13/May/2037:18:20:20 +0000] [Job 25] Adding end banner page "none".
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:20 +0000] [Job 25] time-at-processing=2125851620
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:20 +0000] Discarding unused printer-state-changed event...
D [13/May/2037:18:20:20 +0000] [Job 25] 2 filters for job:
D [13/May/2037:18:20:20 +0000] [Job 25] - (application/vnd.cups-raw to printer/DeskJet_1110/application/octet-stream, cost 0)
D [13/May/2037:18:20:20 +0000] [Job 25] - (printer/DeskJet_1110/application/octet-stream to printer/DeskJet_1110, cost 0)
D [13/May/2037:18:20:20 +0000] [Job 25] job-sheets=none,none
D [13/May/2037:18:20:20 +0000] [Job 25] argv[0]="DeskJet_1110"
D [13/May/2037:18:20:20 +0000] [Job 25] argv[1]="25"
D [13/May/2037:18:20:20 +0000] [Job 25] argv[2]="root"
D [13/May/2037:18:20:20 +0000] [Job 25] argv[3]="hithere.prn"
D [13/May/2037:18:20:20 +0000] [Job 25] argv[4]="1"
D [13/May/2037:18:20:20 +0000] [Job 25] argv[5]="finishings=3 number-up=1 job-uuid=urn:uuid:b4057c15-35ee-3b62-7f05-e1caef77c676 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=2125851620 time-at-processing=2125851620 document-name-supplied=hithere.prn"
D [13/May/2037:18:20:20 +0000] [Job 25] argv[6]="/var/spool/cups/d00025-001"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[8]="HOME=/var/spool/cups/tmp"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[10]="SERVER_ADMIN=root@cgtimx6"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[11]="SOFTWARE=CUPS/2.1.4"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[13]="USER=root"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[14]="CUPS_MAX_MESSAGE=2047"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[16]="CUPS_ENCRYPTION=IfRequested"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[17]="IPP_PORT=631"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[18]="CHARSET=utf-8"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[19]="LANG=en_US.UTF-8"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[20]="PPD=/etc/cups/ppd/DeskJet_1110.ppd"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[21]="RIP_MAX_CACHE=128m"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[22]="CONTENT_TYPE=application/vnd.cups-raw"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[23]="DEVICE_URI=hp:/usb/DeskJet_1110_series?serial=CN71828076065R"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[24]="PRINTER_INFO=DeskJet_1110"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[25]="PRINTER_LOCATION=matt"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[26]="PRINTER=DeskJet_1110"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[27]="PRINTER_STATE_REASONS=none"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[28]="CUPS_FILETYPE=document"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[29]="FINAL_CONTENT_TYPE=application/octet-stream"
D [13/May/2037:18:20:20 +0000] [Job 25] envp[30]="AUTH_I****"
I [13/May/2037:18:20:20 +0000] [Job 25] Started backend /usr/lib/cups/backend/hp (PID 485)
D [13/May/2037:18:20:20 +0000] Discarding unused job-state-changed event...
D [13/May/2037:18:20:20 +0000] [Client 8] Returning IPP successful-ok for Send-Document (ipp://localhost:631/printers/DeskJet_1110) from localhost
D [13/May/2037:18:20:20 +0000] [Client 8] Content-Length: 170
D [13/May/2037:18:20:20 +0000] [Client 8] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [13/May/2037:18:20:20 +0000] [Client 8] con->http=0x563dba30
D [13/May/2037:18:20:20 +0000] [Client 8] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=170, response=0x563df000(IPP_STATE_DATA), pipe_pid=0, file=-1
D [13/May/2037:18:20:20 +0000] [Client 8] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [13/May/2037:18:20:20 +0000] [Client 8] bytes=0, http_state=0, data_remaining=170
D [13/May/2037:18:20:20 +0000] [Client 8] Flushing write buffer.
D [13/May/2037:18:20:20 +0000] [Client 8] New state is HTTP_STATE_WAITING
D [13/May/2037:18:20:20 +0000] [Client 8] Waiting for request.
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients and dirty files"
D [13/May/2037:18:20:20 +0000] [Client 8] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [13/May/2037:18:20:20 +0000] [Client 8] Closing connection.
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [13/May/2037:18:20:20 +0000] [Job 25] hp:/usb/DeskJet_1110_series?serial=CN71828076065R: symbol lookup error: hp:/usb/DeskJet_1110_series?serial=CN71828076065R: undefined symbol: getHPLogLevel
D [13/May/2037:18:20:20 +0000] [Job 25] PID 485 (/usr/lib/cups/backend/hp) stopped with status 127 (File too large)
I [13/May/2037:18:20:20 +0000] [Job 25] Backend returned status 127 (unknown)
D [13/May/2037:18:20:20 +0000] Discarding unused job-state-changed event...
I [13/May/2037:18:20:20 +0000] [Job 25] Printer stopped due to backend errors; please consult the error_log file for details.
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [13/May/2037:18:20:20 +0000] Discarding unused printer-stopped event...
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(P----)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [13/May/2037:18:20:20 +0000] cupsdRegisterPrinter(p=0x5639e298(DeskJet_1110))
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(P----)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [13/May/2037:18:20:20 +0000] cupsdMarkDirty(---J-)
D [13/May/2037:18:20:20 +0000] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [13/May/2037:18:20:43 +0000] Report: clients=0
D [13/May/2037:18:20:43 +0000] Report: jobs=18
D [13/May/2037:18:20:43 +0000] Report: jobs-active=1
D [13/May/2037:18:20:43 +0000] Report: printers=1
D [13/May/2037:18:20:43 +0000] Report: stringpool-string-count=2197
D [13/May/2037:18:20:43 +0000] Report: stringpool-alloc-bytes=8928
D [13/May/2037:18:20:43 +0000] Report: stringpool-total-bytes=41072
I [13/May/2037:18:20:51 +0000] Saving printers.conf...
I [13/May/2037:18:20:51 +0000] Saving job.cache...
D [13/May/2037:18:20:51 +0000] cupsdSetBusyState: newbusy="Not busy", busy="Printing jobs and dirty files"

-------------------------------------
** hp-check -t **
-------------------------------------

root@cgtimx6:~# hp-check -t
warning: python-dbus not installed.
Saving output in log file: /home/root/hp-check.log

HP Linux Imaging and Printing System (ver. 3.18.3)
Dependency/Version Check Utility ver. 15.1

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

Note: hp-check can be run in three modes:
1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball
(.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP.
2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm,
etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run.
3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above
cases (both compile- and run-time dependencies).

Check types:
a. EXTERNALDEP - External Dependencies
b. GENERALDEP - General Dependencies (required both at compile and run time)
c. COMPILEDEP - Compile time Dependencies
d. [All are run-time checks]
PYEXT SCANCONF QUEUES PERMISSION

Status Types:
    OK
    MISSING - Missing Dependency or Permission or Plug-in
    INCOMPAT - Incompatible dependency-version or Plugin-version

sh: lsb_release: command not found
warning: poky distro is not found in AUTH_TYPES
warning: 0-0.0 version is not supported. Using 0-0 versions dependencies to verify and install...

---------------
| SYSTEM INFO |
---------------

 Kernel: 4.1.15+gbdea10a #1 SMP PREEMPT Fri Mar 30 14:08:28 EDT 2018 GNU/Linux
 Host: cgtimx6
 Proc: 4.1.15+gbdea10a #1 SMP PREEMPT Fri Mar 30 14:08:28 EDT 2018 GNU/Linux
 Distribution: 0 0.0
 Bitness: 32 bit

-----------------------
| HPLIP CONFIGURATION |
-----------------------

HPLIP-Version: HPLIP 3.18.3
HPLIP-Home: /usr/local/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 0 distro 0.0 version

Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.

[hplip]
version=3.18.3

[dirs]
home=/usr/local/share/hplip
run=/var/run
ppd=/usr/local/share/ppd/HP
ppdbase=/usr/local/share/ppd
doc=/usr/local/share/doc/hplip-3.18.3
html=/usr/local/share/doc/hplip-3.18.3
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/local/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=no
libusb01-build=no
pp-build=no
gui-build=no
scanner-build=no
fax-build=no
dbus-build=no
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=no
foomatic-ppd-install=no
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.18.3
restricted-build=no
ui-toolkit=no
qt3=no
qt4=no
qt5=no
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no

Current contents of '/var/lib/hp/hplip.state' file:
Plugins are not installed. Could not access file: No such file or directory

Current contents of '~/.hplip/hplip.conf' file:
warning: Could not access file: No such file or directory
 <Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>

--------------
| COMPILEDEP |
--------------

 error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - - MISSING 'gcc needs to be installed'
 make make - GNU make utility to maintain groups of programs REQUIRED 3.0 4.2.1 OK -
 libtool libtool - Library building support services REQUIRED - 2.4.6 OK -

------------------------
| General Dependencies |
------------------------

 error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 1.0.2 MISSING 'libcrypto needs to be installed'
 python-xml Python XML libraries REQUIRED - 2.1.1 OK -
 error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 - MISSING 'libnetsnmp-devel needs to be installed'
 error: sane-devel SANE - Scanning library development files REQUIRED - - MISSING 'sane-devel needs to be installed'
 error: pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - - MISSING 'pil needs to be installed'
 error: pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 REQUIRED 4.0 - MISSING 'pyqt4-dbus needs to be installed'
 error: libpthread libpthread - POSIX threads library REQUIRED - 2.24 MISSING 'libpthread needs to be installed'
 error: python-devel Python devel - Python development files REQUIRED 2.2 2.7.12 MISSING 'python-devel needs to be installed'
 error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
 error: python-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 - MISSING 'python-dbus needs to be installed'
 cups-ddk CUPS DDK - CUPS driver development kit OPTIONAL - - OK -
 error: reportlab Reportlab - PDF library for Python OPTIONAL 2.0 - MISSING 'reportlab needs to be installed'
 error: pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING -
 error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
 error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
 python2X Python 2.2 or greater - Python programming language REQUIRED 2.2 2.7.12 OK -
 error: python-notify Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - MISSING 'python-notify needs to be installed'
 error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
 error: sane SANE - Scanning library REQUIRED - - MISSING 'sane needs to be installed'

----------------------
| Scan Configuration |
----------------------

error: NOT FOUND OR FAILED TO LOAD! Please reinstall HPLIP and check for the proper installation of scanext.
 error: scanext Scan-SANE-Extension REQUIRED - 3.18.3 MISSING 'scanext needs to be installed'

-------------------------
| External Dependencies |
-------------------------

 gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.19 OK -
 error: scanimage scanimage - Shell scanning program OPTIONAL 1.0 - MISSING 'scanimage needs to be installed'
 error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
 network network -wget OPTIONAL - - OK -
 error: policykit PolicyKit - Administrative policy framework OPTIONAL - - MISSING 'policykit needs to be installed'
 error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
 error: dbus DBus - Message bus system REQUIRED - 1.10.10 MISSING 'DBUS may not be installed or not running'
 error: avahi-utils avahi-utils OPTIONAL - - MISSING 'avahi-utils needs to be installed'

---------------------
| Python Extentions |
---------------------

 hpmudext IO-Extension REQUIRED - 3.18.3 OK -
 cupsext CUPS-Extension REQUIRED - 3.18.3 OK -

--------------------------
| DISCOVERED USB DEVICES |
--------------------------

  Device URI Model
  ------------------------------------------- ----------------------
  hp:/usb/DeskJet_1110_series?serial=CN718280 HP DeskJet 1110 series
  76065R

---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------

DeskJet_1110
------------
Type: Printer
Device URI: hp:/usb/DeskJet_1110_series?serial=CN71828076065R
PPD: /etc/cups/ppd/DeskJet_1110.ppd
PPD Description: HP Deskjet 1110 Series, hpcups 3.18.3
Printer reason unknownr DeskJet_1110 disabled since Wed May 13 18:20:20 2037 -
Communication status: Good

--------------
| PERMISSION |
--------------

USB DeskJet_1110 Required - - OK Node:'/dev/bus/usb/001/004' Mode:'436'

-----------
| SUMMARY |
-----------

Missing Required Dependencies
-----------------------------
None

Missing Optional Dependencies
-----------------------------
None

Total Errors: 24
Total Warnings: 1

Done.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Matt
Solved:
Last query:
Last reply:
Revision history for this message
Sujay Ballal (sujayballal) said :
#1

Hi,

These are the minimal required packages which you need to install for an arm setup
1.cups-devel
2.cups-image
3.Use latest version libusb
4.libjpeg

Thanks,
Sujay

Revision history for this message
Matt (linuxarm) said :
#2

Awesome I will focus on those.
Thanks,

Matt

On Tue, Apr 10, 2018 at 8:52 AM, Sujay Ballal <
<email address hidden>> wrote:

> Your question #667778 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/667778
>
> Status: Open => Answered
>
> Sujay Ballal proposed the following answer:
> Hi,
>
>
> These are the minimal required packages which you need to install for an
> arm setup
> 1.cups-devel
> 2.cups-image
> 3.Use latest version libusb
> 4.libjpeg
>
>
> Thanks,
> Sujay
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/667778/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/667778
>
> You received this question notification because you asked the question.
>

Revision history for this message
Matt (linuxarm) said :
#3

since i don't have access to those packages for the arm environment i can't really answer if it will solve the issue.

Instead I am trying to manually call the filters to create a valid pcl file.

Revision history for this message
Matt (linuxarm) said :
#4

Since hp-align works and is a python script we were able to take a pcl from a different machine and print it.
This proves we could print a file if its already in pcl.

To make a valid pcl file we are thinking calling cups filters manually may be easiest since on our arm box parts of cups don't want to work (lp command does nothing and doesn't give much explanation for why) and we don't have an easy way to get dependency packages on the box

To do this we printed from a different box (ubuntu vm) to the same printer using hplip
in the cups log we see each filter called and some argument info

3 filters for job:
D [10/Apr/2018:09:15:52 -0400] [Job 35] pdftopdf (application/pdf to application
/vnd.cups-pdf, cost 66)
D [10/Apr/2018:09:15:52 -0400] [Job 35] gstoraster (application/vnd.cups-pdf to
application/vnd.cups-raster, cost 99)
D [10/Apr/2018:09:15:52 -0400] [Job 35] hpcups (application/vnd.cups-raster to p
rinter/DeskJet-1110-series, cost 0)
D [10/Apr/2018:09:15:52 -0400] [Job 35] job-sheets=none,none
D [10/Apr/2018:09:15:52 -0400] [Job 35] argv[0]="DeskJet-1110-series"
D [10/Apr/2018:09:15:52 -0400] [Job 35] argv[1]="35"
D [10/Apr/2018:09:15:52 -0400] [Job 35] argv[2]="user"
D [10/Apr/2018:09:15:52 -0400] [Job 35] argv[3]="hithere.pdf"
D [10/Apr/2018:09:15:52 -0400] [Job 35] argv[4]="1"
D [10/Apr/2018:09:15:52 -0400] [Job 35] argv[5]="finishings=3 number-up=1 job-uu
id=urn:uuid:3b9aa7fa-70e1-3a46-483a-7b57112be791 job-originating-host-name=local
host date-time-at-creation= date-time-at-processing= time-at-creation=1523366112
 time-at-processing=1523366152 document-name-supplied=hithere.pdf"

so we tried calling each filter by hand starting with a pdf (on the vm as an exercise in learning how to manually call filters).
cd /usr/lib/cups/filter
export PPD="/etc/cups/ppd/DeskJet-1110-series.ppd"

/this one works (the resulting pdf is printable and not corrupt)
./pdftopdf 99 "user" "hithere.pdf" "1" "" "/home/user/hithere.pdf" > /home/user/hithere2.pdf

//this one causes us to loose color if we attempt to print hithere2.ras (i made up an extension)
./gstoraster 99 "user" "hithere.pdf" "1" "" "/home/user/hithere2.pdf" > /home/user/hithere2.ras

//by the time hpcup is finished with it all that prints is a black line
./hpcups "user" "username" "jobname" "1" "" "/home/user/print/hithere2.ras" > /home/user/print/hithere4.pcl

even though command file hithere4.pcl says its
hithere4.pcl: HP PCL printer data

Could use help/advice on how to fix the arguments to make this work

Revision history for this message
Matt (linuxarm) said :
#5

Got the printer to print finally but did it in a non standard way by calling each filter at the command line rather than letting cups do it.
I think the big issues where
1) cups on our device was missing some up-front filters (namely gstoraster)
  we found we didn't need pdftopdf
 related to error Send-Document client-error-document-format-not-supported: Unsupported document-format \"application/pdf\

2) the hp backend still doesn't want to work with cups probably related to error
] hp:/usb/DeskJet_1110_series?serial=CN71828076065R: symbol lookup error: hp:/usb/DeskJet_1110_series?serial=CN71828076065R: undefined symbol: getHPLogLevel

this might be a cross compile issue but not sure how to fix it directly
instead we took the hp-align python script which could print and hacked it up to accept the pcl file hpcups spit out

Revision history for this message
zhangying (zy-cd) said :
#6

Hi, matt(linuxarm)

I use an environment similar to yours, I use yocto and NXP platforms.For your first question, I suspect you need to add cups-filter, which is not added to yocto and needs to cross-compile yourself.
This is something I looked up before, but cups can drive some LaserJet or DeskJet printers.I want to drive many printers through hplip. The hplip with yocto seems to have a problem and cannot be used normally. I cross-compile hplip 3.18.3, but I cross compile the following problems.Can you help me solve?

checking for cupsDoFileRequest in -lcups... no
configure: error: cannot find libcups support