2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 179
Getrendererprefs
The getrendererprefs request handler returns the current preference settings for
QuarkXPress Server in XML format.
documents and later.
QuarkXPress 4.0 or 5.0
document.
Incorrect administration realm
user name and password.
HTTP Error #401 This alert
displays if you specify an
invalid administrator user name
and password. What to do: Use
the user name and password set
i
n the QuarkXPress Server
Manager client Server
Configuration dialog box.
Logs See “Understanding logging.”
Example GET URL http://localhost:8080/getprojinfo/sample.qxp
Example, object model
Request object name: GetProjectInfoRequestsdk.QRequestContext
rc = new sdk.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(“”))
rc.documentName =
this.DocumentSettings1.documentName.Text; rc.request = new
GetProjectInfoRequest(); //Create the service and call it with
QRequestContext object RequestServiceService svc = new
RequestServiceService(); QContentData qc =
svc.processRequest(rc);
Notes
The getprojinfo parameter only works with projects saved in
QuarkXPress 6.0 and later.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 getprojinfo
parameter request.
Namespace getrendererprefs
Response
An XML description of QuarkXPress Server renderer preference
settings.
Alerts
Incorrect administration realm
user name and password.
HTTP Error #401 This alert
displays if you specify an
invalid administrator user name
and password. What to do: Use
the user name and password set
in the QuarkXPress Server
Manager client Server
Configuration dialog box.
Logs See “Understanding logging.”
Example GET URL http://localhost:8080/getrendererprefs
Notes
The schema for the returned XML stream can be found at
webapps/ROOT/QuarkXPress Server
Renderer/QXPSRendererPreferences.xsd.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