8.0

Table Of Contents
spread
Specifies which spread to render.
Parameters
spread
integer
Specifies the spread number to render.
Spread numbers start with 1. Spread
number 1 refers to the first spread in the
project.
Response
Preview of a project in a spread format.
Alerts
The requested
spread does not
exist
HTTP Error #500
This alert is displayed when you use an invalid spread value.
What to do: Enter a valid spread value.
Logs
If the project is successfully rendered, a transaction success message is written to
the QuarkXPress Server Transaction Log file. The transaction entry consists of the
date and time of the request, render type, project name, type of response
produced by the server, size of response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
8/3/2004 15:19:04 - sample.qxp - Type: image/jpeg - Size: 1647112 - Client:
127.0.0.1
If an alert is displayed, a transaction error message is written to the QuarkXPress
Server Error Log file. The transaction entry in the error log file contains the date
and time of the request, the error code, and the error message.
The following is a sample of an error log transaction entry:
8/5/2005 9:43:02 - Error - Error Code: 10072 - The requested spread does not
exist.
Example GET
URL
http://localhost:8080/png/sample.qxp?spread=2
Example, Object
Model
Creating a new Spread: You can add a new spread to an existing layout of a
QuarkXPress project using the following code snippet with the Page object
Spread spread = new Spread();
spread.UID = "5";
spread.operation = "CREATE";
layout.spread = new Spread[]{spread};
Spread is linked to Layout, which is further linked with
ModifierRequestContents
An existing spread can be deleted by providing the ID for the spread and
the operation attribute as “DELETE”
Notes
The JPEG, PNG, PDF, PostScript, and EPS render types support the spread
parameter.
Page 112