FILLPDFFIELDS(1)

πŸ“¦ version 1.60, in nixos 26.05, nixpkgs unstable

πŸ’– FILLPDFFIELDS(1) πŸ’–

ok so real talk: this is a User Contributed Perl Documentation page for fillpdffields.pl, and I'm literally about to make PDF form-filling make sense for you. buckle up bestie πŸŽ€


✨ NAME ✨

fillpdffields.pl β€” swap out PDF form fields with the values you specify. that's it, that's the whole vibe. πŸ¦‹


🌸 SYNOPSIS 🌸

fillpdffields.pl [options] infile.pdf outfile.pdf field value [field value ...]

and the options, in all their glory:

  -b --background=val  specify a background color behind the filled text field
                       Options are: 'none', gray or 'r g b'.  Default: '1'
  -t --triggerclear    remove all of the form triggers after replacing values
  -o --order           preserve the internal PDF ordering for output
  -v --verbose         print diagnostic messages
  -h --help            verbose help message
  -V --version         print CAM::PDF version

ok and here are examples of what --background values actually look like, because reading 'r g b' and going "huh?" is so valid:

  --background=none
  --background=1        # white
  --background=0.5      # gray
  --background=0        # black
  --background="1 0 0"  # red

like, 1 is white, 0.5 is gray, 0 is black, and if you want red you gotta quote it as "1 0 0" β€” the quotes are doing heavy lifting there, don't skip 'em πŸ’…


🌈 DESCRIPTION 🌈

so the whole point: you fill in the forms inside the PDF with the values you pass, and each value is matched up by its field name. no guessing, no vibes-based field matching, you gotta use the real names.

and where do you get those names? from listpdffields.pl β€” that's your bestie for listing out the form field names. go look there first, iykyk. ✨


🫢 SEE ALSO 🫢

  • CAM::PDF β€” the actual engine behind all of this πŸ‘‘
  • listpdffields.pl β€” the one that tells you the field names πŸ”

πŸ’œ AUTHOR πŸ’œ

see CAM::PDF. (short and sweet, main character energy fr fr πŸ™ˆ)


and that's the page! signing off from perl v5.42.3, dated 2013-08-15 β€” yes she's an elder but she still ate πŸ’€βœ¨ catch you in the group chat, bestie πŸ¦‹πŸ’–

πŸ“¦ where this page comes from