2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 181
Preflight
Use the preflight request handler to check a project for missing fonts and missing
pictures prior to output. You can also use this request handler to determine if the
platform on which a project was created is different from the platform on which
QuarkXPress Server is running.
The
preflight request handler has been deprecated. Use the evaluate request
handler instead. For more information, see “Evaulate.”
user name and password.
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.
L
ogs
S
ee “Understanding logging.”
Example GET URL http://localhost:8080/jobjacket/myproject.qxp
Example, object model
Request object name:
JobJacketRequestcom.quark.qxpsm.QRequestContext rc = new
com.quark.qxpsm.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(“”))
rc.documentName =
this.DocumentSettings1.documentName.Text; rc.request = new
JobJacketRequest(); //Create the service and call it with
QRequestContext object RequestService svc = new
RequestService(); com.quark.qxpsm.QContentData qc =
svc.processRequest(rc);
Notes
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 getrendererprefs parameter
request.
Namespace preflight
Response
The XML response looks like the following:<?xml version=”1.0”
encoding=”UTF-8” standalone=”no” ?> <PREFLIGHT>
<PLATFORMMISMATCH>TRUE</PLATFORMMISMATCH>
<MISSINGFONT>MidashiGoPro-MB31</MISSINGFONT>
<MISSINGPICTURE>/QuarkXPress Server Documents/images/illus_eps.eps
</MISSINGPICTURE> </PREFLIGHT>
Alerts File not found
HTTP Error #404 QuarkXPress Server Error #–43
This alert displays if you try to delete a file that is
not available to QuarkXPress Server.
Logs See “Understanding logging.”
Example GET URL
To preflight a project in the root
folder:http://localhost:8080/preflight/abc.qxpTo preflight a binary file in a
subfolder:http://localhost:8080/preflight/sub1/abc.qxp
Example, object model
Request object name: PreflightRequest
com.quark.qxpsm.QRequestContext rc = new
com.quark.qxpsm.QRequestContext();