9.5

Table Of Contents
Lets you specify whether to include blank plates.yes | no
produceblankplates
Lets you specify whether to update imported
pictures.
true | false
updateimage
Lets you specify whether to update the text flow
version of a project to the current version.
true | false
updateflow
Lets you specify a single page.Integer
page
Render
modifier
parameters
Lets you specify a range of pages.String (page range)
pages
Lets you specify a spread. The first spread is spread
1. In a facing-page document, spread 1 consists
of the first page.
Integer
spread
Lets you specify a layout by name or ID. The first
layout is Layout 1.
String
layout
Lets you specify that the output use spreads.Boolean (1 | 0 | true
| false | yes | no)
spreads
A screen-resolution PDF fileResponse
HTTP Error #500This page range is invalid.Alerts
QuarkXPress Server Error #147
This alert displays if you try to render an invalid page range.
HTTP Error #500No file produced. The
document requested contains
only blank pages.
This alert displays if you try to render a a project that contains only
blank pages.
See Understanding loggingLogs
http://localhost:8080/screenpdf/sample.qxp?
colorimagedownsample=72&colorcompression=0
Example, GET
URL
Request object name: ScreenPDFRenderRequest
// STEP1: Create the QuarkXPress Server Request Context
// and set the nescessary properties
Example,
object model
com.quark.qxpsm.QRequestContext requestCtx =
new com.quark.qxpsm.QRequestContext();
String docName = request.getParameter("documentName") ;
requestCtx.setDocumentName(docName);
// STEP 2(SPECIFIC TO REQUESTS):
// Create the QuarkXPress renderer
// request and embed it in the request context.
ScreenPDFRenderRequest screenpdfRequest = new
ScreenPDFRenderRequest();
screenpdfRequest.setColorImageDownSample(
request.getParameter("ColorImageDownSample"));
screenpdfRequest.setCompression(request.getParameter(
"Compression"));
requestCtx.setRequest(screenpdfRequest);
// STEP3: Create the service and
// call the processRequest() API
RequestService service = new RequestServiceStub();
74 | A GUIDE TO QUARKXPRESS SERVER 9.5
USING QUARKXPRESS SERVER