8.1

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 return modified pictures in the
response or not. If set to false, modified pictures are not
true | false
upadateimage
returned. If set to true, modified pictures are returned. The
default value is true.
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
If the request succeeds, a transaction success message is written to the QuarkXPress Server transaction
log file. This message includes the date, time, request type, project name, response type, response
size in bytes, and client IP address. For example:
Logs
8/3/2005 11:52:59 png/sample.qxp Type: image/png Size: 5454 Client: 127.0.0.1
If an alert is displayed, an error message is written to the QuarkXPress Server Error Log file. The
transaction entry in the error log contains the date and time of the request, the error code, and
the error message. The following is a sample of an error log transaction entry:
8/3/2005 11:27:24 Error Error Code: 10008 The renderer for this image type has no way
of rendering the desired objects.
46 | QXP SERVER 8.1 WEB INTEGRATION GUIDE
USING THE WEB INTERFACE