8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
pages
Returns multiple pages.
Parameters
pages
String (page range)
Specifies the multiple pages to render.
Response
Multiple pages
Alerts
This page range is
invalid
HTTP Error #500
QuarkXPress Server Error #147
This alert is displayed when you try to render a page range
that exceeds the number of pages in the QuarkXPress
project.
What to do: Check the number of pages in the project and
enter a correct page range to render.
The renderer for
this image type has
no way of rendering
the desired objects.
HTTP Error #406
This alert is displayed when you use the pages parameter with
the JPEG, EPS, PNG, or qxpdoc render type.
What to do: Do not use the pages parameter with the JPEG,
EPS, PNG, or qxpdoc render type. These render types do
not support the pages parameter.
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 server, size of response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
8/3/2004 14:04:44 - pdf/2000.qxp - Type: application/pdf - Size: 13271 - Client:
127.0.0.1
If an alert is dispayed, an error message is written to the QuarkXPress Server
Error Log file. The transaction entry in the error log 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/3/2005 14:01:44 - Error - Error Code: 147 - This page range is invalid.
Example GET
URL
http://localhost:8080/pdf/sample.qxp?pages=2-4
Notes
To render pages placed in other layouts
The following is a URL to render pages placed in a layout other than layout
1:
http://localhost:8080/pdf/sample.qxp?layout=2&pages=2,3
This request renders page 2 and page 3, which exist in layout 2.
The pdf and PostScript render types support the Pages
parameter.
Page 110