# man > ppmtomitsu(1)

> **TLDR:** Convert a PPM image to a Mitsubishi S340-10 file.
>
- Convert a PPM image to a MITSU file:
  `ppmtomitsu {{path/to/file.ppm}} > {{path/to/file.mitsu}}`
- Enlarge the image by the specified factor, use the specified sharpness and produce `n` copies:
  `ppmtomitsu {{-e|-enlarge}} {{1|2|3}} {{-s|-sharpness}} {{1|2|3|4}} {{-c|-copy}} {{n}} {{path/to/file.ppm}} > {{path/to/file.mitsu}}`
- Use the given medium for the printing process:
  `ppmtomitsu {{-m|-media}} {{A|A4|AS|A4S}} {{path/to/file.ppm}} > {{path/to/file.mitsu}}`

*Source: tldr-pages*

---

[ppmtomitsu(1)](https://www.chedong.com/phpMan.php/man/ppmtomitsu/1/markdown)                          General Commands Manual                         [ppmtomitsu(1)](https://www.chedong.com/phpMan.php/man/ppmtomitsu/1/markdown)



## NAME
       ppmtomitsu - convert a portable pixmap to a Mitsubishi S340-10 file

## SYNOPSIS
       **ppmtomitsu**  [-sharpness  _val_]  [**-enlarge**  _val_]  [**-media** _string_] [**-copy** _val_] [**-dpi300**] [**-tiny**]
       [_ppmfile_]

## DESCRIPTION
       Reads a portable pixmap as input and converts it into a format suitable to be  printed  by  a
       Mitsubishi S340-10 printer, or any other Mitsubishi color sublimation printer.

       The  Mitsubishi S340-10 Color Sublimation printer supports 24bit color.  Images of the avail‐
       able sizes take so long to transfer that there is a fast  method,  employing  a  lookuptable,
       that  ppmtomitsu will use if there is a maximum of 256 colors in the pixmap.  ppmtomitsu will
       try to position your image to the center of the paper, and will rotate your image for you  if
       xsize  is  larger than ysize.  If your image is larger than the media allows, ppmtomitsu will
       quit with an error message. (We decided that the media were too expensive  to  have  careless
       users  produce misprints.)  Once data transmission has started, the job can't be stopped in a
       sane way without resetting the printer.  The printer understands putting together  images  in
       the printers memory; ppmtomitsu doesn't utilize this as pnmcat etc provide the same function‐
       ality and let you view the result on-screen, too.  The S340-10 is the lowest common denomina‐
       tor  printer;  for  higher  resolution printers there's the dpi300 option. The other printers
       also support higher values for enlarge eg, but I don't think that's essential enough to  war‐
       rant a change in the program.

### -sharpness
               'sharpness' designation. Default is to use the current sharpness.

### -enlarge
              Enlarge by a factor; Default is 1 (no enlarge)

### -media
              Designate the media you're using. Default is 1184 x 1350, which will fit on any media.
              A is 1216 x 1350, A4 is 1184 x 1452, AS is 1216 x 1650 and A4S is 1184 x 1754. A warn‐
              ing: If you specify a different media than the printer currently has, the printer will
              wait until you put in the correct media or switch it off.

### -copy
              The number of copies to produce. Default is 1.

### -dpi300
              Double the number of allowed pixels for a S3600-30 Printer  in  S340-10  compatibility
              mode. (The S3600-30 has 300 dpi).

### -tiny
              It's probably a good idea to use this if your machine starts paging a lot without this
              option.

## REFERENCES
       Mitsubishi  Sublimation  Full Color Printer S340-10 Specifications of Parallel Interface LSP-
       F0232F

## SEE ALSO
       [ppmquant(1)](https://www.chedong.com/phpMan.php/man/ppmquant/1/markdown), [pnmscale(1)](https://www.chedong.com/phpMan.php/man/pnmscale/1/markdown), [ppm(5)](https://www.chedong.com/phpMan.php/man/ppm/5/markdown)

## BUGS
       We didn't find any - yet. (Besides, they're called features anyway :-)  If  you  should  find
       one, my email-adress is below.

## AUTHOR
       Copyright  (C)  1992,  93  by  S.Petra  Zeidler,  MPIfR  Bonn, Germany.  (<spz@specklec.mpifr->
       bonn.mpg.de)



                                             29 Jan 1992                               [ppmtomitsu(1)](https://www.chedong.com/phpMan.php/man/ppmtomitsu/1/markdown)
