2017

Table Of Contents
USING QUARKXPRESS SERVER
70 | A Guide to QuarkXPress Server 2017
postscript
The postscript render type returns a PostScript rendering of a project.
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();
c
om.quark.qxpsm.QContentData data = service.processRequest(rc);
Namespace PostScript
Parameters prntbleed
Page | asym,
clip<Boolean>,
top<float>,
bottom<float>,
left<float>, right<float>
| sym, clip<Boolean>,
amount<float>
Lets you specify bleed
values for a page.To
specify an asymmetric
bleed, use the following
format:prntbleed=asym
,clip,top,bottom, left,
rightThe clip value is
Boolean (yes/no). The
top, bottom, left, and
right values are float
values. For
example:http://localhos
t:8080/
postscript/Sample.qxp?
prntbleed=asym,true,1,
2,2,1 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,c
lip,amount The clip
value is Boolean
(yes/no). The amount
value is a float value.
For
example:http://localhos
t:8080/
postscript/Sample.qxp?
prntbleed=sym,true,1
The above example
results in a symmetric
bleed of 1 on all sides.