8.0

Table Of Contents
invalid.
QuarkXPress Server Error #147
This alert is displayed when you try to render a page range
that exceeds the number of pages in the QuarkXPress
project.
What to do: Check the number of pages in the project and
enter a valid page range to render.
No file produced. The
document requested
contains only blank
pages.
HTTP Error #500
This alert is displayed when you try to render a blank
project.
What to do: To generate the PDF of a blank project, select
the menu option QuarkXPress Server > Document
Controls > Output Styles. In the Output Styles dialog
box, select the PDF Output Style and click Edit. In the
Edit PDF Style dialog box, check Include Blank Pages
and click OK. When you submit the PDF request, a blank
page is displayed in the PDF document.
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
the server, size of response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
8/16/2005 15:20:28 - screenpdf/sample.qxp - Type: application/pdf - Size:
2209561 - Client: 127.0.0.1.
If an alert is displayed, a transaction message is written to the QuarkXPress Server
Error Log file. The transaction entry in the error log file 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/2/2005 18:17:44 - Error - Error Code: 10364 - Invalid Parameter Value.
Example GET
URL
http://localhost:8080/screenpdf/sample.qxp?colorimagedownsample=72&colorcomp
ression=0
This URL generates a low-resolution PDF on the screen. The
colorimagedownsample and colorcompression parameters override any settings in
the PDF options in the Preferences dialog box.
Example, Object
Model
Request Object Name :
ScreenPDFRenderRequest
Code Snippet:
//STEP1: Create the QuarkXPress Server Request Context and set the nescessary
properties
sdk.QRequestContext requestCtx = new sdk.QRequestContext();
String docName = request.getParameter("documentName") ;
requestCtx.setDocumentName(docName);
//STEP 2(SPECIFIC TO REQUESTS):Create the QuarkXpress renderer request
and embed it in the request context.
ScreenPDFRenderRequest screenpdfRequest = new ScreenPDFRenderRequest();
screenpdfRequest.setColorImageDownSample(request.getParameter("ColorImageD
ownSample"));
screenpdfRequest.setCompression(request.getParameter("Compression"));
requestCtx.setRequest(screenpdfRequest);
//STEP3: Create the WIG service and call the processRequest() API
Page 80