← 返回命令列表

Linux command

arm2hpdl 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Convert an ARM firmware image

arm2hpdl [sihp1005.img] > [sihp1005.dl]

Enable debug output

arm2hpdl -D [1] [firmware.img] > [firmware.dl]

Pipe the result straight to the printer device

arm2hpdl [firmware.img] | lp -d [printer]

说明

arm2hpdl reads an ARM ELF binary firmware image for an HP laser printer (typically files named `sihpXXXX.img` distributed by HP) and writes to stdout the same image framed with the HP download header and trailer expected by the printer's firmware-loader. If the input already carries an HP header the file is copied through unchanged. The resulting `.dl` file can be sent to the printer over USB, parallel, or network as a normal print job to flash the firmware.

参数

-D _level_
Set debug level (default `0`). Higher levels print parsing details to stderr.

FAQ

What is the arm2hpdl command used for?

arm2hpdl reads an ARM ELF binary firmware image for an HP laser printer (typically files named `sihpXXXX.img` distributed by HP) and writes to stdout the same image framed with the HP download header and trailer expected by the printer's firmware-loader. If the input already carries an HP header the file is copied through unchanged. The resulting `.dl` file can be sent to the printer over USB, parallel, or network as a normal print job to flash the firmware.

How do I run a basic arm2hpdl example?

Run `arm2hpdl [sihp1005.img] > [sihp1005.dl]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -D _level_ do in arm2hpdl?

Set debug level (default `0`). Higher levels print parsing details to stderr.