Hack 26 Put Crop Marks on a Page![]() ![]() marks for custom-sized print pieces. This hack shows you how to include these important guides in a Word document.With its improved graphics and typography features, many individuals and small businesses rely on Word as a standalone desktop publishing program, especially as the price of full-featured programs such as InDesign remains high.Word does a fair job of handling layout tasks, but it still operates primarily as a word processor. It also lacks a few features essential for preparing printer-ready documents, such as the ability to insert crop marks.Printers (the trade, not the device) use crop marks when trimming paper to a particular size. Figure 3-50 shows a document with crop marks. These are most often used when the final printed piece will have smaller dimensions than a standard paper size, such as letter. It's much easier and cheaper to print a document using a standard paper size and trim it afterward than to print directly on paper that's unusually sized. Figure 3-50. A PDF of a document that includes crop marks![]() PRINT field, discussed in [Hack #24] . 3.14.1 The Field CodeTo see how a PRINT field can put crop marks on a page, open or create a single-page document. Next, put your cursor anywhere on the page and press Ctrl-F9 to insert an empty field at the insertion point.With your cursor still between the field braces, type the following: PRINT \p page "The PostScript instructions are divided into four main parts, one for each of the four corners of the document where crop marks will be inserted. Each moveto, lineto pair corresponds to one of the eight lines needed for a full set of crop marks (two perpendicular lines in each corner of the document).After you've created the PRINT field, print your document to file [Hack #23] to save it as a PostScript file. If you have a PostScript printer, when you print the document, it will have crop marks like the ones shown in Figure 3-50.
1.25-inch left and right margin. To accommodate different margins, adjust the PostScript instructions accordingly.
3.14.2 Hacking the HackThe PostScript code shown in the previous section works if you're working with Word's default margins, but if you want crop marks on a page with different margins, you need to work out the new coordinates. As much fun as a flashback to high-school geometry might be, it's better to work out the details once and then use a macro to adjust the coordinates for different margins.The following code creates a PRINT field with the correct coordinates based on a document's margins. The field is placed in the header of the section where the cursor is currently located. In most cases, that puts crop marks on every page of the document, though if you've explicitly defined multiple sections with different headers, you may need to adjust the macro to get the desired results.Place these five procedures in the template of your choice [Hack #50] and run the main PlaceCropmarks procedure from the Tools for it on a menu or toolbar [Hack #1] : Sub PlaceCropmarks( )PRINT fields aren't visible in a document unless you've chosen to view field codes. To quickly see all the field codes in a document, press Alt-F9.Dan Mueller and Andrew Savikas |