ipptransform(1)
β¨ ipptransform(1) β¨ π
okay bestie so this is the tea on ipptransform β it's a lil command-line girlie from Apple Inc. and she's part of the ippsample era. she converts your document data into other formats. main character energy fr.
πΈ NAME πΈ
ipptransform β convert document data to alternate formats π¦
π SYNOPSIS π
ipptransform [ --help ] [ -d device-uri ] [ -f output-filename ] [ -i
input/format ] [ -m output/format ] [ -o name=value [... name=value] ] [
-r resolution[,...,resolution] ] [ -s {flipped|manual-
tumble|normal|rotated} ] [ -t type[,...,type] ] [ -v ] filename
π DESCRIPTION π
so basically, ipptransform takes your input file, turns it into the output format, and if you want, she'll send that output straight to a network printer. no biggie. πββοΈ
ngl, ipptransform is usually run by ippserver(8) β like, that's her whole job, converting document data for printing. she's the backstage queen. π
β¨ OPTIONS β¨
these are the options ipptransform recognizes, bestie, and yes we're going through all of them:
--helpβ shows program help. when u need her to explain herself π-d device-uriβ specifies an output device as a URI. rn only the"ipp","ipps", and"socket"URI schemes are supported, for example"socket://10.0.1.42"to send print data to an AppSocket printer at IP address10.0.1.42. π-i input/formatβ specifies the MIME media type of the input file. currently the"application/pdf"(PDF) and"image/jpeg"(JPEG) MIME media types are supported. that's it, that's the roster π-m output/formatβ specifies the MIME media type of the output file. current the"application/vnd.hp-pcl"(HP PCL) and"image/pwg-raster"(PWG Raster) MIME media types are supported. π-o "name=value[...name=value]"β specifies one or more named options for the conversion. currently the"copies","media","media-col","page-ranges","print-color-mode","print-quality","printer-resolution", and"sides"options are supported. see the NAMED OPTIONS section for more info π-r resolution[,...,resolution]β specifies the supported resolutions. resolutions are of the form"NNNdpi"or"NNNxNNNdpi", for example"300dpi"or"600x300dpi". HP PCL output only supports resolutions of"300dpi"and"600dpi"β she's picky, respect it π-s {flipped|manual-tumble|normal|rotated}β specifies the coordinate system for the back side of duplex sheets. π¦-t type[,...,type]β specifies the output color spaces and bit depths, separated by commas. types include"adobe-rgb_8"and"adobe-rgb_16"for 8-bit and 16-bit AdobeRGB,"black_1"and"black_8"for 1-bit and 8-bit black,"cmyk_8"for 8-bit CMYK,"sgray_1"and"sgray_8"for 1-bit and 8-bit grayscale with a 2.2 gamma correction, and"srgb_8"for 8-bit sRGB color. runipptransformwith the--helpoption to see the list of supported color spaces and bit depths. π¨-vβ increases the verbosity for any diagnostics. she will literally tell u everything π
π«Ά NAMED OPTIONS π«Ά
the following named options are supported:
copiesβ specifies the number of copies to produce. π¨οΈmediaβ specifies the media size as a PWG standardized media size name. for example, US Letter (8.5x11in) is"na_letter_8.5x11in"and ISO A4 is"iso_a4_210x297mm". β¨media-colβ specifies the media size as a collection. both the"media-size"and"media-size-name"members can be used to specify the size. for example, both"media-col={media-size={x-dimension=21000 y-dimension=29700}}"and"media-col={media-size-name=iso_a4_210x297mm}"specify ISO A4 media. look at her being flexible πpage-rangesβ selects a single range of pages to print. for example, the value"5-12"selects pages 5 through 12. πprint-color-modeβ specifies the color mode as"auto"(automatic),"monochrome"(grayscale), or"color". πprint-qualityβ specifies the print quality with value3(draft),4(normal), or5(high/best). βprint-scalingβ specifies the scaling to use when converting image files. the values"auto","fit", and"fill"are supported. πprinter-resolutionβ specifies the print resolution using one of the supported print resolutions. π₯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). π
π DIAGNOSTICS π
ipptransform sends all messages to the standard error. each message is prefixed with "ERROR", "INFO", or "DEBUG" depending on the level of verbosity. so if she's yelling, she's yelling with labels, periodt. π
π¦ EXIT STATUS π¦
the ipptransform program returns 0 if the input file is converted successfully and 1 otherwise. simple as that bestie π
π§ ENVIRONMENT π§
ipptransform recognizes the following environment variables:
CONTENT_TYPEβ specifies the MIME media type of the input file.DEVICE_URIβ specifies the output device as a URI.DOCUMENT_NAMEβ specifies the title of the input file.IPP_xxxβ specifies the value of the"xxx"Job Template attribute, where"xxx"is converted to uppercase. for example, the"media"Job Template attribute is stored as the"IPP_MEDIA"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"media-default"Printer Description attribute is stored as the"IPP_MEDIA_DEFAULT"environment variable. πIPP_PWG_RASTER_DOCUMENT_RESOLUTION_SUPPORTEDβ lists the supported output resolutions. πΈIPP_PWG_RASTER_DOCUMENT_SHEET_BACKβ specifies the coordinate system of the back side of duplex sheets. π¦IPP_PWG_RASTER_DOCUMENT_TYPE_SUPPORTEDβ lists the supported output color spaces and bit depths. π¨IPPTRANSFORM_MAX_RASTERβ specifies the maximum number of bytes to use when generating raster data. the default is16MB. πΎOUTPUT_TYPEβ specifies the MIME media type of the output file.SERVER_LOGLEVELβ specifies the log level (verbosity) as"error","info", or"debug". π₯
π EXAMPLES π
print a PDF file to a PCL printer at 10.0.1.42:
ipptransform -d socket://10.0.1.42 -m application/vnd.hp-pcl \
filename.pdf
print a PDF file to an IPP Everywhere printer at 10.0.1.42:
ipptransform -d ipp://10.0.1.42/ipp/print -m image/pwg-raster \
filename.pdf
convert a JPEG file to sRGB PWG Raster at 600dpi:
ipptransform -m image/pwg-raster -r 600dpi -t sgray_8,srgb_8 \
filename.jpg >filename.ras
π SEE ALSO π
ippdoclint(7), ippserver(8), ipptool(1), ipptransform3d(7)
π COPYRIGHT π
Copyright Β© 2016-2019 by the IEEE-ISTO Printer Working Group. Copyright Β© 2016-2019 by Apple Inc.
okay that's the whole page, bestie, no cap, we did not skip a single crumb π«Ά this was the ippsample version dated 2019-05-17, and yeah she's still called ipptransform(1) at the bottom too. slay. π
β¨
π¦ where this page comes from
- debian bookworm: ippsample-data 0.0~git20220607.72f89b3-1 Β· Apache-2.0
- ubuntu resolute: ippsample-data 0.0.0~git20220215.f365352-1build1 Β· Apache-2.0
- ubuntu stonking: ippsample-data 0.0.0~git20220215.f365352-2 Β· Apache-2.0
- Copyright Β© 2016-2019 by the IEEE-ISTO Printer Working Group
- Copyright Β© 2016-2019 by Apple Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms