• Embed Doc
  • Readcast
  • Collections
  • CommentGo Back
Download
 
LANGUAGE
TUTORIALandCOOKBOOK
ADOBE SYSTEMS
INCORPORATED
Addison-Wesley Publishing Company, Inc.
Reading, Massachusetts Menlo Park, California Don Mills, Ontario • Wokingham, England • Amsterdam Sydney • Singapore • Tokyo • Madrid Bogot 
á 
• Santiago • San Juan 
 
Library of Congress Cataloging in Publication Data
Main entry under title:Postscript language tutorial and cookbook.Includes index.1. PostScript (Computer program language)I. Adobe Systems.QA76.73.P67P68 1985 005.13
3 85-15694ISBN 0-201-10179-3Copyright
1985 by Adobe Systems Incorporated.All rights reserved. No part of this publication may bereproduced, stored in a retrieval system, or transmitted, in anyform or by any means, electronic, mechanical, photocopying,recording, or otherwise, without the prior written permissionof the publisher.Printed in the United States of America.Published simultaneously in Canada.P
OST
S
CRIPT
is a trademark of Adobe Systems Incorporated.
Times is a trademark and Helvetica is a registered trademark of Allied Corporation.Linotron 101 is a registered trademark of Allied Corporation.Scribe and U
NILOGIC
are registered trademarks of U
NILOGIC
, Ltd.Apple, AppleTalk, and MacTerminal are trademarks of Apple Computer, Inc.Macintosh is a trademark licensed to Apple Computer, Inc.The information in this book is furnished for informational use only, issubject to change without notice, and should not be construed as acommitment by Adobe Systems Incorporated. Adobe SystemsIncorporated assumes no responsibility or liability for any errors orinaccuracies that may appear in this book. The software described inthis book is furnished under license and may only be used or copied inaccordance with the terms of such license.
ABCDEFGHIJ-HA-898765Second printing: December 1985
iv
 
Contents
PREFACE
ix
P
OST
S
CRIPT LANGUAGE
TUTORIAL
CHAPTER
1
INTRODUCTION
1.1P
OST
S
CRIPT
as a Page Description Language
1
1.2P
OST
S
CRIPT
as a Programming Language
4
CHAPTER
2
STACK AND ARITHMETIC
2.1The P
OST
S
CRIPT
Stack
7
2.2Arithmetic
8
2.3Interactive Stack Operators
12
2.4New Operator Summaries
14
2.5Operator Summary
15
CHAPTER
3
BEGINNING GRAPHICS
3.1Drawing Lines
18
3.2Filled Shapes
22
3.3Operator Summary
25
CHAPTER
4
PROCEDURES AND VARIABLES
4.1P
OST
S
CRIPT
Dictionaries
27
4.2Defining Variables and Procedures
28
4.3Using Procedures and Variables
30
4.4Operator Summary
33
CHAPTER
5
PRINTING TEXT
5.1P
OST
S
CRIPT
Fonts
35
5.2Printing Variety
38
5.3Operator Summary
46
v
of 00

Leave a Comment

You must be to leave a comment.
Submit
Characters: ...
You must be to leave a comment.
Submit
Characters: ...