2020

Table Of Contents
USING QUARKXPRESS SERVER
eps
The eps render type returns an EPS rendering of a page or spread.
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.
Cannot open this
document type.
Please select a
QuarkXPress
document or
template.
HTTP Error #10120This alert displays if you submit
an ave request for a QuarkCopyDesk article.
AVE-Doc for an App
Studio layout is not
supported.
HTTP Error #10545This alert displays if you submit
an ave request with format=avedoc for an App
Studio layout.
Logs See “Understanding logging.”
Example, GET URL http://localhost:8080/ave/sample.qxp? format=avemag&layout=2
Example, object
model
Request object name: AVERenderRequest //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 AVE renderer //request and embed it in the
request context. AVERenderRequest avereq = new AVERenderRequest();
avereq.setAVEData(request.getParameter(“AVEData”));
avereq.setFormat(request.getParameter( “Format”));
avereq.setLayout(request.getParameter( “Layout”));
requestCtx.setRequest(avereq); //STEP3: Create the service and call the
//processRequest() API RequestService service = new RequestServiceStub();
com.quark.qxpsm.QContentData data =
service.processRequest(requestCtx);
Notes The default AVE output style is used.
Namespace EPS
Parameters outputstyle stylename
Lets you specify an
output style. To use a
named output style,
use the name of that
output style. For
example:http://localh
ost:8080/pdf/
sample.qxp?outputsty
le=stylename To use
settings that have
54 | A GUIDE TO QUARKXPRESS SERVER 2020