hp-scan(1)

πŸ“¦
version 3.24.4 Β· 2 versions
, in ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

hp-scan β€” Scan Utility πŸ’–


🌸 DESCRIPTION 🌸

okay bestie, so hp-scan is a SANE-based scan utility for HPLIP supported all-in-one/mfp devices πŸ’…

Like. It scans. That's the vibe. ✨


πŸŽ€ SYNOPSIS πŸŽ€

hp-scan [DEVICE_URI|PRINTER_NAME] [MODE] [OPTIONS]

πŸ’« PRINTER|DEVICE-URI πŸ’«

Gotta tell it what to scan with, bestie, no cap:

  • -d<device-uri> or --device=<device-uri> β€” to specify a device-URI
  • -p<printer> or --printer=<printer> β€” to specify a CUPS printer

πŸ¦‹ MODE πŸ¦‹

  • -i or --interactive β€” run in interactive mode ✨

πŸ‘‘ OPTIONS πŸ‘‘

  • -l<level> or --logging=<level> β€” set the logging level, where <level> is one of: none, info*, error, warn, debug (*default)
  • -g β€” run in debug mode (same as option: -ldebug)
  • -h or --help β€” this help information 🫢

πŸ’œ OPTIONS (GENERAL) πŸ’œ

🌈 Scan destinations

  • -s<dest_list> or --dest=<dest_list> β€” where <dest_list> is a comma separated list containing one or more of: 'file', 'viewer', 'editor', 'pdf', or 'print'. Use only commas between values, no spaces. (fr fr, no spaces πŸ™ˆ)

🌸 Scan mode

  • -m<mode> or --mode=<mode> β€” where <mode> is 'gray'*, 'color' or 'lineart'

⭐ Scanning resolution

  • -r<resolution_in_dpi> or --res=<resolution_in_dpi> or --resolution=<resolution_in_dpi> β€” where 300 is default

πŸŽ€ Image resize

  • --resize=<scale_in_%> β€” min=1%, max=400%, default=100%

πŸ’… Color Dropout Red

  • -color_dropout_red_value=<color_dropout_red_value> or --color_dropout_red_value=<color_dropout_red_value>

πŸ’… Color Dropout Green

  • -color_dropout_green_value=<color_dropout_green_value> or --color_dropout_green_value=<color_dropout_green_value>

πŸ’… Color Dropout Blue

  • -color_dropout_blue_value=<color_dropout_blue_value> or --color_dropout_blue_value=<color_dropout_blue_value>

πŸ’… Color Dropout Range

  • -color_range=<color_range> or --color_range=<color_range>

🌈 Image contrast

  • -c=<contrast> or --contrast=<contrast> β€” the contrast range varies from device to device, so it's giving "it depends" 😭

🌈 Image brightness

  • -b=<brightness> or --brightness=<brightness> β€” the brightness range varies from device to device too, same energy

πŸ“ ADF mode

  • --adf β€” note, only PDF output is supported when using the ADF
  • --duplex or --dup β€” for duplex scanning using ADF

🧚 OPTIONS (SCAN AREA) 🧚

πŸ“ Specify the units for area/box measurements

  • -t<units> or --units=<units> β€” where <units> is 'mm'*, 'cm', 'in', 'px', or 'pt' ('mm' is default)

πŸ”² Scan area

  • -a<tlx>,<tly>,<brx>,<bry> or --area=<tlx>,<tly>,<brx>,<bry> β€” coordinates are relative to the upper left corner of the scan area. Units for tlx, tly, brx, and bry are specified by -t/--units (default is 'mm'). Use only commas between values, no spaces.

πŸ”² Scan box

  • --box=<tlx>,<tly>,<width>,<height> β€” tlx and tly coordinates are relative to the upper left corner of the scan area. Units for tlx, tly, width, and height are specified by -t/--units (default is 'mm'). Use only commas between values, no spaces.

πŸ”² Top left x of the scan area

  • --tlx=<tlx> β€” coordinates are relative to the upper left corner of the scan area. Units are specified by -t/--units (default is 'mm').

