Arbortext Command Language > set Command Options > set printstylesheet
  
set printstylesheet
set printstylesheet= { name | none}
This command specifies the stylesheet to be used in place of the default stylesheet for published output (printing, print preview, and publish to PDF).
name is the path and file name of a FOSI, XSL, or Arbortext Styler stylesheet. If you don't specify an extension for the stylesheet, Arbortext Editor first looks for a .style file, then a .fos file, and finally a .xsl file.
If you specify only the stylesheet's base name, Arbortext Editor first looks for the file in the document directory, and then looks in the document type directory. If you specify a relative path (other than one that just gives the base name), Arbortext Editor looks for the file using the given path relative to the current working directory.
If you are using Arbortext Publishing Engine for publishing, it must be able to locate the stylesheet. If a document references a stylesheet using a URL, that stylesheet can be found by both Arbortext Editor and Arbortext Publishing Engine. Stylesheets that are available on the Arbortext PE server appear in the Stylesheet selection fields preceded by the notation (pe).
When you are using Arbortext Publishing Engine, be aware of the following when setting a value for this option:
If you try to set the location to a local path for any type of published output, you will get an error that the stylesheet is not the name of a stylesheet on the server. The following example produces an error if Arbortext Publishing Engine publishing is enabled:
set printstylesheet=D:\ArbortextUser\axdocbook.fos
If you try to set the location to a stylesheet file name only (no path), Arbortext Publishing Engine looks for a stylesheet with a matching name. The following example would succeed if a stylesheet of the same name exists in a location where the Arbortext PE server looks for stylesheets.
set printstylesheet=axdocbook.fos
If none is specified, or if the set printstylesheet command is not set, then the stylesheet specified by the set stylesheet command is used for published printing and print preview, as well as for the Editor view. Arbortext Publishing Engine looks for a stylesheet with a matching name.
Examples
set printstylesheet=memo2.style
set printstylesheet=~/mydocs/memo/memo2.fos
set printstylesheet=http://www.some_site.com/examples/techman.xsl
Related Topics
set stylesheet command
Stylesheet overview
Configuring stylesheet order in a list
Using the Arbortext Publishing Engine for publishing documents
Opening, referencing, and saving files