2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 95
scale
The scale render modifier lets you specify the scale at which content is rendered.
spread
The spread render modifier lets you render a single spread.
spreads
The spreads render modifier lets you render layouts in spreads mode, so that pages
in spreads are rendered side-by-side rather than as individual pages.
Notes
To render pages in a particular layout, use a URL like the
following:http://localhost:8080/pdf/sample.qxp?layout=2&pages=2,3
Parameters scale Float
Lets you specify a
scaling percentage. The
valid values are from .1
(10%) to 8 (800%) on
M
ac OS or 6.92 (692%)
on Windows.
Compatible with eps, jpeg, png, raw
Alerts Invalid scale parameter.
HTTP Error #500 This alert displays if an invalid
scale value is provided. What to do: Enter a valid
scale value.
Logs See “Understanding logging.”
Example, GET URL http://localhost:8080/png/sample.qxp?scale=2
Parameters spread Integer
Lets you specify which
spread to render. Spread
numbers start with 1.
The first spread is
spread 1. In a facing-
page document, spread
1 consists of the first
page.
Compatible with eps, jpeg, png, postscript, raw, pdf, screenpdf
Alerts
The requested spread
does not exist.
HTTP Error #500 This alert displays if you specify
an invalid spread.
Logs See “Understanding logging.”
Example, GET URL http://localhost:8080/png/sample.qxp?spread=2
Example, Object Model
To add a spread to a project, use code like the following:Spread spread =
new Spread(); spread.UID = “5”; spread.operation = “CREATE”;
layout.spread = new Spread[]{spread};Spread is located at the following
place in the object hierarchy:ModifierRequest < Project < Layout <
SpreadTo delete a spread, set its operation attribute to “DELETE”.
Parameters spreads
Boolean (1 | 0 | true |
false | yes | no)
Lets you specify
whether to render