Date: Sun, 26 Jan 2014 13:41:16 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: Gary Aitken <freebsd@dreamchaser.org> Cc: FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: ps problem Message-ID: <alpine.BSF.2.00.1401261331160.29800@wonkity.com> In-Reply-To: <52E55D4F.8060803@dreamchaser.org> References: <52E55D4F.8060803@dreamchaser.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 26 Jan 2014, Gary Aitken wrote: > I'm trying to debug a duplex printing issue with my printer. > I've got cups installed. Gah. That might introduce other problems, I don't know. > 1.0 setgray 1.0 is white, 0 is black. > /Times-Roman findfont > 60 scalefont > setfont > newpath > 100 200 moveto > (This is page (1).) The paren operator defines a string. Also, escaping parens inside the string with a backslash is a good idea. 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 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1401261331160.29800>