axf:printer-marks
(Auszug aus "XSL-FO ― Die Referenz" von Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Category Printer Marks
Specifies the Printing marks, such as a crop mark. Specifies the action of external link. [CSS3-GCPM] Page marks and bleed area[no-LT]
Value: | [ crop || cross || <uri-specification> [<uri-specification>]* ] | none |
Initial: | none |
Applies to: | fo:simple-page-master / CSS @page |
Inherited: | no |
Percentages: | N/A |
Values have the following meanings.
crop | Outputs crop marks. |
cross | Outputs cross marks, registration marks. |
<uri-specification> | Original printer marks, color bars, etc. can be outputted by specifying images, such as SVG. 2 or more URIs can be specified. |
Crop marks becomes what unites the inner printer marks (crop marks) and the outside printer marks (bleed marks) when there is specification of axf:bleed.
This property is not available with AH Formatter V6.3 Lite.
XSL-FO sample:
| <fo:root xml:lang="en" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:cpfo="http://www.compart.net/xmlns/cpfo" xmlns:svg="http://www.w3.org/2000/svg" xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"> | |
| ||
| ||
| ||
| <fo:simple-page-master page-height="257mm" page-width="182mm" margin-top="10mm" margin-left="10mm" margin-right="10mm" margin-bottom="10mm" master-name="PageMaster1" axf:printer-marks="crop cross url(img/colorbar.svg)" axf:printer-marks-line-width="0.25pt" axf:crop-offset="20mm 14mm 20mm 14mm" axf:bleed="4mm"> | |
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| Antenna House, Inc. | |
| ||
| </fo:block> | |
| ||
| ||
| ||
| ||
| Printer Marks | |
| </fo:block> | |
| </fo:block> | |
| ||
| Printer marks can be drawn in AH Formatter. With axf:crop-offset, specify a physical distance from the edge of a paper to the finishing position. With axf:bleed, specify the bleed region width for bleeding. In this example, printer marks are positioned under assumption with a finished dimension of B5 (182mm × 257mm) and A4 (210mm x 297mm) as a printing paper. | |
| </fo:block> | |
| </fo:flow> | |
| ||
| </fo:root> |
Output:
Tipp der data2type-Redaktion: Zum Thema XSL-FO bieten wir auch folgende Schulungen zur Vertiefung und professionellen Fortbildung an: |