10.2.1

Table Of Contents
document, spread 1 consists of the
first page.
Lets you specify a layout by name
or ID. The first layout is Layout 1.
String
layout
Lets you specify whether to
download all fonts used in the
layout and all system fonts.
1 | 0 | true |
false | yes | no
downloadlayoutFonts
Lets you specify whether to
download all fonts required by
imported PDF and EPS files.
1 | 0 | true |
false | yes | no
downloadImportedPdfEpsFonts
An EPS file.Response
HTTP Error #406The renderer for this image type has
no way of rendering the desired
objects.
Alerts
This alert displays if you submit a render request
with the pages or box parameter.
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/eps/sample.qxp?epsformat=
color&epsdata=clean8bit&epspreview=tiff&epsbleed=
0&epstransparent=0
Example, GET URL
Request object name: EPSRenderRequest
//STEP1: Create the QuarkXPress Server Request
//Context and set the necessary 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 EPS renderer
//request and embed it in the request context.
EPSRenderRequest epsreq = new EPSRenderRequest();
epsreq.setEPSData(request.getParameter("EPSData"));
epsreq.setEPSFormat(request.getParameter(
"EPSFormat"));
epsreq.setEPSPreview(request.getParameter(
"EPSPreview"));
requestCtx.setRequest(epsreq);
//STEP3: Create the service and call the
//processRequest() API
RequestService service = new RequestServiceStub();
com.quark.qxpsm.QContentData data =
service.processRequest(requestCtx);
You can specify an output style and set additional local parameters of that output style.
For example, if no bleed setting is specified in the output style named "mystylename", you
can specify a bleed setting with a URL like the following:
http://localhost:8080/eps/sample.qxp?
outputstyle=mystylename?bleed=symmetric
Notes
You can override settings in an output style. For example, if an asymmetric bleed is specified
in the output style named "mystylename," you could override it with the same URL.
56 | A GUIDE TO QUARKXPRESS SERVER 10.2.1
USING QUARKXPRESS SERVER