9.5

Table Of Contents
Boolean responseAsURL = false;
rc.setDocumentName(docName);
// STEP 2(SPECIFIC TO REQUESTS):Create the PNG renderer
// request and embed it in the request context.
PNGRenderRequest pngreq = new PNGRenderRequest();
pngreq.setPNGCompression(request.getParameter(
"PNGCompression"));
pngreq.setLayout(request.getParameter("Layout"));
pngreq.setSpread(request.getParameter("Spread"));
pngreq.setPage(request.getParameter("mPage"));
rc.setRequest(pngreq);
// STEP3: Create the service and
// call the processRequest() API
RequestService service = new RequestServiceStub();
com.quark.qxpsm.QContentData data = service.processRequest(rc);
postscript
The postscript render type returns a PostScript rendering of a project.
PostScript
Namespace
Lets you specify bleed values for a page.Page | asym,
clip<Boolean>,
prntbleed
Parameters
To specify an asymmetric bleed, use the following format:
prntbleed=asym,clip,top,bottom,
left, right
top<float>,
bottom<float>,
left<float>,
The clip value is Boolean (yes/no). The top, bottom, left,
and right values are float values. For example:
http://localhost:8080/
postscript/Sample.qxp?
prntbleed=asym,true,1,2,2,1
right<float> | sym,
clip<Boolean>,
amount<float>
The above example results in an asymmetric bleed of 1 on
the top, 2 on the bottom, 2 on the left, and 1 on the right.
To specify a symmetric bleed, use the following format:
prntbleed=sym,clip,amount
The clip value is Boolean (yes/no). The amount value is a
float value. For example:
http://localhost:8080/
postscript/Sample.qxp?
prntbleed=sym,true,1
The above example results in a symmetric bleed of 1 on all
sides. Default: prntbleed=sym,yes,0
Lets you specify an output style. To use a named output
style, use the name of that output style. For example:
http://localhost:8080/
postscript/
sample.qxp?outputstyle=stylename
stylename,
document
outputstyle
To use settings that have been captured with the Capture
Settings in the QuarkXPress Print dialog box, use
document. For example:
http://localhost:8080/
postscript/
sample.qxp?outputstyle=document
A GUIDE TO QUARKXPRESS SERVER 9.5 | 67
USING QUARKXPRESS SERVER