ippdoclint(1)
π 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 π-iinput/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 π§
ipptransform(7)ipptransform3d(7)- PWG Internet Printing Protocol Workgroup (
http://www.pwg.org/ipp)
π COPYRIGHT π
Copyright Β© 2018-2019 by the IEEE-ISTO Printer Working Group.
heads up bestie: everything above isippsampleippdoclint(1)energy, dated2019-05-17, and this whole page is literally just theippdoclint(1)manual with main character energy. go check your files, you got this πβ¨π
π¦ where this page comes from
- debian bookworm: ippsample-data 0.0~git20220607.72f89b3-1 Β· Apache-2.0
- Copyright Β© 2018-2019 by the IEEE-ISTO Printer Working Group
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms