2020

Table Of Contents
USING QUARKXPRESS SERVER
facing-page
document, spread 1
consists of the first
page.
layout String
Lets you specify a
layout by name or ID.
The first layout is
Layout 1.
downloadlayoutFont
s
1 | 0 | true | false | yes | no
Lets you specify
whether to download
all fonts used in the
layout and all system
fonts.
downloadImportedP
dfEpsFonts
1 | 0 | true | false | yes | no
Lets you specify
whether to download
all fonts required by
imported PDF and EPS
files.
Response An EPS file.
Alerts
The renderer for this
image type has no
way of rendering the
desired objects.
HTTP Error #406 This alert displays if you submit a
render request with the pages or box parameter.
This Output Style
does not exist.
This alert displays if you specify a nonexistent
output style.
This Output Style
cannot be used with
this render type.
This alert displays if you specify an output style
that is incompatible with this render type.
Logs See “Understanding logging.”
Example, GET URL
http://localhost:8080/eps/sample.qxp?epsformat=
color&epsdata=clean8bit&epspreview=tiff&epsbleed= 0&epstransparent=0
Example, object
model
Request object name: EPSRenderRequest //STEP1: Create the QuarkXPress
Server Request //Context and set the necessary properties
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);
Notes
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
56 | A GUIDE TO QUARKXPRESS SERVER 2020