please dont rip this site
%!PS-Adobe-2.0
%%Title: Green Book Listing 4-2, on page 60.
%%Creator: "extract" program
%%CreationDate: Mon May  9 09:50:06 PDT 1988
%%EndComments
% --- cut here ---
%!PS-Adobe-2.0
%%Title: simple line printer emulator
 /buff 5000 string def
 /leftmargin 72 def  /topmargin 72 def
 /bottom 72 def  /top 792 topmargin sub def
 /ptsize 10 def /lead 10 def
 /EOLchar (\n) def  % line feed
 /F { findfont exch scalefont setfont } bind def
 /newline { %def
	currentpoint exch pop lead sub
	dup bottom lt { %if
		showpage
		pop top
	} if
	leftmargin exch moveto
 } bind def
 /emulate { %def
	{ %loop
		currentfile buff readstring exch
		EOLchar
		{ %loop (innermost)
			search { %ifelse
				show newline
			}{ %else
				show exit
			} ifelse
		} loop
		not { %if readstring found EOF
			exit
		} if
	} loop
	showpage
	leftmargin top moveto
 } bind def
%%EndProlog
%%BeginSetup
 ptsize /Courier F
 leftmargin top moveto
%%EndSetup
emulate
I wasted time, and now doth time waste me;
For now hath time made me his numbering clock;
My thoughts are minutes.
        - William Shakespeare


See also:


file: /Techref/language/PS/emulate-txt.pl.htm, 1KB, , updated: 2003/9/4 12:19, local time: 2017/11/19 02:30,
TOP NEW HELP FIND: 
54.80.227.189:LOG IN

 ©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE! / 

<A HREF="http://www.piclist.com/techref/language/PS/emulate-txt.pl.htm"> language PS emulate-txt</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

  PICList 2017 contributors:
o List host: MIT, Site host massmind.org, Top posters @20171119 RussellMc, Van Horn, David, James Cameron, Sean Breheny, alan.b.pearce, IVP, Neil, David C Brown, Bob Blick, Denny Esterline,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
 

Welcome to www.piclist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .