The shortest postscript I know to test a printer:

%!
newpath clippath stroke showpage

It will draw a line around the page clipping path (i.e., the outer most edge 
the printer can print at).

Sean

PS That’s also short enough to type at a printer if you connect to it with 
’nc’. :-)

> On Aug 2, 2022, at 06:11, Ben Hancock <b...@benghancock.com> wrote:
> 
> On Tue, 2 Aug 2022 02:09:37 -0400
> gwes <g...@oat.com> wrote:
> 
>> Are you sure that you're feeding the printer a valid postscript file?
>> If there isn't something like
>> (TimesRoman) findfont 48 scalefont setfont 200 300 moveto (text) show 
>> showpage
>> nothing happens.
> 
> I believe so. The two samples I've tried were generated with man and
> enscript. I can open them both fine with ghostscript and zathura.
> 
> - Ben

Reply via email to