[File] [PATCH] Magdir/printer Hewlett-Packard Printer firmware update *.ful2

Jörg Jenderek joerg.jen.der.ek at gmx.net
Wed Dec 21 17:22:44 UTC 2022


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

some day ago the Hewlett-Packard printer of my friend does not work
any more on Windows 10. So i downloaded from HP site all document
files and software. The printer is an HP ENVY 6000.
One downloaded package EN6000_2214B.exe contains a firmware update
for this printer. Just for interest i extract the package. One file
inside has name extension FUL2. The really full name is:
vasari_base_dist_pp1_001.2214B_nonassert_appsigned_lbi_rootfs_secure_
signed.ful2

When running file command version 5.43 on such samples these are
described only as "data".

With option --extension 3 byte sequence ??? is shown and with
option -i only generic text/plain or application/octet-stream
mime types are shown.

For comparison reason i run the file format identification utility
TrID ( See https://mark0.net/soft-trid-e.html). This described this
file as "Unknown!.

For comparison reason i also run the file format identification
utility DROID ( See https://sourceforge.net/projects/droid/). The
FUL2 sample is her also not recognized.

Information about ENVY 6000 printer can be found on HP web site.
That information is now expressed by comment line inside
Magdir/printer like:

# URL:		https://support.hp.com/us-en/drivers/selfservice/
# hp-envy-6000e-all-in-one-printer-series/2100187505/model/2100187513

Inside Magdir/printer there exist similar entries which contains
lines like:
 0	string		\033%-12345X at PJL HP Printer Job Language data
 >0	search/10000	@PJL\ ENTER\ LANGUAGE=HBPL	- HBPL
 >0	search/10000	@PJL\ ENTER\ LANGUAGE=ZJS	- HP ZJS

When i look in the firmware file the starting escape sequence is
missing and the value for variable LANGUAGE is FWUPDATE2. So for the
firmware file i add afterwards lines like:
0	string		@PJL\ ENTER\ LANGUAGE=FWUPDATE2	\
					HP Printer firmware update
!:ext	ful2

After applying the above mentioned modifications by patch
file-5.43-printer-ful2.diff then my HP printer firmware update
is now detected and described.

With best wishes,

Jörg Jenderek
- --
Jörg Jenderek
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iF0EARECAB0WIQS5/qNWKD4ASGOJGL+v8rHJQhrU1gUCY6NA5AAKCRCv8rHJQhrU
1gvSAKDbiFa+DEV3GEtwDTx7q3aF5zB/ygCgs2kk2xNJoSG6oH3hKOAyV6iF3bU=
=JQm3
-----END PGP SIGNATURE-----
-------------- next part --------------
-- 
File mailing list
File at astron.com
https://mailman.astron.com/mailman/listinfo/file

-------------- next part --------------
--- file-5.43/magic/Magdir/printer.old	2021-02-23 01:49:24.000000000 +0100
+++ file-5.43/magic/Magdir/printer	2022-12-21 17:58:46.384142400 +0100
@@ -78,15 +78,24 @@
 0	string		\033%-12345X at PJL	HP Printer Job Language data
 >0	search/10000	@PJL\ ENTER\ LANGUAGE=HBPL	- HBPL
 >0	search/10000	@PJL\ ENTER\ LANGUAGE=HIPERC	- Oki Data HIPERC
 >0	search/10000	@PJL\ ENTER\ LANGUAGE=LAVAFLOW	- Konica Minolta LAVAFLOW
 >0	search/10000	@PJL\ ENTER\ LANGUAGE=QPDL	- Samsung QPDL
 >0	search/10000	@PJL\ ENTER\ LANGUAGE\ =\ QPDL	- Samsung QPDL
 >0	search/10000	@PJL\ ENTER\ LANGUAGE=ZJS	- HP ZJS
-
+# Summary:	Hewlett-Packard printer firmware update
+# From:		Joerg Jenderek
+# URL:		https://support.hp.com/us-en/drivers/selfservice/hp-envy-6000e-all-in-one-printer-series/2100187505/model/2100187513
+# Note:		firmware update tested with ENVY 6000 All-in-One Printer
+0	string		@PJL\ ENTER\ LANGUAGE=FWUPDATE2	HP Printer firmware update
+#!:mime	application/octet-stream
+#!:mime	application/x-hp-firmware
+# https://ftp.hp.com/pub/softlib/software13/printers/en6000/2214/EN6000_2214B.exe
+# vasari_base_dist_pp1_001.2214B_nonassert_appsigned_lbi_rootfs_secure_signed.ful2
+!:ext	ful2
 
 # HP Printer Control Language, Daniel Quinlan (quinlan at yggdrasil.com)
 0	string		\033E\033	HP PCL printer data
 >3	string		\&l0A		- default page size
 >3	string		\&l1A		- US executive page size
 >3	string		\&l2A		- US letter page size
 >3	string		\&l3A		- US legal page size
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file-5.43-printer-ful2.diff.sig
Type: application/octet-stream
Size: 888 bytes
Desc: not available
URL: <https://mailman.astron.com/pipermail/file/attachments/20221221/e6d06f07/attachment-0001.obj>


More information about the File mailing list