pbmtextps Command Examples

Render text as a PBM image using PostScript. See also: pbmtext. More information: https://netpbm.sourceforge.net/doc/pbmtextps.html.

pbmtextps "{{Hello World!}}" > {{path/to/output.pbm}}

pbmtextps -font {{Times-Roman}} -fontsize {{30}} "{{Hello World!}}" > {{path/to/output.pbm}}

pbmtextps -leftmargin {{70}} -topmargin {{162}} "{{Hello World!}}" > {{path/to/output.pbm}}

pbmtextps -dump-ps "{{Hello World!}}" > {{path/to/output.ps}}