How to use HP Deskjet 3050a in Easy OS Dunfell?

Moderator: BarryK

Post Reply
Airdale
Posts: 80
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 4 times

How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by Airdale »

Curious - has anybody been sucessful in installing HPLIP in EasyOS Dunfell? If so, how? Did you have to compile it from source?

I have an old HP Deskjet 3050a that I have used over several generations of puppy/quirky/easyOS Buster. The preinstalled Gutenprint drivers usually do not work with it but HPLIP typically works

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: HP printer in Easy OS Dunfell

Post by sszindian »

On page 2 this forum, you will see my post:

HP Printer Problems in Dunfell 2.7.3 - Update 5/10/21 NOT-SOLVED 'yet'
by sszindian » Fri Apr 09, 2021 8:41 pm

The same problem is in the latest Dunfell 2.8.1 and it seems no one has been able to fix it so far for the HP printer!. Some of the other printers that had the same no-print problem have been fixed if you read through the posts here.

As good as any program is, for most, it's not much good if you can't use your printer! I mostly use the 'Buster' version of EasyOS, no printer problems there. I have the same printer 3050a you do, love it!

>>>---Indian------>

scsijon
Posts: 202
Joined: Fri Jul 24, 2020 10:11 am
Has thanked: 6 times
Been thanked: 18 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by scsijon »

https://openprinting.org/printer/HP/HP- ... _3050_J610
this page might help you, apparently the printer isn't in the default set as it's not certified as tested, but was supplied from other parties.

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by sszindian »

@ scsijon
'Thanks for the come-back'

hplip_print_scan_tahr64-3.15.9.pet
and,
hplip_3.20.3+dfsgO

