FILLPDFFIELDS(1)
π 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
- nixos 26.05: perl5.42.3-CAM-PDF 1.60
- nixpkgs unstable: perl5.42.3-CAM-PDF 1.60
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms