2017

Table Of Contents
USING QUARKXPRESS SERVER
178 | A Guide to QuarkXPress Server 2017
Getprocessid
The getprocessid request handler returns the process IDs of the master
QuarkXPress Server instance and of all subrender processes running on the
computer.
Getprojinfo
The getprojinfo request handler returns XML information about a QuarkXPress
project that is in the document pool or has been supplied as part of a multipart
HTTP request. The returned information identifies the operating system, the version
of QuarkXPress in which the project was created, the size of the project, the page
properties for the project’s layouts, and information about named boxes and
synchronized text.
Example GET URL http://localhost:8080/getprefs
E
xample, object model
// Create the service and call getPreferences method
RequestService requestService = new RequestServiceStub();
Preferences preferences= requestService.getPreferences(“[host]”,
[port], “[username]”, “[port]”);
Notes
The getprefs request handler returns preference settings for server
configuration and Status Monitor. It does not return other
p
reference settings, such as the settings for Deconstruct and PDF
workflow.If a user name and password have been set in the Server
Configuration dialog box, the browser requests that user name
and password when you submit a getprefs parameter request.
Namespace getprocessid
Response
An XML description of the process IDs of the master QuarkXPress
Server instance and of all subrender processes running on the
computer. For example:<PROCESSID> <MASTER> <ID>3936</ID>
<STATUS>BUSY</STATUS> </MASTER> <SUBRENDERERS>
<SUBRENDERER> <ID>1736</ID> <STATUS>BUSY</STATUS>
</SUBRENDERER> </SUBRENDERERS> </PROCESSID>
Example GET URL http://localhost:8080/getprocessid
Namespace getprojinfo
Response
The XML response looks like the following:<? xml version=”1.0”
encoding=”UTF-8” ?> <PROJINFO>
<PLATFORM>WINDOWS</PLATFORM>
<VERSION>6.0</VERSION> <NAME>Sample.qxp</NAME>
<SIZE>1519616 Bytes</SIZE> <SYNCHRONIZED/> <LAYOUT>
<NAME>Layout 1</NAME> <TYPE>Print</TYPE>
<PAGES>4</PAGES> <PAGEPROPERTIES>
<WIDTH>432</WIDTH> <LENGTH>756</LENGTH>
</PAGEPROPERTIES> <NAMEDBOX> <BOX>box2</BOX>
<BOX>box1</BOX> </NAMEDBOX> </LAYOUT>
</PROJINFO>
Alerts
The getprojinfo command can
only be used for QuarkXPress 6
HTTP Error #500 This alert
displays if you specify a