9.5

Table Of Contents
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
A PostScript file.Response
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
This alert displays if you try to render a a project that contains only blank pages.
requested contains
only blank pages.
HTTP Error #500PostScript printer
mapped to file not
found
This alert displays if the PostScript printer or driver is not set to Print to File.
This alert displays if you specify a nonexistent output style.This Output Style
does not exist.
This alert displays if you specify an output style that is incompatible with this
render type.
This Output Style
cannot be used
with this render
type.
See Understanding loggingLogs
http://localhost:8080/postscript/Sample.qxp
Example, GET
URL
Request object name: PostScriptRenderRequest
// 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();
Boolean responseAsURL = false;
requestCtx.setDocumentName(docName);
// STEP 2(SPECIFIC TO REQUESTS):
// Create the Post Script renderer
// request and embed it in the request context.
PostScriptRenderRequest pscreq =
new PostScriptRenderRequest();
pscreq.setPrintBleed(request.getParameter("PrintBleed"));
pscreq.setPrintPPD(request.getParameter("PrintPPD"));
pscreq.setPages(request.getParameter("Pages"));
68 | A GUIDE TO QUARKXPRESS SERVER 9.5
USING QUARKXPRESS SERVER