10.1

Table Of Contents
if( strLowResolution !=null &&
strLowResolution.equals("True"))
pdfreq.setLowResolution("true");
requestCtx.setRequest(pdfreq);
// STEP3: Create the service and
// call the processRequest() API
RequestService service = new RequestServiceStub();
com.quark.qxpsm.QContentData data =
service.processRequest(requestCtx);
For more information about the object model, see the samples.
There are three ways to generate PDF files with QuarkXPress Server. You can generate a PDF file
in QuarkXPress Server and return it to the end user, generate the PDF in QuarkXPress server
Notes
and save it to a folder on the server computer, or generate a PostScript file for later distilling
and save it to a folder on the server computer. To choose one of these output methods in
QuarkXPress Server, choose Administration > Preferences > Renderer > PDF) and then click
DirectPDF, PDFtoFolder, or PS4D (PostScript for Later Distilling). If you choose either of the
last two options, click Browse and navigate to the target folder, then choose an option from
the Default Name drop-down menu.
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. The default PD
output style is Screen - Low Quality/Low Resolution.
You can still obtain a high resolution PDF by specifying the output style. Output style names
are case-sensitive and should be precise.
The following will return a list of output styles from the server:
http://<server><port>/getserverinfo
<OUTPUTSTYLES>
<OUTPUTSTYLE TYPE = "PDF">Default PDF Output Style</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "PDF">Press - High Quality/High
Resolution</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "PDF">Print - Medium Quality/Medium
Resolution</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "PDF">Screen - Medium Quality/Low
Resolution</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "PDF">Screen - Low Quality/Low Resolution</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "PDF">PDF/X-3:2002</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "PDF">PDF/X-1a:2001</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "Print">Default Print Output Style</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "EPS">Default EPS Output Style</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "ePub">Default ePub Output Style</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "Kindle">Default Kindle Output Style</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "PDF">Default PDF For AVE</OUTPUTSTYLE>
<OUTPUTSTYLE TYPE = "AVE">Default AVE Output Style</OUTPUTSTYLE>
</OUTPUTSTYLES >
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
1 | 2 | 3 | 4
pngcompression
Parameters
compression), 3 (high compression), and 4 (highest
compression). The default value is 1.
64 | A GUIDE TO QUARKXPRESS SERVER 10.1
USING QUARKXPRESS SERVER