πŸ”² Top left y of the scan area

  • --tly=<tly> β€” coordinates are relative to the upper left corner of the scan area. Units are specified by -t/--units (default is 'mm').

πŸ”² Bottom right x of the scan area

  • --brx=<brx> β€” coordinates are relative to the upper left corner of the scan area. Units are specified by -t/--units (default is 'mm').

πŸ”² Bottom right y of the scan area

  • --bry=<bry> β€” coordinates are relative to the upper left corner of the scan area. Units are specified by -t/--units (default is 'mm').

πŸ“„ Specify the scan area based on a paper size

  • --size=<paper size name> β€” where <paper size name> is one of: 3x5, 4x6, 5x7, a2_env, a3, a4, a5, a6, b4, b5, c6_env, dl_env, exec, flsa, higaki, japan_env_3, japan_env_4, legal, letter, no_10_env, oufufu-hagaki, photo, super_b

βœ‚οΈ Crop out edges from the scan area

  • --edge_erase_value=<border crop value in inch> β€” where <border crop value in inch> is in range of: [0-1]inch

πŸ’– OPTIONS ('FILE' DEST) πŸ’–

  • -o<file> or -f<file> or --file=<file> or --output=<file> β€” filename for 'file' destination

πŸ’– OPTIONS ('PDF' DEST) πŸ’–

  • --pdf=<pdf_viewer> β€” PDF viewer application

πŸ’– OPTIONS ('VIEWER' DEST) πŸ’–

  • -v<viewer> or --viewer=<viewer> β€” image viewer application

πŸ’– OPTIONS ('EDITOR' DEST) πŸ’–

  • -e<editor> or --editor=<editor> β€” image editor application

πŸ’Œ OPTIONS ('EMAIL' DEST) πŸ’Œ

  • --email-from=<email_from_address> β€” From: address for 'email' dest (required for 'email' dest.)
  • --email-to=<email__to_address> β€” To: address for 'email' dest (required for 'email' dest.)
  • --email-subject="<subject>" or --subject="<subject>" β€” email subject for 'email' dest. Use double quotes (") around the subject if it contains space characters.
  • --email-msg="<msg>" or --email-note="<note>" β€” note or message for the 'email' dest. Use double quotes (") around the note/message if it contains space characters.
ok so heads up bestie, the To: one really is spelled --email-to=<email__to_address> with the double underscore. not a typo on my part, that's just how it is πŸ’€

πŸ–¨οΈ OPTIONS ('PRINTER' DEST) πŸ–¨οΈ

  • --dp=<printer_name> or --dest-printer=<printer_name> β€” printer queue/printer dest
  • --dd=<device-uri> or --dest-device=<device-uri> β€” printer device-URI dest

πŸ”₯ OPTIONS (ADVANCED) πŸ”₯

  • -x<mode> or --compression=<mode> β€” set the scanner compression mode, <mode>='raw', 'none' or 'jpeg' ('jpeg' is default) ('raw' and 'none' are equivalent)

πŸ‘€ SEE ALSO πŸ‘€

(yeah bestie, it's literally empty in the original. iconic of it honestly πŸ’…)


🫢 AUTHOR 🫢

HPLIP (HP Linux Imaging and Printing) is an HP developed solution for printing, scanning, and faxing with HP inkjet and laser based printers in Linux.


πŸ› REPORTING BUGS πŸ›

The HPLIP Launchpad.net site https://launchpad.net/hplip is available to get help, report bugs, make suggestions, discuss the HPLIP project or otherwise contact the HPLIP Team.


Copyright (c) 2001-18 HP Development Company, L.P.

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.

no cap on that one β€” ABSOLUTELY NO WARRANTY is in all caps in the original and it means exactly what it says 😭

and that's the whole page bestie, mwah πŸ’‹ this was the hp-scan manual, section 1 of the User Manuals, version 2.2 on Linux β€” go scan something cute, ily, bye βœ¨πŸ’–πŸ¦‹