How to Call a PostScript Renderer in QuarkXPress Server Using Server-side Scripting

Our Technical Support Portal has changed as we have moved to a new platform. Please visit support.quark.com to access your support tickets or to log a new ticket with us. All our existing customers should look for an email from support@quark.com for activation of their New Support Account. If you face any difficulty in accessing the new portal, please write to us at support@quark.com

How to Call a PostScript Renderer in QuarkXPress Server Using Server-side Scripting

To calla PostScript Renderer in QuarkXPress Server using server-side scripts, the following method can be used:

  1. //Generate postscript for the project
  2. requestContext = new QRequestContext();
  3. requestContext.setDocumentName(getAssetName(assetId)'.qxp');
  4. requestContext.setResponseAsURL(false);
  5. var postscriptRenderRequest = new PostScriptRenderRequest();
  6. requestContext.setRequest(postscriptRenderRequest);
  7. contentData = requestProcessor.processRequest(requestContext);
Was this answer helpful?YesNo
Topic Information
  • Topic #: 30026-1788
  • Date Created: 11/20/2012
  • Last Modified Since: 11/20/2012
  • Viewed: 1167
Welcome Guest