8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
Response
A QuarkXPress project previewed in EPS format.
Alerts
The renderer for this
image type has no way
of rendering the
desired objects.
HTTP Error #406
This alert is displayed when you submit a render request with
the pages or box parameter.
What to do: Do not use the pages or box parameter with an
EPS render type. It does not support these parameters.
This Output Style does
not exist.
This alert is displayed when you specify a non-existent output
style.
This Output Style
cannot be used with
this render type.
This alert is displayed when you specify an output style that
does not conform to the render type.
Logs
If the project is successfully rendered, a transaction success message is written to the
QuarkXPress Server Transaction Log file. The transaction entry consists of the date
and time of the request, render type, project name, type of response produced by
server, size of response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
8/3/2005 10:03:30 - eps/sample.qxp - Type: application/postscript - Size: 2654464
- Client: 127.0.0.1
If any alert is displayed, an error message is written to the QuarkXPress Server
Error Log file. The transaction entry in an error log contains the date and time of the
request, the error code, and the error message.
The following is a sample of an error log transaction entry:
8/3/2005 11:27:24 - Error - Error Code: 10008 - The renderer for this image type
has no way of rendering the desired objects.
Example GET
URL
http://localhost:8080/eps/sample.qxp?epsformat=color&epsdata=clean8bit&epsprev
iew=tiff&epsbleed=0&epstransparent=0
QuarkXPress
Server Manager
Object Model
Request Object Name : EPSRenderRequest
Code Snippet :
//STEP1: Create the QuarkXPress Server Request Context and set the necessary
properties
sdk.QRequestContext requestCtx = new sdk.QRequestContext();
boolean responseAsURL = false;
requestCtx.setDocumentName(docName);
//STEP 2(SPECIFIC TO REQUESTS):Create the EPS renderer request and
embed it in the request context.
EPSRenderRequest epsreq = new EPSRenderRequest();
epsreq.setEPSData(request.getParameter("EPSData"));
epsreq.setEPSFormat(request.getParameter("EPSFormat"));
epsreq.setEPSPreview(request.getParameter("EPSPreview"));
requestCtx.setRequest(epsreq);
//STEP3: Create the WIG service and call the processRequest() API
QManagerSDKSvcServiceLocator serviceLocator = new
QManagerSDKSvcServiceLocator();
QManagerSDKSvc service = serviceLocator.getqxpsmsdk();
sdk.QContentData data = service.processRequest(requestCtx);
Please refer to the samples for further details on the use of the WIG object model.
Notes
To generate an EPS image without using the EPS namespace
Page 51