phpman > man > ppmtolj(1)

Markdown | JSON | MCP    

TLDR: ppmtolj (tldr-pages)

Convert a PPM file to an HP LaserJet PCL 5 Color file.

  • Convert a PPM file to an HP LaserJet PCL 5 Color file
    ppmtolj {{path/to/input.ppm}} > {{path/to/output.lj}}
  • Apply a gamma correction using the specified gamma value
    ppmtolj {{-g|-gamma}} {{gamma}} {{path/to/input.ppm}} > {{path/to/output.lj}}
  • Specify the required resolution
    ppmtolj {{-r|-resolution}} {{75|100|150|300|600}} {{path/to/input.ppm}} > {{path/to/output.lj}}
ppmtolj(1)                             General Commands Manual                            ppmtolj(1)



NAME
       ppmtolj - convert a portable pixmap to an HP LaserJet PCL 5 Color file

SYNOPSIS
       ppmtolj [-gamma val] [-resolution 75|100|150|300|600] [-delta] [-float] [-noreset] [ppmfile]

DESCRIPTION
       Reads  a portable pixmap as input and converts it into a color file suitable to be printed by
       an HP color PCL 5 printer.

OPTIONS
       -delta        Apply delta row compression to reduce the size of the pcl file.

       -gamma int    Gamma correct the image using the integet parameter as a gamma (default 0).

       -float        Suppresses positioning information.  The  default  is  to  write  the  sequence
                     ESC&l0E to the output.

       -noreset      Prevents writing of the reset sequence to the begining and end of the output.

       -resolution   Set the required output resolution 75|100|150|300|600

REFERENCES
       HP PCL 5 & Color Reference Guide

BUGS
       None known.

AUTHOR
       Copyright (C) 2000 by Jonathan Melvin.(jonathan.melvin AT heywood.uk)



                                             4 Sept 2000                                  ppmtolj(1)

Generated by phpman v3.7.12 Author: Che Dong Under GNU General Public License
2026-06-13 06:57 @216.73.216.28
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!