How to Use Server-side Scripting for Automated PostScript Generation through QuarkXPress Server

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 Use Server-side Scripting for Automated PostScript Generation through QuarkXPress Server

Yes, there is. You can use Javascript to call a PostScript renderer using the following script:

//Generate postscript for the project
requestContext = new QRequestContext();
requestContext.setDocumentName(getAssetName(assetId)'.qxp');
requestContext.setResponseAsURL(false);
var postscriptRenderRequest = new PostScriptRenderRequest();
requestContext.setRequest(postscriptRenderRequest);
contentData = requestProcessor.processRequest(requestContext);

Was this answer helpful?YesNo
Topic Information
  • Topic #: 30026-1786
  • Date Created: 11/20/2012
  • Last Modified Since: 11/20/2012
  • Viewed: 1258
Welcome Guest