9.5

Table Of Contents
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/pdf/sample.qxp?
outputstyle=mystylename&bleed=symmetric
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.
If you do not specify a PDF output style, the default PDF output style is used.
png
The png render type returns a PNG rendering of a page or spread.
PNG
Namespace
Lets you specify the compression of a PNG response. The valid
values are: 1 (lowest compression), 2 (medium compression),
1 | 2 | 3 | 4
pngcompression
Parameters
3 (high compression), and 4 (highest compression). The default
value is 1.
Lets you specify whether to generate a PNG file that uses
transparency.
true | false
transparentpng
Lets you specify whether to update imported pictures.true | false
upadateimage
Lets you specify whether to update the text flow version of a
project to the current version.
true | false
updateflow
Lets you request multiple boxes.String
boxes
Render modifier
parameters
Lets you specify a single page.Integer
page
Lets you specify a scaling percentage. The valid values are
from .1 (10%) to 8 (800%) on Mac OS or 6.92 (692%) on
Windows.
Float .1 to
6.92 for
Windows .1
to 8 on
Mac OS
scale
Lets you request a single box.String
box
Lets you specify a spread. The first spread is spread 1. In a
facing-page document, spread 1 consists of the first page.
Integer
spread
Lets you specify a layout by name or ID. The first layout is
Layout 1.
String
layout
A PNG file.Response
See Understanding loggingLogs
http://localhost:8080/png/sample.qxp?pngcompression=1
Example, GET
URL
Request object name: PNGRenderRequest
// STEP1: Create the QuarkXPress Server Request
// Context and set the nescessary properties
Example, object
model
com.quark.qxpsm.QRequestContext rc =
new com.quark.qxpsm.QRequestContext();
66 | A GUIDE TO QUARKXPRESS SERVER 9.5
USING QUARKXPRESS SERVER