ICS # The first line in the file must be "ICS" - even before any comments # This line allows SwiftView to allow markup by directory, see http://www.swiftview.com/cooldemos/by_dir_markup.htm # Commented this out because of a flicker problem with the SwiftView installer. # set ldocinit "set nofileerror n|ldoc \"\$docdir()config.ics\"|set nofileerror y|rotate 0|scale default" # Makes configuration by directory possible-- # SwiftView looks for a file called config.ics in the directory # where a document resides and applies those commands. ### set pen colors for HPGL documents hpgl pen 1 red 255 green 0 blue 0 width normal hpgl pen 2 red 0 green 0 blue 255 width normal hpgl pen 3 red 0 green 255 blue 0 width normal hpgl pen 4 red 255 green 0 blue 255 width normal ### We have commented out all ICS commands below with a single '#' ### so they don't actually reconfigure anything. All ### explanations start with '### ' and should not be touched. ### Move button bar to top of plug-in window #gui controls display topbuttons ### Display both text and icons on toolbar #gui controls style both ### Add markup to every document printed from plug-in. These ### markups are placed at the same place relative to the paper ### no matter what is printed. 0x5e must be used to represent ### the '^' character because this command is reapplied every ### time a document is loaded. #set ldocinit "set quotechar 0x5e | onpage all markup attributes coordinates device xorigin 1 yorigin 1|onpage all markup attributes display no |onpage all markup text rxloc .5 ryloc .5 string ^UNCONTROLLED COPY PRINTED $strftime(%X %x )^" ### Add button to allow printing of currently viewed area on ### default Windows printer #gui button label "Print View" icon "print" info "Print current view" comma