both have the 3050a-611 drivers needed to install the printer, and... if you use a completly FRESH - yes FRESH - (with no other hplip's installed) of either hplip's mentioned above in the latest Dunsfell, (plus the one file in the Package Manager that is 'Required' for Dunsfell printing) the HP printer prints a beautiful 'Test Page' and documents loaded into leafpad and geany will print out properly also.

The 'Scan' function 'xsane' works as it should too.

Now where the problem comes in is with a 'reboot' that kills the printer function and a 'failed filter' shows when you try to print 'anything' and cups is checked. The Scan function with either hplip's continue to work as they should without a problem but, NO MORE PRINTING!

I do believe the problem is in either cups or Dunsfell itself and not printer drivers (at least not the ones I used above).

>>>---Indian------>

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by rcrsn51 »

@sszindian Here is a quick test for hplip. Open a terminal and run: /usr/lib/cups/filter/hpcups

If the hpcups filter is installed correctly, you will probably get a "51:ERROR" message (because the filter is not designed to run from the command line).

If it is NOT installed correctly, you will get a "libxxx not found" error.

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by sszindian »

@rcrsn51

Hi there, been a long, long time, nice to see there are still a few of us 'old-boys' still around and still playing with Barry's crazy stuff :)

I did the test you asked, here are the results... I guess it's installed correctly?

# /usr/lib/cups/filter/hpcups
prnt/hpcups/HPCupsFilter.cpp 51: ERROR: /usr/lib/cups/filter/hpcups job-id user title copies options [file]
#
>>>---Indian------>

williwaw
Posts: 1948
Joined: Tue Jul 14, 2020 11:24 pm
Has thanked: 172 times
Been thanked: 369 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by williwaw »

I had "filter failure" crop up with later versions of easy.

not specifically with hplip, but you might look at the log to see if

If your system will show a warning in /tmp/var/log/cups error_log 'pstoraster not found'
you'll have do add a link from gstoraster to pstoraster in /usr/lib/cups/filter.

from
or there are other more specific info to supplement the generic "filter failure" errror

as I recall, this pstoraster error was something to do with more recent versions of ghostscript rather than the driver its self.

At any rate, posting the tail end of the log might give some insight .

Airdale
Posts: 80
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 4 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by Airdale »

rcrsn51 wrote: Wed Jun 23, 2021 12:08 pm

@sszindian Here is a quick test for hplip. Open a terminal and run: /usr/lib/cups/filter/hpcups

If the hpcups filter is installed correctly, you will probably get a "51:ERROR" message (because the filter is not designed to run from the command line).

If it is NOT installed correctly, you will get a "libxxx not found" error.

My error message was a little different

# /usr/lib/cups/filter/hpcups
prnt/hpcups/HPCupsFilter.cpp 56: ERROR: /usr/lib/cups/filter/hpcups job-id user title copies options [file]

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by rcrsn51 »

The exact error does not matter. It indicates that the filter is working and has all the required dependencies. If printing fails, the problem is somewhere else in the CUPS job stream.

Airdale
Posts: 80
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 4 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by Airdale »

williwaw wrote: Wed Jun 23, 2021 9:33 pm

I had "filter failure" crop up with later versions of easy.

not specifically with hplip, but you might look at the log to see if

If your system will show a warning in /tmp/var/log/cups error_log 'pstoraster not found'
you'll have do add a link from gstoraster to pstoraster in /usr/lib/cups/filter.

from
or there are other more specific info to supplement the generic "filter failure" errror

as I recall, this pstoraster error was something to do with more recent versions of ghostscript rather than the driver its self.

At any rate, posting the tail end of the log might give some insight .

[Job 1] Adding start banner page "none".
I [25/Jun/2021:18:40:08 +2300] [Job 1] Queued on "HP_Deskjet_3050A_J611_series_USB_CN14S4C4X705PJ_HPLIP" by "root".
I [25/Jun/2021:18:40:08 +2300] [Job 1] File of type application/pdf queued by "root".
I [25/Jun/2021:18:40:08 +2300] [Job 1] Adding end banner page "none".
I [25/Jun/2021:18:40:08 +2300] [Job 1] Started filter /usr/libexec/cups/filter/pdftopdf (PID 4644)
I [25/Jun/2021:18:40:08 +2300] [Job 1] Started filter /usr/libexec/cups/filter/gstoraster (PID 4645)
I [25/Jun/2021:18:40:08 +2300] [Job 1] Started filter /usr/libexec/cups/filter/hpcups (PID 4646)
I [25/Jun/2021:18:40:08 +2300] [Job 1] Started backend /usr/libexec/cups/backend/hp (PID 4647)
I [25/Jun/2021:18:40:08 +2300] [Job 1] Hint: Try setting the LogLevel to "debug" to find out more.
E [25/Jun/2021:18:40:09 +2300] [Job 1] Unable to open raster stream - : Broken pipe
I [25/Jun/2021:18:40:09 +2300] [Job 1] Hint: Try setting the LogLevel to "debug" to find out more.
E [25/Jun/2021:18:40:09 +2300] [Job 1] Job stopped due to filter errors; please consult the /var/log/cups/error_log file for details.
D [25/Jun/2021:18:40:09 +2300] [Job 1] The following messages were recorded from 18:40:08 to 18:40:09
D [25/Jun/2021:18:40:09 +2300] [Job 1] Applying default options...
D [25/Jun/2021:18:40:09 +2300] [Job 1] Auto-typing file...
D [25/Jun/2021:18:40:09 +2300] [Job 1] Request file type is application/pdf.
D [25/Jun/2021:18:40:09 +2300] [Job 1] time-at-processing=1624563608
D [25/Jun/2021:18:40:09 +2300] [Job 1] 3 filters for job:
D [25/Jun/2021:18:40:09 +2300] [Job 1] pdftopdf (application/pdf to application/vnd.cups-pdf, cost 66)
D [25/Jun/2021:18:40:09 +2300] [Job 1] gstoraster (application/vnd.cups-pdf to application/vnd.cups-raster, cost 99)
D [25/Jun/2021:18:40:09 +2300] [Job 1] hpcups (application/vnd.cups-raster to printer/HP_Deskjet_3050A_J611_series_USB_CN14S4C4X705PJ_HPLIP, cost 0)
D [25/Jun/2021:18:40:09 +2300] [Job 1] job-sheets=none,none
D [25/Jun/2021:18:40:09 +2300] [Job 1] argv[0]="HP_Deskjet_3050A_J611_series_USB_CN14S4C4X705PJ_HPLIP"
D [25/Jun/2021:18:40:09 +2300] [Job 1] argv[1]="1"
D [25/Jun/2021:18:40:09 +2300] [Job 1] argv[2]="root"
D [25/Jun/2021:18:40:09 +2300] [Job 1] argv[3]="Untitled 1"
D [25/Jun/2021:18:40:09 +2300] [Job 1] argv[4]="1"
D [25/Jun/2021:18:40:09 +2300] [Job 1] argv[5]="InputSlot=Auto PageSize=Letter job-uuid=urn:uuid:1e7bb9c8-655e-3a56-5c23-6c241a5d7a46 job-originating-host-name=localhost date-time-at-creation= date-time-at-processing= time-at-creation=1624563608 time-at-processing=1624563608 document-name-supplied=qfBBai"
D [25/Jun/2021:18:40:09 +2300] [Job 1] argv[6]="/var/spool/cups/d00001-001"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[1]="CUPS_DATADIR=/usr/share/cups"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[2]="CUPS_DOCROOT=/usr/share/doc/cups"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[5]="CUPS_SERVERBIN=/usr/libexec/cups"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[6]="CUPS_SERVERROOT=/etc/cups"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[7]="CUPS_STATEDIR=/var/run/cups"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[8]="HOME=/var/spool/cups/tmp"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[9]="PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[10]="SERVER_ADMIN=root@EASYPC27163"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[11]="SOFTWARE=CUPS/2.3.1"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[12]="TMPDIR=/var/spool/cups/tmp"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[13]="TZ=XXX-23"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[14]="USER=root"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[15]="CUPS_MAX_MESSAGE=2047"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[16]="CUPS_SERVER=/var/run/cups/cups.sock"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[17]="CUPS_ENCRYPTION=IfRequested"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[18]="IPP_PORT=631"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[19]="CHARSET=utf-8"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[20]="LANG=en_US.UTF-8"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[21]="PPD=/etc/cups/ppd/HP_Deskjet_3050A_J611_series_USB_CN14S4C4X705PJ_HPLIP.ppd"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[22]="RIP_MAX_CACHE=128m"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[23]="CONTENT_TYPE=application/pdf"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[24]="DEVICE_URI=hp:/usb/Deskjet_3050A_J611_series?serial=CN14S4C4X705PJ"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[25]="PRINTER_INFO=HP Deskjet 3050A J611 series"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[26]="PRINTER_LOCATION=Local Printer"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[27]="PRINTER=HP_Deskjet_3050A_J611_series_USB_CN14S4C4X705PJ_HPLIP"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[28]="PRINTER_STATE_REASONS=none"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[29]="CUPS_FILETYPE=document"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[30]="FINAL_CONTENT_TYPE=application/vnd.cups-raster"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[31]="AUTH_I****"
D [25/Jun/2021:18:40:09 +2300] [Job 1] execv failed: Required key not available
D [25/Jun/2021:18:40:09 +2300] [Job 1] PID 4646 (/usr/libexec/cups/filter/hpcups) stopped with status 226 (Required key not available)
D [25/Jun/2021:18:40:09 +2300] [Job 1] OUTFORMAT=\"<none>\", so output format will be CUPS/PWG Raster
D [25/Jun/2021:18:40:09 +2300] [Job 1] pdftopdf: Last filter determined by the PPD: hpcups; FINAL_CONTENT_TYPE: application/vnd.cups-raster => pdftopdf will not log pages in page_log.
D [25/Jun/2021:18:40:09 +2300] [Job 1] PDF interactive form and annotation flattening done via QPDF
D [25/Jun/2021:18:40:09 +2300] [Job 1] PID 4644 (/usr/libexec/cups/filter/pdftopdf) exited with no errors.
D [25/Jun/2021:18:40:09 +2300] [Job 1] Color Manager: Calibration Mode/Off
D [25/Jun/2021:18:40:09 +2300] [Job 1] WARN: not compiled with DBus support
D [25/Jun/2021:18:40:09 +2300] [Job 1] WARN: not compiled with DBus support
D [25/Jun/2021:18:40:09 +2300] [Job 1] Color Manager: no profiles specified in PPD
D [25/Jun/2021:18:40:09 +2300] [Job 1] Color Manager: ICC Profile: None
D [25/Jun/2021:18:40:09 +2300] [Job 1] Ghostscript using Any-Part-of-Pixel method to fill paths.
D [25/Jun/2021:18:40:09 +2300] [Job 1] Ghostscript command line: gs -dQUIET -dSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -dNOMEDIAATTRS -dShowAcroForm -sstdout=%stderr -sOutputFile=%stdout -sDEVICE=cups -sMediaType=Plain -sOutputType=0 -r600x300 -dMediaPosition=7 -dDEVICEWIDTHPOINTS=612 -dDEVICEHEIGHTPOINTS=792 -dcupsBitsPerColor=8 -dcupsColorOrder=0 -dcupsColorSpace=17 -dcupsInteger0=2 -scupsPageSizeName=Letter -I/usr/share/cups/fonts -c \'<</.HWMargins[9.000000 41.040001 9.000000 4.320007] /Margins[0 0]>>setpagedevice\' -f -_
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[0]=\"CUPS_CACHEDIR=/var/cache/cups\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[1]=\"CUPS_DATADIR=/usr/share/cups\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[2]=\"CUPS_DOCROOT=/usr/share/doc/cups\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[3]=\"CUPS_FONTPATH=/usr/share/cups/fonts\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[4]=\"CUPS_REQUESTROOT=/var/spool/cups\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[5]=\"CUPS_SERVERBIN=/usr/libexec/cups\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[6]=\"CUPS_SERVERROOT=/etc/cups\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[7]=\"CUPS_STATEDIR=/var/run/cups\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[8]=\"HOME=/var/spool/cups/tmp\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[9]=\"PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[10]=\"SERVER_ADMIN=root@EASYPC27163\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[11]=\"SOFTWARE=CUPS/2.3.1\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[12]=\"TMPDIR=/var/spool/cups/tmp\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[13]=\"TZ=XXX-23\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[14]=\"USER=root\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[15]=\"CUPS_MAX_MESSAGE=2047\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[16]=\"CUPS_SERVER=/var/run/cups/cups.sock\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[17]=\"CUPS_ENCRYPTION=IfRequested\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[18]=\"IPP_PORT=631\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[19]=\"CHARSET=utf-8\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[20]=\"LANG=en_US.UTF-8\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[21]=\"PPD=/etc/cups/ppd/HP_Deskjet_3050A_J611_series_USB_CN14S4C4X705PJ_HPLIP.ppd\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[22]=\"RIP_MAX_CACHE=128m\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[23]=\"CONTENT_TYPE=application/pdf\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[24]=\"DEVICE_URI=hp:/usb/Deskjet_3050A_J611_series?serial=CN14S4C4X705PJ\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[25]=\"PRINTER_INFO=HP Deskjet 3050A J611 series\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[26]=\"PRINTER_LOCATION=Local Printer\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[27]=\"PRINTER=HP_Deskjet_3050A_J611_series_USB_CN14S4C4X705PJ_HPLIP\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[28]=\"PRINTER_STATE_REASONS=none\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[29]=\"CUPS_FILETYPE=document\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[30]=\"FINAL_CONTENT_TYPE=application/vnd.cups-raster\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] envp[31]=\"AUTH_INFO_REQUIRED=none\"
D [25/Jun/2021:18:40:09 +2300] [Job 1] prnt/backend/hp.c 919: ERROR: null print job total=0
D [25/Jun/2021:18:40:09 +2300] [Job 1] PID 4647 (/usr/libexec/cups/backend/hp) exited with no errors.
D [25/Jun/2021:18:40:09 +2300] [Job 1] Start rendering...
D [25/Jun/2021:18:40:09 +2300] [Job 1] Processing page 1...
D [25/Jun/2021:18:40:09 +2300] [Job 1] Error: /ioerror in --showpage--
D [25/Jun/2021:18:40:09 +2300] [Job 1] Operand stack:
D [25/Jun/2021:18:40:09 +2300] [Job 1] (/var/spool/cups/tmp/gs_a8w0Kw) --nostringval-- 1 true
D [25/Jun/2021:18:40:09 +2300] [Job 1] Execution stack:
D [25/Jun/2021:18:40:09 +2300] [Job 1] %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1971 1 3 %oparray_pop 1970 1 3 %oparray_pop 1954 1 3 %oparray_pop --nostringval-- --nostringval-- --nostringval-- 2 1 1 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- 1842 2 9 %oparray_pop --nostringval-- --nostringval--
D [25/Jun/2021:18:40:09 +2300] [Job 1] Dictionary stack:
D [25/Jun/2021:18:40:09 +2300] [Job 1] --dict:1215/1684(ro)(G)-- --dict:1/20(G)-- --dict:83/200(L)-- --dict:83/200(L)-- --dict:135/256(ro)(G)-- --dict:291/300(ro)(G)-- --dict:32/32(L)-- --dict:6/9(L)-- --dict:23/40(L)--
D [25/Jun/2021:18:40:09 +2300] [Job 1] Current allocation mode is local
D [25/Jun/2021:18:40:09 +2300] [Job 1] Last OS error: Broken pipe
D [25/Jun/2021:18:40:09 +2300] [Job 1] GPL Ghostscript 9.20: Unrecoverable error, exit code 1
D [25/Jun/2021:18:40:09 +2300] [Job 1] Rendering completed
D [25/Jun/2021:18:40:09 +2300] [Job 1] PID 4645 (/usr/libexec/cups/filter/gstoraster) stopped with status 1.
D [25/Jun/2021:18:40:09 +2300] [Job 1] End of messages
D [25/Jun/2021:18:40:09 +2300] [Job 1] printer-state=3(idle)
D [25/Jun/2021:18:40:09 +2300] [Job 1] printer-state-message="Rendering completed"
D [25/Jun/2021:18:40:09 +2300] [Job 1] printer-state-reasons=none

Airdale
Posts: 80
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 4 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by Airdale »

Airdale
Posts: 80
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 4 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by Airdale »

Upgraded Easy OS Dunfell

HPLIP is installed out of the box. Added a printer via the CUPS interface and my HP 3050a All-in one printer works without a hitch.

The flip side is that now the scanner doesn't work. Xsane cannot find the scanner.

When running HP-scan from the command line I get an error message stating that scanning options were not included in the HP build.

So... if I use the old tarpup HPLIP pet the scanner works but not the printer.

Now with HPLIP 3.19 compiled in Easy the printer works but not the scanner.

It's still a great leap forward. Personally I use the printer more than the scanner anyhow. And it's not reasonable to be able to make EasyOS natively support every brand and model of printer/scanner out there.

oui
Posts: 416
Joined: Fri Aug 28, 2020 9:35 pm
Has thanked: 9 times
Been thanked: 30 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by oui »

I have an analog problem with my new printer HP Color Laser 150a and I also am searching for an really easy way to set it up "on the fly" in Puppy's as I use a lot of different computers and a lot of different Puppy's directly from ISO without some installation :welcome:

User avatar
BarryK
Posts: 2692
Joined: Tue Dec 24, 2019 1:04 pm
Has thanked: 132 times
Been thanked: 738 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by BarryK »

Note, EasyOS 2.8.3 has HPLIP builtin. Not yet tested.

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by sszindian »

HP3050a-J611 printer test in Dunsfell64 2.8.3 -

1: INITIAL SETUP of hplip-3.19.12-r3 from PPM in a fresh Dunsfell
A: Printer prints a TEST page in CUPS 'perfect'
B: Printer prints documents from GEANY text editor and
also in LEAFPAD 'perfect'
C: xsane scanner works 'perfect'

2: ON A REBOOT of Dunsfell 2.8.3 -
A: Printer will not print anything from CUPS or from
GEANY, LEAFPAD etc. and CUPS gives a 'Failed Filter'
as the reason.
B: xsane scanner works 'perfect'

This is exactly what happened using -
hplip_print_scan_tahr64-3.15.9.pet and hplip_3.20.3+dfsgO

>>>---Indian------>

scsijon
Posts: 202
Joined: Fri Jul 24, 2020 10:11 am
Has thanked: 6 times
Been thanked: 18 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by scsijon »

Try this EXACTLY AS WRITTEN Please>

Turn everything off (computer and printer)
Turn printer on and wait for it to do it's complete startup routine before proceeding further
Only Then startup the computer

1> Go into cups and see if it recognises that there is the hp deskjet there by showing it is still listed there from last time and that is shows that it's idle
>if so send a test page from cups
> shutdown the computer (not the printer), start it up again and test printing from both cups and your package
> if that works, it means it's one of the printers that doesn't EXTERNALLY connect until the last stage of it's startup routine, and you'll have to ensure the printer has done it's routine before starting your computer. Early deskjets all worked this way and a few odd ones later also did for some reason.
OR if it hasn't worked,
2> If the HP Deskjet is NOT listed in cups try creating it and see if it will actually let you print a test Page FROM CUPS (before restarting from the top of this page)
OR,
3> If it's in cups but won't print, delete the existing printer > shutdown the computer (not the printer) and start it up again (this ensures anything leftover was cleared out the cups system) > go into cups and create a new printer and see it prints > shutdown the computer again (leaving the printer on) > restart the computer > have a look in cups and see if the printer is marked as idle > send a test page (from cups and not a package) to see if it will link to print > If not you should get an error message (it may be only seen in cups and not your printer or the screen of the package your trying to print from or ocassionally /tmp/xerrs.log),

In ALL cases please report it back to us, there are a few other things that can be checked and tried.

Cups is good, but a very complicated package and sometimes it stuffs itself up.

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by rcrsn51 »

I don't understand this discussion. If the new Easy OS has HPLIP built-in, why is @sszindian installing other HPLIP packages and reporting problems with them?

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by sszindian »

@ rcrsn51 -

Here are results from the 'BUILT IN HPLIP'

'Failed Filter'

On the 'OTHER HPLIP's' I mention, I didn't say there were problems with them, in fact they print test pages and documents 'PERFECT' on 'INITIAL SETUP' in EasyOS Dunfell... however, after an EASYOS Dunfell Re-boot the other HPLIP's give the same results as the 'BUILT IN HPLIP'... 'Failed Filter'. Is That Understandable? I don't know how else to explain it to you!

Easy Dunfell 'IS NOT' my regular operating system... I only test Barry's creations to help him find any problems and try to help him get it working as it should.

>>>---Indian------>

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by rcrsn51 »

sszindian wrote: Mon Jul 05, 2021 2:55 pm

Here are results from the 'BUILT IN HPLIP'

'Failed Filter'

Was this on the first run or after a reboot?

It sounds to me like your problem is not with the HPLIP driver per se, but with how your system retains the driver's setup.

Airdale above does not appear to have this problem.

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by sszindian »

Failed Filter wit‎h HPLIP built-in is on first run, initial setup. And of course on any run thereafter.

Airdale appears to have only scanner problems now, claims printer works fine, didn't say if that 'work' was on a reboot also?

Drivers setup? I use several puppy OS's and I do NOT have a printer issue with any of them and they all use the 3050a hp!

>>>---Indian------>

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by rcrsn51 »

Just out of curiosity, does the built-in driver pass the "hpcups" test for you?

When the other drivers fail on reboot, is the CUPS daemon running? Test with: /etc/init.d/cups status

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by sszindian »

Initial Status of Cups on Startup = Idle

Tried to print a test page= State = stopped Failed Filter

Then I = Canceled Job

Restarted Cups, Status= Idle - "FilterFailed"

/etc/init.d/cups status
cups: scheduler is running

(Not sure if this is the Cups test you want?)

I might add, scanner continues to work as it should at any point, whenever it's tested.

>>>---Indian------>

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by rcrsn51 »

The "hpcups" test is the one I provided on Page 1.

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by sszindian »

# /usr/lib/cups/filter/hpcups
prnt/hpcups/HPCupsFilter.cpp 53: ERROR: /usr/lib/cups/filter/hpcups job-id user title copies options [file]
#
>>>---Indian------>

User avatar
rcrsn51
Posts: 1390
Joined: Sun Aug 23, 2020 4:26 pm
Been thanked: 357 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by rcrsn51 »

This is a mystery. If you want to keep working on it, you can do the following:

1. Open the file /etc/cups/cupsd.conf.
2. Change "loglevel info" to "loglevel debug"
3. Run: /etc/init.d/cups restart
4. Run a print test.
5. Locate the file /var/log/cups/error_log
6. Zip it and post it as an attachment.

User avatar
sszindian
Posts: 19
Joined: Sun Jul 19, 2020 5:29 pm

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by sszindian »

@ rcrsn51

Yes, mystery to say the least and, I want to thank you for your input here! If it's a mystery to you with your knowledge about printers, I'm certainly not going to attempt a fix, it's way beyond what I wanted to get involved with by simply testing something, I believe its time to let the developers figure it out?

>>>---Indian------>

Airdale
Posts: 80
Joined: Wed May 26, 2021 4:59 am
Has thanked: 6 times
Been thanked: 4 times

Re: How to use HP Deskjet 3050a in Easy OS Dunfell?

Post by Airdale »

So... just to wrap things up.

Like sszIndian.... when I tried to use the old Tarpup HPLIP pet to set up my printer - the scanner worked, but not the printer. Sometimes it would work once or twice intermittently, but never consistently. After a reboot it would never work. Pretty much exactly the same problem.

However, when Barry incorporated HPLIP into Dunfell 2.8.3, it fixed the problem beautifully. My printer has worked without a hitch since.

The only problem was that I don't believe that Barry included the scan portion in his HPLIP build... so xsane would not recognize the scanner. When using hp-scan from the command line I got an error message saying that the scan functionality was not included in the build.

I got around this by installing Hamrick's Vuescan. Not a perfect solution... requires a paid software rather than the free open source xsane. But a good compromise.

I now can print and scan BOTH for the first time on Easy Dunfell! Thanks y'all for all the assistance and help.

Best.

Post Reply

Return to “EasyOS”