2017

Table Of Contents
USING QUARKXPRESS SERVER
68 | A Guide to QuarkXPress Server 2017
png
The png render type returns a PNG rendering of a page or spread.
= service.processRequest(requestCtx); For more information about the
object model, see the samples.
Notes
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 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
m
ethods 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 >
Namespace PNG
Parameters pngcompression 1 | 2 | 3 | 4
Lets you specify the
compression of a PNG
response. The valid