ps problem

Gary Aitken freebsd at dreamchaser.org
Sun Jan 26 22:37:05 UTC 2014


On 01/26/14 13:41, Warren Block wrote:

>> 1.0 setgray
> 
> 1.0 is white, 0 is black.

that might have something to do with it, :-)
except rgb failed also.

>> /Times-Roman findfont 60 scalefont setfont newpath 100 200 moveto 
>> (This is page (1).)
> 
> The paren operator defines a string.  

Got that part already, thanks.

>  But after defining a
> string, it just sits on the stack unless you draw it to the page with
> show:
> 
> (This is page \(1\).) show

Ah... that was the magic, thanks.

> After drawing everything on a page, the showpage operator prints the
> page, and then you can begin on the second page, which should also be
> followed by a showpage.
> 
> ps2pdf from ghostscript is handy for debugging without burning
> through paper.

thanks, *much* more convenient.



More information about the freebsd-questions mailing list