The following assembly directives are required to compile the code in this topic. Wordprocessing Getting a WordprocessingDocument Object To open an existing document, instantiate the WordprocessingDocument class as shown in the following using statement.
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 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. This work later evolved and expanded into the Interpress language. At about this time they were visited by Steve Jobswho urged them to adapt PostScript to be used as the language for driving laser printers.
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 sometimes referred to as a RIP for Raster Image Processor for the PostScript language was a common component of laser printers, into the s.
This required high performance microprocessors and ample memory. When the laser printer engines themselves cost over a thousand dollars the added cost of PS was marginal. But as printer document write append script fonts 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.
Byfew 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; PDFa 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[ edit ] The first version of the PostScript language was released to the market in The suffix Level 1 was added when Level 2 was introduced. PostScript Level 2[ edit ] PostScript Level 2 was introduced inand included several improvements: 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 shades of grey rather than the available in PostScript Level 2as well as DeviceN, a color space that allowed the addition of additional ink colors called spot colors into composite color pages.
There were a number of technologies for this task, but most shared the property that the glyphs 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 printers. The characters on these systems were drawn as a series of dots, as defined by a 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 sequences.
These printer control languages varied from printer to printer, requiring program authors to create numerous drivers. Vector graphics printing was left to special-purpose devices, called plotters.
Almost all plotters shared a common command language, HPGLbut were of limited use for anything other than printing graphics. In addition, they tended to be expensive and slow, and thus rare.
PostScript printing[ edit ] 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.Click on A to make all fonts on the page smaller..
Click on A to make all fonts on the page larger.. Click on HC to toggle high contrast mode. When you move your mouse over some bold words in high contrast mode, related words are automatically highlighted.
Appending a stylesheet to the DOM has a number of advantages. Create and manipulate Word documents programmatically using DocX. In a recent post, I extolled the virtues of a wonderful OSS library I had found for working with Excel data programmatically, LinqToExcel.
Like the original, it is published under the Creative Commons.