[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to indent when printing a ps file



> I want to indent when printing a ps file.
> For a text file, it's easy with the "lpr -o page-left option, but
> it doesn't for a ps file. Google didn't help for that.

You can use the command pstops to print a PostScript file with
space added to one margin and subtracted from the opposite margin.
For example,

   pstops "1:0@1.0(1.4cm,0.0cm)" file.ps | lpr

will print file.ps with 1.4 centimeters added to the left margin.
Insert a negative sign to shift the other way.  The 0.0cm in the second
coordinate indicates that there should be no vertical shifting.

Best regards,
Greg Marks

Attachment: signature.asc
Description: PGP signature


Reply to: