1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: pbm2ppa
Command Library

NAME

pbm2ppa - convert portable bitmap (PBM) to HP's Printing Performance Architecture (PPA) file format  

SYNOPSIS

pbm2ppa [options] [ <infile] > [ <outfile]> ] ]

 

DESCRIPTION

Reads portable bitmap (PBM) format as input. Outputs a stream suitable for processing by Hewlett-Packard's range of Printing Performance Architecture (PPA) printers. pnm2ppa supports the HP 710c, 712c, 720c, 722c, 820c, and 1000c series printers.

(Portable bitmap (PBM) format output can be produced from PostScript(tm) input by the GhostScript driver "pbmraw".)

 

OPTIONS

\fIinfile
Input file infile is either a path to a file or device, or '-' to indicate stdin (defaults to stdin)

\fIoutfile
Output file outfile is either a path to a file or device, or '-' to indicate stdout (defaults to stdout)

-b bottommargin
Sets the bottom margin bottommargin in units of 1/600 inches (e.g., -b 150 = 0.25")

-d
Displays the current configuration

-f configfile
Overrides reading the configuration from /etc/pnm2ppa.conf, and uses configfile instead.

-h
Displays program usage

-l leftmargin
Sets the left margin leftmargin in units of 1/600 inches (e.g., -l 150 = 0.25")

-r rightmargin
Sets the right margin rightmargin in units of 1/600 inches (e.g., -r 150 = 0.25")

-s papersize
Sets the paper size. Possible values for papersize are a4 (A4), letter or us (US Letter, 8.5"x11"), and legal (US Legal, 8.5"x14"). The default is US Letter.

-t topmargin
Sets the top margin topmargin in units of 1/600 inches (ie -t 150 = 0.25")

-v printertype
Selects the printer model. Possible values of printertype are: 710, 712, 720, 722, 820 and 1000. The default is the HP DeskJet 7X0 Series (710, 712, 720, 722).

-x xoffset
Sets the x-offset xoffset from the left of the page. Units are 1/600 inches

-y yoffset
Sets the y-offset yoffset from the top of the page. Units are 1/600 inches


 

 

SEE ALSO

pbm(5)

 


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.