Options (3)
-lbooleanSpecify the desired left and top margins
Example:
pbmtextps {{[-l|-leftmargin]}} {{70}} {{[-t|-topmargin]}} {{162}} "{{Hello World!}}" > {{path/to/output.pbm}}-tbooleanSpecify the desired left and top margins
Example:
pbmtextps {{[-l|-leftmargin]}} {{70}} {{[-t|-topmargin]}} {{162}} "{{Hello World!}}" > {{path/to/output.pbm}}booleanDo not output the rendered text as a PBM image, but a PostScript program that would create this image
Example:
pbmtextps {{[-du|-dump-ps]}} "{{Hello World!}}" > {{path/to/output.ps}}Examples (4)
Render a single line of text as a PBM image
pbmtextps "Hello World!" > path/to/output.pbmSpecify the font and font size
pbmtextps -font Times-Roman -fontsize 30 "Hello World!" > path/to/output.pbmSpecify the desired left and top margins
pbmtextps [-l|-leftmargin] 70 [-t|-topmargin] 162 "Hello World!" > path/to/output.pbmDo not output the rendered text as a PBM image, but a PostScript program that would create this image
pbmtextps [-du|-dump-ps] "Hello World!" > path/to/output.psmade by @shridhargupta | data from tldr-pages