ippdoclint(1)

πŸ“¦ version 0.0.0~git20220215.f365352, in debian bookworm, ubuntu resolute, ubuntu stonking

πŸ’– ippdoclint β€” bestie edition πŸ’–

okay so real talk, ippdoclint is a little command-line icon from the ippsample crew (yes, Apple Inc. energy, the manual section 1 kind) and it is literally your document-format bouncer. it checks common document formats and tells you if your file is giving broken or giving flawless. let's get into it 🫢


✨ NAME ✨

ippdoclint β€” check common document formats πŸ’…


🌸 SYNOPSIS 🌸

ippdoclint [ --help ] [ --version ] [ -i input/format ] [ -o name=value
[... name=value] ] [ -v ] filename

πŸ¦‹ DESCRIPTION πŸ¦‹

so what does she do. ippdoclint looks over the input file for format errors, then reports back the number of impressions (aka sides), sheets, and (input) pages in the file. that's it, that's the gig. no cap, she counts and she judges. πŸ”₯


πŸŽ€ OPTIONS πŸŽ€

here's every flag ippdoclint recognizes, bestie, no skips:

  • --help β€” shows program help. your lil "what do i do" button πŸ™ˆ
  • --version β€” shows program version. who is she, what era πŸ’œ
  • -i input/format β€” specifies the MIME media type of the input file. rn the supported MIME media types are "application/pdf" (PDF), "image/jpeg" (JPEG), "image/pwg-raster" (PWG Raster), and "image/urf" (Apple Raster). iconic lineup ✨
  • -o "name=value[...name=value]" β€” specifies one or more named options for the conversion. currently the supported ones are "copies", "page-ranges", "print-color-mode", and "sides". peek the NAMED OPTIONS section below for the tea β˜•
  • -v β€” increases the verbosity for any diagnostics. she gets chatty πŸ’¬

πŸ‘‘ NAMED OPTIONS πŸ‘‘

the named options she supports are:

  • copies β€” specifies the number of copies that should be produced. how many you want, fr fr.
  • page-ranges β€” selects a single range of pages to check. for example, the value "5-12" selects pages 5 through 12. yes, just one range, don't push it 🌈
  • print-color-mode β€” specifies the color mode as "auto" (automatic), "monochrome" (grayscale), or "color".
  • sides β€” specifies whether to do 1-sided printing ("one-sided") or 2-sided printing ("two-sided-long-edge" for portrait and "two-sided-short-edge" for landscape). portrait vs landscape, pick your fighter ⭐

πŸ’€ DIAGNOSTICS πŸ’€

ippdoclint sends all messages to the standard error. every single message gets prefixed with "ERROR", "INFO", or "DEBUG", depending on the level of verbosity. she also sends "STATE" and "ATTR" messages corresponding to IPP "job-state-reasons" keywords and Job Status attributes. so like, the receipts are all there 🧾


⭐ EXIT STATUS ⭐

the ippdoclint program returns 0 if the input file is correctly formatted and 1 otherwise. zero = slay, one = not slay. periodt. πŸ’…


🌈 ENVIRONMENT 🌈

ippdoclint recognizes these environment variables:

  • CONTENT_TYPE β€” specifies the MIME media type of the input file.
  • IPP_xxx β€” specifies the value of the "xxx" Job Template attribute, where "xxx" is converted to uppercase. for example, the "copies" Job Template attribute is stored as the "IPP_COPIES" environment variable.
  • IPP_xxx_DEFAULT β€” specifies the default value of the corresponding "xxx-default" Printer Description attribute, where "xxx" is converted to uppercase. for example, the "copies-default" Printer Description attribute is stored as the "IPP_COPIES_DEFAULT" environment variable.
  • SERVER_LOGLEVEL β€” specifies the log level (verbosity) as "error", "info", or "debug".

πŸ“ EXAMPLES πŸ“

check a PDF file:

ippdoclint filename.pdf

check a JPEG file:

ippdoclint filename.jpg

🧚 SEE ALSO 🧚


Copyright Β© 2018-2019 by the IEEE-ISTO Printer Working Group.


heads up bestie: everything above is ippsample ippdoclint(1) energy, dated 2019-05-17, and this whole page is literally just the ippdoclint(1) manual with main character energy. go check your files, you got this πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from