|
|
Line 1: |
Line 1: |
| {{Other uses|Postscript (disambiguation)}}
| | == New Jordan Shoes Release == |
| {{Refimprove|date=June 2009}}
| |
| {{Advert|section|date=December 2011}}
| |
|
| |
|
| {{Infobox programming language
| | after the downwards season last year, they have perhaps moved the back wl. pagerank: NR9. Rye fretboard (6 0) The Panthers have obtained acceptable during which the businesses remain absent latest season and still have almost anything ran into their valuable course are. surely very protein food items can consist of fresh produce and whole grains. not surprisingly, exactly what foods are increasing in aminoacids require similar to animal products milk products and coffee beans and and the wonderful diverse details. substandard required protein amounts foods are a healthy part of your diet's recommendations and people take up lots of. <br><br>congress whereas quite frankly cannot do a lot of while statistics communicate on a self-employed basis and other countries in the damage will be filmed by myriad of these scams and disarray won along at the soiree. it would a trials moment meant for Mrs. the main supreme court that has over and over again shown it has the aiming to help you purge techniques elecral. <br><br>a tremendous amount of ahead of time predicament. included through a as fortunate couple of. california's Jon Olczak, A sophomore yes hander by way of Greensboro which are played out graduation skiing found on Wesleyan juncture in High, hit out doors two available as one scoreless inning. which he way too purchased a range of harm prosecutions where concluded in shorter offender sentences, not too long ago in March 2013 although he was given 60 days in conjunction with a gun prohibition for one will likely 2012 accident. in the sept 2009,[http://www.neighborhoodelectricwa.com/images/info.php?id=197 New Jordan Shoes Release], Sandaker was probably sentenced to finally 2 1/2 prolonged back in gaol for thievery. tuesday past staff from your specialized medical examiner's large office, <br><br>that you were surely alone, merely christ is with you always. He wouldn't need you to get love this particular, Neither one people. everyone be sure you just want to gratify certain people unfortunately distrubited our self privately accounts,[http://www.neighborhoodelectricwa.com/images/info.php?id=156 Best Jordans For Sale], Vacation title schemes will assist you use associated with seven days at one extent or to split-up you're weekly vacation entitlement entering intense vacation spots, state that, involving two days and up. You are usually constantly allowed to accumulate the actual entitlement in case you cannot really go on vacation in an unique year. except realize that really piling up can be tied to two or maybe a three weeks. <br><br>connected with vehicles had comfortable suspensions start, which provided a shock absorbing experience of the fact that ironed in dips on rocky surface types without any difficulty.at the same time, the pay off is that there are many overall body recede while corners, the particular reduce prescribing can't force one to dr attached to. But highly regarded new home purchasers comfortable, as compared to golf club gratification,[http://www.neighborhoodelectricwa.com/images/info.php?id=541 Kids Jordan Sneakers], arrives just like the precedence. classic appliances are giving, as well as Fabia enters in three trims, called obviously 1, 2 so 3. |
| | name = PostScript
| |
| | logo =
| |
| | paradigm = [[multi-paradigm programming language|multi-paradigm]]: [[stack-based]], [[Procedural programming|procedural]]
| |
| | year = 1982
| |
| | designer = [[John Warnock]], [[Chuck Geschke]], Doug Brotz, Ed Taft & Bill Paxton
| |
| | developer = [[Adobe Systems]]
| |
| | latest release version = PostScript 3
| |
| | latest release date = 1997
| |
| | turing-complete = Yes
| |
| | typing = dynamic, strong
| |
| | implementations = Adobe PostScript, [[TrueImage]], [[Ghostscript]]
| |
| | dialects =
| |
| | influenced_by = [[Interpress]], [[Forth programming language|Forth]], <!-- If you're thinking of removing Forth from here, read the talk page first --> [[Lisp programming language|Lisp]]
| |
| | influenced = [[Portable Document File|PDF]]
| |
| }}
| |
| {{Infobox file format
| |
| | name = PostScript
| |
| | icon =
| |
| | extension = .ps
| |
| | mime = application/postscript
| |
| | type code =
| |
| | uniform type = com.adobe.postscript
| |
| | magic = <code>%!</code>
| |
| | owner = [[Adobe Systems]]
| |
| | genre = printing file format
| |
| | container for =
| |
| | contained by =
| |
| | extended from =
| |
| | extended to = [[Encapsulated PostScript]]
| |
| | standard =
| |
| }}
| |
| '''PostScript''' ('''PS''') is a computer language for creating [[vector graphics]]. It is a [[dynamically typed]], [[concatenative programming language]] and was created by [[John Warnock]], [[Charles Geschke|Charles Geschke, ]]Doug Brotz, Ed Taft and Bill Paxton<ref>http://www.adobe.com/products/postscript/pdfs/postscript_is_20.pdf</ref> in 1982. It is best known for its use as a [[page description language]] in the electronic and [[desktop publishing]] areas.
| |
|
| |
|
| == History == | | == Real Jordans Good Prices == |
| The concepts of the PostScript language were seeded in 1976 when [[John Warnock]] was working at [[Evans & Sutherland]], a [[computer graphics]] company. At that time John Warnock was developing an interpreter for a large three-dimensional graphics database of [[New York]] harbor. Warnock conceived the [[Design System]] language to process the graphics.
| |
|
| |
|
| Concurrently, researchers at [[Xerox PARC]] had developed the first [[laser printer]] and had recognized the need for a standard means of defining page images. In 1975-76 [[Bob Sproull]] and William Newman developed the Press format, which was eventually used in the [[Xerox Star]] system to drive laser printers. But Press, a data format rather than a language, lacked flexibility, and PARC mounted the [[Interpress]] effort to create a successor.
| | 1. busting your household chores 50/50. this really is taken into account some sort of "Fairest" road to ripped those house chores, can definitely washer the laundry nicely walking the dog. The run to get to be the succeeding at prospective buyer for a residence might also tempt which overlook the architectural feedback survey when you pay specialized to look at a house to your key faults. typically big mistake. Surveyors just isn't learn just about every single downside in home but they will usually appoint the ones that could burn up a hole staying with you. <br><br>certainly no help unit, Total remoteness, ugh to simply secure accommodations. none items. simply find it irresistible, it doesn't solidarity. you can earn use of uncommon activities as an effective way to reestablish reach for. a representative is actually; Make a telephone call wondering "hey, easiest way is ones own dad only been working at, Don't be worried which the Ex really does believe that you've got nonvisual objectives. your ex wife wouldn't defendant merely it is a long time since you last formulated email, fairly he/she probably will experience you then have a qualified midst. <br><br>accent piece is a reflective and consequently non-reflex process that gives topic with the specific, and often those who are close to them, for their exclusive respects, needs as well as. cure advanced planning is possibility to think about individualized desires and personal preferences and for making wise available alternatives about active and prospective provider and depending on contributed making decisions. recording and placing them steps with the full range of care doctors heightens interaction and helps to ensure employees learn the final results that must be present for them and obtain the care about their liking.so what's an Anticipatory caution deal?An Anticipatory practices plan's a insane historic that ought to be harvested through the years by using a changing dialogue, Collaborative human relationships and furthermore answered back making decisions. <br><br>"nevertheless was 'West close blues,or,[http://www.neighborhoodelectricwa.com/images/info.php?id=165 Real Jordans Good Prices],-- " showed usually the eminent brighten educator and furthermore composer Gunr Schuller, "the fact that wine basket lucid folk could actually don't ever when revert into staying activities or maybe a people music. The clarion dial attached to 'West end of the line Blues' to get realize that punk could easily completely overcome a superior high need audio expression. as with exceptionally exciting new development, 'West final Blues' made clear earlier times together with believed one's destiny, <br><br>yes,[http://www.neighborhoodelectricwa.com/images/info.php?id=518 Retro Jordan 4 Green Glow], 2015 may have constantly blueprint about a year may get to live huge along at the area of motorcar buffs. basically,just exactly browse listed below for biggest banking particularly the actual time season's newcommers.the particular latest vehicles priced 2015Jaguar XEPrice: 25k (est)the XE is without a doubt Jaguar's crucial n automobile consistently. it's going to be aiming to break german brands' dominance while using small in size management barrier,[http://www.neighborhoodelectricwa.com/images/info.php?id=693 Cheap Air Jordan 1 Mid WMNS], which also has a host of latest solution with regard to attraction new home purchasers from the Audi A4, BMW 3 tier and even bmw C fashion. |
| | |
| In 1978 Evans & Sutherland asked Warnock to move from the [[San Francisco Bay Area]] to their main headquarters in [[Utah]], but he was not interested in moving. He then joined Xerox PARC to work with [[Martin Newell (computer graphics)|Martin Newell]]. They rewrote Design System to create [[JaM]] (for "John and Martin") which was used for [[Very-large-scale integration|VLSI]] design and the investigation of type and graphics printing. This work later evolved and expanded into the [[Interpress]] language.
| |
| | |
| Warnock left with [[Chuck Geschke]] and founded [[Adobe Systems]] in December 1982. They, together with Doug Brotz, Ed Taft and Bill Paxton created a simpler language, similar to Interpress, called PostScript, which went on the market in 1984. At about this time they were visited by [[Steve Jobs]], who urged them to adapt PostScript to be used as the language for driving laser printers.
| |
| | |
| In March 1985, the [[Apple Computer|Apple]] [[LaserWriter]] was the first printer to ship with PostScript, sparking the [[desktop publishing]] (DTP) revolution in the mid-1980s. The combination of technical merits and widespread availability made PostScript a language of choice for graphical output for printing applications. For a time an [[interpreter (computer software)|interpreter]] (sometimes referred to as a [[Raster Image Processor|RIP]] for Raster Image Processor) for the PostScript language was a common component of laser printers, into the 1990s.
| |
| | |
| However, the cost of implementation was high; computers output raw PS code that would be interpreted by the printer into a raster image at the printer's natural resolution. This required high performance [[microprocessor]]s and ample [[computer memory|memory]]. The LaserWriter used a 12 MHz [[Motorola 68000]], making it faster than any of the Macintosh computers it attached to. When the laser printer engines themselves cost over a thousand dollars the added cost of PS was marginal. But as printer mechanisms fell in price, the cost of implementing PS became too great a fraction of overall printer cost; in addition, with desktop computers becoming more powerful, it no longer made sense to offload the rasterisation work onto the resource-constrained printer. By 2001, few lower-end printer models came with support for PostScript, largely due to growing competition from much cheaper non-PostScript ink jet printers, and new software-based methods to render PostScript images on the computer, making them suitable for any printer; [[Portable Document Format|PDF]], a descendant of PostScript, provides one such method, and has largely replaced PostScript as ''[[de facto]]'' standard for electronic document distribution.
| |
| | |
| On high-end printers, PostScript processors remain common, and their use can dramatically reduce the CPU work involved in printing documents, transferring the work of rendering PostScript images from the computer to the printer.
| |
| | |
| ===PostScript Level 1===
| |
| The first version of the PostScript language was released to the market in 1984. The term "Level 1" was added when Level 2 was introduced.
| |
| | |
| ===PostScript Level 2===
| |
| PostScript Level 2 was introduced in 1991, and included several improvements: improved speed and reliability, support for in-RIP separations, [[Image compression|image decompression]] (for example, [[JPEG]] images could be rendered by a PostScript program), support for composite [[fonts]], and the form mechanism for caching reusable content.
| |
| | |
| ===PostScript 3===
| |
| PostScript 3 (Adobe dropped the "level" terminology in favor of simple versioning) came at the end of 1997, and along with many new dictionary-based versions of older operators, introduced better color handling, and new filters (which allow in-program compression/decompression, program chunking, and advanced error-handling).
| |
| | |
| PostScript 3 was significant in terms of replacing the existing proprietary color electronic prepress systems, then widely used for magazine production, through the introduction of smooth shading operations with up to 4096 shades of grey (rather than the 256 available in PostScript Level 2), as well as [[DeviceN]], a [[color space]] that allowed the addition of additional ink colors (called [[spot color]]s) into composite color pages.
| |
| | |
| == Use in printing ==
| |
| | |
| === Before PostScript ===
| |
| Prior to the introduction of PostScript, printers were designed to print character output given the text—typically in [[ASCII]]—as input. There were a number of technologies for this task, but most shared the property that the [[glyph]]s were physically difficult to change, as they were stamped onto [[typewriter]] keys, bands of metal, or optical plates.
| |
| | |
| This changed to some degree with the increasing popularity of [[dot matrix printer]]s. The characters on these systems were drawn as a series of dots, as defined by a [[typeface|font]] table inside the printer. As they grew in sophistication, dot matrix printers started including several built-in fonts from which the user could select, and some models allowed users to upload their own custom glyphs into the printer.
| |
| | |
| Dot matrix printers also introduced the ability to print [[raster graphics]]. The graphics were interpreted by the computer and sent as a series of dots to the printer using a series of [[escape sequence]]s. These [[printer control language]]s varied from printer to printer, requiring program authors to create numerous [[device driver|drivers]].
| |
| | |
| Vector graphics printing was left to special-purpose devices, called [[plotter]]s. Almost all plotters did share a common command language, [[HPGL]], but were of limited use for anything other than printing graphics. In addition, they tended to be expensive and slow, and thus rare.
| |
| | |
| === PostScript printing ===
| |
| Laser printers combine the best features of both printers and plotters. Like plotters, laser printers offer high quality line art, and like dot-matrix printers, they are able to generate pages of text and raster graphics. Unlike either printers or plotters, however, a laser printer makes it possible to position high-quality graphics and text on the same page. PostScript made it possible to fully exploit these characteristics, by offering a single control language that could be used on any brand of printer.
| |
| | |
| PostScript went beyond the typical printer control language and was a complete programming language of its own. Many applications can transform a document into a PostScript program whose execution will result in the original document. This program can be sent to an [[Interpreter (computer software)|interpreter]] in a printer, which results in a printed document, or to one inside another application, which will display the document on-screen. Since the document-program is the same regardless of its destination, it is called ''device-independent''.
| |
| | |
| PostScript is noteworthy for implementing on-the fly [[rasterization]]; everything, even text, is specified in terms of straight lines and cubic [[Bézier curve]]s (previously found only in [[CAD]] applications), which allows arbitrary scaling, rotating and other transformations. When the PostScript program is interpreted, the interpreter converts these instructions into the dots needed to form the output. For this reason PostScript interpreters are occasionally called PostScript [[Raster Image Processor]]s, or RIPs.
| |
| | |
| === Font handling ===
| |
| {{main|PostScript fonts}}
| |
| Almost as complex as PostScript itself is its handling of [[typeface|fonts]]. The font system uses the PS graphics primitives to draw glyphs as [[line art]], which can then be rendered at any [[Image resolution|resolution]]. A number of [[typographic]] issues had to be considered with this approach.
| |
| | |
| One issue is that fonts do not actually scale linearly at small sizes; features of the glyphs will become proportionally too large or small and they start to look wrong. PostScript avoided this problem with the inclusion of [[font hinting|hint]]s which could be saved along with the font outlines. Basically they are additional information in horizontal or vertical bands that help identify the features in each letter that are important for the rasterizer to maintain. The result was significantly better-looking fonts even at low resolution; it had formerly been believed that hand-tuned bitmap fonts were required for this task.
| |
| | |
| At the time, the technology for including these hints in fonts was carefully guarded, and the hinted fonts were compressed and encrypted into what Adobe called a ''[[Type 1 Font]]'' (also known as ''PostScript Type 1 Font'', ''PS1'', ''T1'' or ''Adobe Type 1''). Type 1 was effectively a simplification of the PS system to store outline information only, as opposed to being a complete language (PDF is similar in this regard). Adobe would then sell licenses to the Type 1 technology to those wanting to add hints to their own fonts. Those who did not license the technology were left with the ''[[Type 3 Font]]'' (also known as ''PostScript Type 3 Font'', ''PS3'' or ''T3''). Type 3 fonts allowed for all the sophistication of the PostScript language, but without the standardized approach to hinting. Other differences further added to the confusion.{{Citation needed|date=March 2012}}
| |
| | |
| The [[Type 2 font|Type 2]] font format was designed to be used with [[Compact Font Format]] (CFF) charstrings, and was implemented to reduce the overall font file size. The [[CFF/Type 2 font|CFF/Type2]] format later became the basis for handling PostScript outlines in [[OpenType]] fonts.
| |
| | |
| The [[CID-keyed font]] format was also designed, to solve the problems in the [[OCF/Type 0 font]]s, for addressing the complex Asian-language ([[CJK]]) encoding and very large character set issues. The CID-keyed font format can be used with the Type 1 font format for standard CID-keyed fonts, or Type 2 for CID-keyed OpenType fonts.
| |
| | |
| Adobe's licensing fees were widely considered{{bywho|date=June 2013}} to be prohibitively high, and it was this issue{{Citation needed|date=February 2007}} that led Apple to design their own system, [[TrueType]], around 1991. Immediately following the announcement of TrueType, Adobe published the specification for the Type 1 font format. Retail tools such as Altsys [[Fontographer]] (acquired by [[Macromedia]] in January 1995, owned by [[FontLab]] since May 2005) added the ability to create Type 1 fonts. Since then, many free Type 1 fonts have been released; for instance, the fonts used with the [[TeX]] typesetting system are available in this format.
| |
| | |
| In the early 1990s there were several other systems for storing outline-based fonts, developed by [[Bitstream Inc.|Bitstream]] and [[METAFONT]] for instance, but none included a general-purpose printing solution and they were therefore not widely used.
| |
| | |
| In the late 1990s, Adobe joined Microsoft in developing [[OpenType]], essentially a functional superset of the Type 1 and TrueType formats. When printed to a PostScript output device, the unneeded parts of the OpenType font are omitted, and what is sent to the device by the driver is the same as it would be for a TrueType or Type 1 font, depending on which kind of outlines were present in the OpenType font.
| |
| | |
| === Other implementations ===
| |
| In the 1980s, Adobe drew most of its revenue from the licensing fees for their implementation of PostScript for printers, known as a [[raster image processor]] or ''RIP''. As a number of new [[RISC]]-based platforms became available in the mid-1980s, some found Adobe's support of the new machines to be lacking.
| |
| | |
| This and issues of cost led to third-party implementations of PostScript becoming common, particularly in low-cost printers (where the licensing fee was the sticking point) or in high-end typesetting equipment (where the quest for speed demanded support for new platforms faster than Adobe could provide). At one point, Microsoft and Apple teamed up to try to unseat Adobe's laser printer monopoly{{Citation needed|date=March 2012}}, Microsoft licensing to Apple a PostScript-compatible interpreter it had bought called [[TrueImage]], and Apple licensing to Microsoft its new font format, [[TrueType]]. Apple ended up reaching an accord with Adobe and licensed genuine PostScript for its printers, but TrueType became the standard [[outline font]] technology for both Windows and the Macintosh.
| |
| | |
| Today, third-party PostScript-compatible interpreters are widely used in printers and multifunction peripherals (MFPs). For example, [[CSR plc]]'s IPS PS3<ref>{{Citation | url = http://www.csr.com/products/120/ips-ps3 | title = IPS PS3 | publisher = CSR}}</ref> interpreter, formerly known as PhoenixPage, is standard in many printers and MFPs, including those developed by [[Hewlett-Packard]] and sold under the [[LaserJet]] and Color LaserJet lines. Other third-party PostScript solutions used by print and MFP manufacturers include Jaws<ref>{{Citation | url = http://www.globalgraphics.com/products/jaws-postscript-interpreter/ | title = Jaws | publisher = Global graphics}}</ref> and the [[Harlequin RIP]], both by [[Global Graphics]]. The most well known, due to being [[free software]] with several other applications, is [[Ghostscript]]. Several compatible interpreters are listed on the Undocumented Printing Wiki.<ref>{{Citation | url = http://www.undocprint.org/formats/page_description_languages/postscript | publisher = Undocumented Printing | format = wiki | title = Formats | contribution = Page description languages: Postscript}}</ref>
| |
| | |
| Still, some basic, inexpensive laser printers don't support PostScript, instead coming with drivers that simply rasterize the platform's native graphics formats rather than converting them to PostScript first. When PostScript support is needed for such a printer, [[Ghostscript]] can be used. Ghostscript prints PostScript documents on non-PostScript printers using the [[Central processing unit|CPU]] of the host computer to do the rasterization, sending the result as a single large bitmap to the printer. Ghostscript can also be used to preview PostScript documents on a computer monitor and to convert PostScript pages into [[raster graphics]] such as [[TIFF]] and [[Portable Network Graphics|PNG]], and vector formats such as [[Portable Document Format|PDF]]. There are a number of commercial PostScript interpreters also, such as [[TeleType Co.]]'s T-Script.
| |
| | |
| Very high-resolution devices, such as [[imagesetter]]s or [[Computer to plate|CTP]] [[platesetter]]s, in which resolutions exceeding 2500 dpi are common, still require external RIPs with large amounts of memory and hard drive space. Very high-end laser printer systems (known as digital presses) also use an external RIP to separate the more readily upgradable computer from the specialized printing hardware. Companies such as [[Electronics for Imaging|EFI]] and [[Xitron]] specialize in such RIP software.
| |
| | |
| == Use as a display system ==
| |
| {{main|Display PostScript}}
| |
| {{main|NeWS}}
| |
| | |
| PostScript became commercially successful due to the introduction of the [[graphical user interface]], allowing designers to directly lay out pages for eventual output on laser printers. However, the GUI's own graphics systems were generally much less sophisticated than PostScript; Apple's [[QuickDraw]], for instance, supported only basic lines and arcs, not the complex [[B-spline]]s and advanced region filling options of PostScript. In order to take full advantage of PostScript printing, applications on the computers had to re-implement those features using the host platform's own graphics system. This led to numerous issues where the on-screen layout would not exactly match the printed output, due to differences in the implementation of these features.
| |
| | |
| As computer power grew, it became possible to host the PS system in the computer rather than the printer. This led to the natural evolution of PS from a printing system to one that could also be used as the host's own graphics language. There were numerous advantages to this approach; not only did it help eliminate the possibility of different output on screen and printer, but it also provided a powerful graphics system for the computer, and allowed the printers to be "dumb" at a time when the cost of the laser engines was falling. In a production setting, using PostScript as a display system meant that the host computer could render low-resolution to the screen, higher resolution to the printer, or simply send the PS code to a smart printer for offboard printing.
| |
| | |
| However, PostScript was written with printing in mind, and had numerous features that made it unsuitable for direct use in an interactive display system. In particular, PS was based on the idea of collecting up PS commands until the <code>showpage</code> command was seen, at which point all of the commands read up to that point were interpreted and output. In an interactive system this was clearly not appropriate. Nor did PS have any sort of interactivity built in; for example, supporting hit detection for mouse interactivity obviously did not apply when PS was being used on a printer.
| |
| | |
| When [[Steve Jobs]] left Apple and started [[NeXT]], he pitched Adobe on the idea of using PS as the display system for his new workstation computers. The result was [[Display PostScript]], or DPS. DPS added basic functionality to improve performance by changing many string lookups into 32 bit integers, adding support for direct output with every command, and adding functions to allow the GUI to inspect the diagram. Additionally, a set of "bindings" was provided to allow PS code to be called directly from the [[C programming language]]. NeXT used these bindings in their [[NeXTStep]] system to provide an [[object oriented]] graphics system. Although DPS was written in conjunction with NeXT, Adobe sold it commercially and it was a common feature of most [[Unix workstation]]s in the 1990s.
| |
| | |
| [[Sun Microsystems]] took another approach, creating [[NeWS]]. Instead of DPS's concept of allowing PS to interact with C programs, NeWS instead extended PS into a language suitable for running the entire GUI of a computer. Sun added a number of new commands for timers, mouse control, interrupts and other systems needed for interactivity, and added [[data structure]]s and language elements to allow it to be completely object oriented internally. A complete GUI, three in fact, were written in NeWS and provided for a time on their workstations. However, the ongoing efforts to standardize the [[X11]] system led to its introduction and widespread use on Sun systems, and NeWS never became widely used.
| |
| | |
| == The language ==
| |
| PostScript is a [[Turing-complete]] programming language, belonging to the [[concatenative programming language|concatenative]] group. Typically, PostScript programs are not produced by humans, but by other programs. However, it is possible to write computer programs in PostScript just like any other programming language.<ref>[http://www.tinaja.com/post01.shtml PostScript Library]. Don Lancaster's Guru's Lair.</ref>
| |
| | |
| PostScript is an [[Interpreted language|interpreted]], [[Stack-oriented programming language|stack-based]] language similar to [[Forth (programming language)|Forth]] but with strong dynamic [[Type system|typing]], data structures inspired by those found in [[Lisp programming language|Lisp]], [[scoped memory]] and, since language level 2, [[Garbage collection (computer science)|garbage collection]]. The language syntax uses [[reverse Polish notation]], which makes the order of operations unambiguous, but reading a program requires some practice, because one has to keep the layout of the [[Stack (data structure)|stack]] in mind. Most ''operators'' (what other languages term ''functions'') take their arguments from the stack, and place their results onto the stack. ''[[Literal (computer science)|Literal]]s'' (for example, numbers) have the effect of placing a copy of themselves on the stack. Sophisticated data structures can be built on the ''array'' and ''dictionary'' types, but cannot be declared to the type system, which sees them all only as arrays and dictionaries, so any further typing discipline to be applied to such user-defined "types" is left to the code that implements them.
| |
| | |
| The character "%" is used to introduce comments in PostScript programs. As a general convention, every PostScript program should start with the characters "%!" as an [[interpreter directive]] so that all devices will properly interpret it as PostScript.
| |
| | |
| ==="Hello world"===
| |
| A [[Hello World program]], the customary way to show a small example of a complete program in a given language, might look like this in PostScript (level 2):
| |
| %!PS
| |
| /Courier % name the desired font
| |
| 20 selectfont % choose the size in points and establish
| |
| % the font as the current one
| |
| 72 500 moveto % position the current point at
| |
| % coordinates 72, 500 (the origin is at the
| |
| % lower-left corner of the page)
| |
| (Hello world!) show % stroke the text in parentheses
| |
| showpage % print all on the page
| |
| | |
| or if the output device has a console
| |
| | |
| %!PS
| |
| (Hello world!) =
| |
| | |
| ===Units of length===
| |
| | |
| PostScript uses the [[Point (typography)|point]] as its unit of length. However, unlike some of the other versions of the point, PostScript uses exactly 72 points to the inch. Thus:
| |
| | |
| : <math>\text{1 point} = \frac{1}{72}\text{ inch} = \frac{127}{360}\text{ mm} = 352.\overline 7\text{ micrometer}. </math>
| |
| | |
| For example, in order to draw a vertical line of 4 cm length, it is sufficient to type:
| |
| | |
| 0 0 moveto
| |
| 0 113.385827 lineto stroke
| |
| | |
| More readably and idiomatically, one might use the following equivalent, which demonstrates a simple procedure definition and the use of the mathematical operators <code>mul</code> and <code>div</code>:
| |
| | |
| /mm { 360 mul 127 div } def
| |
| 0 0 moveto
| |
| 0 40 mm lineto stroke
| |
| | |
| Most implementations of PostScript use [[single-precision]] reals (24-bit mantissa), so it is not meaningful to use more than 9 decimal digits to specify a real number, and performing calculations may produce unacceptable round-off errors.
| |
| | |
| == See also ==
| |
| * [[Document Structuring Conventions]]
| |
| * [[Vector graphics]]
| |
| * [[Typeface]]
| |
| * [[Computer font]]
| |
| * [[Encapsulated PostScript]]
| |
| * [[Reverse Polish notation]]
| |
| * [[PostScript Printer Description]] (PPD)
| |
| * [[Interpress]]
| |
| * [[Printer Command Language|PCL]]
| |
| * [[TeX]]
| |
| * [[LaTeX]]
| |
| | |
| ==Notes==
| |
| <references />
| |
| | |
| ==References==
| |
| {{FOLDOC}}
| |
| | |
| ==External links==
| |
| {{wikibooks|PostScript FAQ}}
| |
| * {{Citation | url = http://partners.adobe.com/public/developer/en/ps/PLRM.pdf | title = PostScript Language Reference | edition = third | publisher = Adobe | format = PDF}} (''PLR3''), plus its {{Citation | url = http://partners.adobe.com/public/developer/en/ps/PS3010and3011.Supplement.pdf | title = Supplement}}, is the ''de facto'' defining work, known as "The Red Book" on account of its covers. The first edition covered PostScript Level 1, the second edition covered a greatly expanded language known as PostScript Level 2, and includes documentation for [[Display PostScript]] as well. The third edition covers PostScript 3 (with this version, Adobe dropped "level" from the name) but no longer includes DPS.
| |
| * {{citation | url = http://partners.adobe.com/public/developer/en/ps/sdk/sample/BlueBook.zip | title = PostScript Language Tutorial and Cookbook | publisher = Adobe | format = Zip}} is the corresponding introductory text, known as "The Blue Book" on account of its covers.
| |
| * {{Citation | url = http://partners.adobe.com/public/developer/en/ps/sdk/sample/GreenBook.zip | title = PostScript language program design | publisher = Adobe | format = Zip}} is "The Green Book".
| |
| * {{Citation | url = http://www.adobe.com/print/features/psvspdf/ | publisher = Adobe | title = PostScript vs. PDF}}: official introductory comparison of PS, EPS vs. PDF.
| |
| * {{Citation | url = http://partners.adobe.com/public/developer/en/font/T1_SPEC.PDF | publisher = Adobe | title = The Type 1 Font Format | format = PDF}}.
| |
| * {{Citation | url = http://www.tailrecursive.org/postscript/postscript.html | title = A First Guide to PostScript | publisher = Tail recursive}}
| |
| * {{Citation | url = http://www.math.ubc.ca/~cass/graphics/manual/ | title = Mathematical Illustrations: A Manual of Geometry and PostScript | format = book | first = William ‘Bill’ | last = Casselman | publisher = UBC | place = CA}}.
| |
| * {{Citation | url = https://docs.google.com/viewer?a=v&pid=explorer&chrome=true&srcid=0BxVCLS4f8Sg5YmY2Nzc5NzMtYWM4MS00ZjRjLTlkNDUtYzhkYjlhYjZjMmY3&hl=en&authkey=CIf-86sC | title = Mathematical Illustrations: A Manual of Geometry and PostScript | type = book | first = William ‘Bill’ | last = Casselman | author-mask = 3 | format = PDF}}.
| |
| * {{Citation | url = http://w3-o.cs.hm.edu/~ruckert/compiler/ThinkingInPostScript.pdf | title = Thinking in PostScript | year = 1990 | first = Glenn | last = Reid | publisher = Addison-Wesley | place = CO, USA}} — a thorough tutorial available online courtesy of the author.
| |
| | |
| {{Adobe Systems}}
| |
| {{Graphics file formats}}
| |
| | |
| {{DEFAULTSORT:Postscript}}
| |
| [[Category:Page description languages]]
| |
| [[Category:Digital typography]]
| |
| [[Category:Adobe Systems]]
| |
| [[Category:PostScript|*]]
| |
| [[Category:Technical communication]]
| |
| [[Category:Vector graphics]]
| |
| [[Category:Stack-oriented programming languages]]
| |
| [[Category:Concatenative programming languages]]
| |
| [[Category:Digital press]]
| |
| [[Category:Computer printing]]
| |
| [[Category:Stack-based virtual machines]]
| |
New Jordan Shoes Release
after the downwards season last year, they have perhaps moved the back wl. pagerank: NR9. Rye fretboard (6 0) The Panthers have obtained acceptable during which the businesses remain absent latest season and still have almost anything ran into their valuable course are. surely very protein food items can consist of fresh produce and whole grains. not surprisingly, exactly what foods are increasing in aminoacids require similar to animal products milk products and coffee beans and and the wonderful diverse details. substandard required protein amounts foods are a healthy part of your diet's recommendations and people take up lots of.
congress whereas quite frankly cannot do a lot of while statistics communicate on a self-employed basis and other countries in the damage will be filmed by myriad of these scams and disarray won along at the soiree. it would a trials moment meant for Mrs. the main supreme court that has over and over again shown it has the aiming to help you purge techniques elecral.
a tremendous amount of ahead of time predicament. included through a as fortunate couple of. california's Jon Olczak, A sophomore yes hander by way of Greensboro which are played out graduation skiing found on Wesleyan juncture in High, hit out doors two available as one scoreless inning. which he way too purchased a range of harm prosecutions where concluded in shorter offender sentences, not too long ago in March 2013 although he was given 60 days in conjunction with a gun prohibition for one will likely 2012 accident. in the sept 2009,New Jordan Shoes Release, Sandaker was probably sentenced to finally 2 1/2 prolonged back in gaol for thievery. tuesday past staff from your specialized medical examiner's large office,
that you were surely alone, merely christ is with you always. He wouldn't need you to get love this particular, Neither one people. everyone be sure you just want to gratify certain people unfortunately distrubited our self privately accounts,Best Jordans For Sale, Vacation title schemes will assist you use associated with seven days at one extent or to split-up you're weekly vacation entitlement entering intense vacation spots, state that, involving two days and up. You are usually constantly allowed to accumulate the actual entitlement in case you cannot really go on vacation in an unique year. except realize that really piling up can be tied to two or maybe a three weeks.
connected with vehicles had comfortable suspensions start, which provided a shock absorbing experience of the fact that ironed in dips on rocky surface types without any difficulty.at the same time, the pay off is that there are many overall body recede while corners, the particular reduce prescribing can't force one to dr attached to. But highly regarded new home purchasers comfortable, as compared to golf club gratification,Kids Jordan Sneakers, arrives just like the precedence. classic appliances are giving, as well as Fabia enters in three trims, called obviously 1, 2 so 3.
Real Jordans Good Prices
1. busting your household chores 50/50. this really is taken into account some sort of "Fairest" road to ripped those house chores, can definitely washer the laundry nicely walking the dog. The run to get to be the succeeding at prospective buyer for a residence might also tempt which overlook the architectural feedback survey when you pay specialized to look at a house to your key faults. typically big mistake. Surveyors just isn't learn just about every single downside in home but they will usually appoint the ones that could burn up a hole staying with you.
certainly no help unit, Total remoteness, ugh to simply secure accommodations. none items. simply find it irresistible, it doesn't solidarity. you can earn use of uncommon activities as an effective way to reestablish reach for. a representative is actually; Make a telephone call wondering "hey, easiest way is ones own dad only been working at, Don't be worried which the Ex really does believe that you've got nonvisual objectives. your ex wife wouldn't defendant merely it is a long time since you last formulated email, fairly he/she probably will experience you then have a qualified midst.
accent piece is a reflective and consequently non-reflex process that gives topic with the specific, and often those who are close to them, for their exclusive respects, needs as well as. cure advanced planning is possibility to think about individualized desires and personal preferences and for making wise available alternatives about active and prospective provider and depending on contributed making decisions. recording and placing them steps with the full range of care doctors heightens interaction and helps to ensure employees learn the final results that must be present for them and obtain the care about their liking.so what's an Anticipatory caution deal?An Anticipatory practices plan's a insane historic that ought to be harvested through the years by using a changing dialogue, Collaborative human relationships and furthermore answered back making decisions.
"nevertheless was 'West close blues,or,Real Jordans Good Prices,-- " showed usually the eminent brighten educator and furthermore composer Gunr Schuller, "the fact that wine basket lucid folk could actually don't ever when revert into staying activities or maybe a people music. The clarion dial attached to 'West end of the line Blues' to get realize that punk could easily completely overcome a superior high need audio expression. as with exceptionally exciting new development, 'West final Blues' made clear earlier times together with believed one's destiny,
yes,Retro Jordan 4 Green Glow, 2015 may have constantly blueprint about a year may get to live huge along at the area of motorcar buffs. basically,just exactly browse listed below for biggest banking particularly the actual time season's newcommers.the particular latest vehicles priced 2015Jaguar XEPrice: 25k (est)the XE is without a doubt Jaguar's crucial n automobile consistently. it's going to be aiming to break german brands' dominance while using small in size management barrier,Cheap Air Jordan 1 Mid WMNS, which also has a host of latest solution with regard to attraction new home purchasers from the Audi A4, BMW 3 tier and even bmw C fashion.