SwiftView Version 5.2 Release Notes 6/27/2000 Summary of New SwiftView features: Windows SwiftView now has new installers that include the following features: - Standalone Swiftview is registered to be invoked by clicking on files in Windows Explorer. - SwiftView can be deinstalled from the Windows Control Panel and a web site page will soon be provided as well. web site page. All SwiftView packages are removed on a deinstall. - SwiftView appears on the Start menu. - All SwiftView files are installed in c:\Program Files\SwiftView (except the plug-in DLL). - A small downloadable "shell install" is available that registers your LAN-licensed SwiftView on the workstation. - Standalone and browser-based native language translation files are selected automatically based on the current Windows locale. This installer permits building custom installations, including installing custom font files, button icons, native language translations, and registered file suffixes and MIME types. The "bird" icon in the toolbar can now be replaced from a bitmap file, the same as button icons. We can assist you to create custom SwiftView installation packages with your own logos and button icons. Paging backward in large documents is now as fast as paging forward. Formerly, paging backward was quite slow. Stamped files may now contain ICS commands. This enables configurations or markups specific to your documents to be carried everywhere with those documents. Note that in controls, the commands are processed at the same time as ICS document files, so they may not be processed until after the first page is drawn and pages are counted. Stamps in files are always processed, regardless of other licensing, so ICS commands and stamp info are made available. SwiftView now supports document files that are zipped, then stamped, just as the plug-in and ActiveX do. 'Fast printing' and 'direct printing' now support both Novell NDS and HP JetDirect connected printers enabling mixed paper size printing and other features as noted below. 'Fast printing' of PCL files passes through the original PCL's page size, duplexing and paper tray selections as it did before. Those PCL selections may also now be passed through Windows printer drivers which support them. Pass-through of these selections from the original PCL file is enabled by default for 'fast printing' and disabled by default when printing through Windows printer drivers. The 'pass through' setting can be controlled with a new ICS command. MS Windows 'fast printing', 'Direct Printing' and printing via ICS commands now accept printer "friendly" names. This is the name on the settings->printers dialog menu. The old Windows triplet are still also supported. For example both ICS commands below are legal (of course the printer names would be different on your system): printer number 20 type MS_WIN command none alias "Optra,winspool,LPT1" printer number 20 type MS_WIN command none alias "Optra" Single-copy standalone SwiftView can now be node-locked, using a license file in c:\Program Files\SwiftView. The license is locked to a hostname or IP address in the manner of SwiftStamp. SwiftView now supports remote text searching services. Read http://www.swiftview.com/new/svpod_over.zhp for more information on the new "Pages On Demand" product coming soon that will use this mechanism. To support this feature, the select/search drect commands have been added. UNIX SwiftView Netscape Plug-ins can now access http://, https://, and ftp:// documents referenced by ldoc or "onpage use" command. This makes SwiftView's 'virtual document' technology available to UNIX users for the first time. A new, fancier message box with a scrollable multiline message with selectable text has been added. Windows SwiftView now can forcibly take all MIME and suffix registrations, using the command "sview.exe -frcreg". Unlike -reg, it takes over the default action (e.g. file double-click) from other apps. This allows you to use SwiftView with .tif files on win98 systems (where initially .tif is taken by Wang). It also allows cleaning up damaged registrations by doing a -frcreg, then a -delreg. You can now force all HPGL pens black. Some HPGL files use white pens which are invisible on SwiftView's standard white background. This feature can also improve print quality for some colors that look faint when printed in monochrome. Browser-based SwiftView now supports operation with authenticated websites ("basic http authentication" - entry of username/password). Illegal TIFF files written by Myriad are now supported. Major Bug Fixes: Flickering scrollbar under 256 color display with browser-based SwiftView. Web License can randomly fail to be detected. Stamped file license not checked if attached to email. SwiftView ActiveX registers IE instead of the default browser for file suffixes. IE/SAX hung when pressing browser 'reload' button. Unix programs were not obeying the $TMPDIR variable - were always using /tmp. Known New Problems: Support for SwiftView plug-in/ActiveX in Netscape Navigator or Communicator prior to version 4.06 or Internet Explorer prior to 4.0 has been discontinued. Support for the plug-in with Internet Explorer has been discontinued. In theory, the plug-in and ActiveX should still work with older browsers, however compatibility is no longer being verified. Edge-to-edge printing may not work correctly with some PCL files. A workaround is possible. Print to file on NT does not ask the user for a filename, instead writing a file called "FILE:". Tab characters in PCL files are not correctly handled. Most PCL files do not use tab characters. Page counting is very slow in big zipped PCL files. pcl pagesize causes a crash unless a file is ldoced first. Multiple reuse of one macro id was failing. Details of New SwiftView features: New commands: gui logoicon ||default Replace the "bird" logo icon with the specified built-in button icon or file (see the gui button command for file access requirements). "default" restores the bird. The same icon is used for both horizontal and vertical control bars, and is clipped to 30 x 112 pixels and centered on the 30 x 112 button. The file must be an absolute path, else in $NDGUTIL if it is set, else in the SwiftView program directory (new rules that also apply to button icon files). Add note: button icons are clipped to 20x20 pixels. gui dialog scrollmessage message string label string title string xpos n ypos n height n width n This command presents a more elaborate message box than the simple gui dialog message command. It has a scrollable, selectable multiline message and a multiline label. message is the text that appears in the scrolled window. Text will wrap automatically when extending beyond the window width. Include an escaped newline character to force a line break, or two escaped newlines to insert a blank line. To insert a newline, you must use the "\^^" escape sequence required in gui commands. (Gui commands are parsed twice, so two '^'s are required if the command appears in a normal setting, three if the command is parsed multiple times e.g. in a markup command setting.) label is text that appears in a nonscrollable field above the scrolled window. Labels do not line-wrap; to make a multiline label, split lines with an escaped newline character. title sets the dialog title bar text, which is clipped if too long. xpos, ypos specifies the initial location in pixels of the top left dialog corner, relative to the application main window. The default is 10,10. height and width are the height and width in characters of the scrolled window. The dialog will be sized to accommodate this size plus the label text. If no size is specified, the default scrolled window size is a little less than half the width of the parent window, and approximately the same height as width. select rrect x0 y0 x1 y1 [rect y/n] search rrect x0 y0 x1 y1 [rect y/n] Select/search rrect is similar to select/search drect, except the coordinates are drawing coordinates. The rect option determines whether the selection rectangle is drawn (default y for select, n for search). Note that search drect/rrect, like all search commands, never highlights the text in the rectangle. select/search drect also has the rect option: select drect x0 y0 x1 y1 [rect y/n] search drect x0 y0 x1 y1 [rect y/n] gui dialog error and gui dialog message are now implemented on Unix. set urlproxy on/off Default off. If on, http://, https://, and ftp:// access is done by sending an SVC:GUI:clientmessage proxyurl callback to the client application and blocking until the client replies with a "proxyfile" command. The callback is: SVC:GUI:clientmessage proxyurl reload "" SVC:GUI:clientmessage proxyurl cache "" This callback is sent to request that the client download a URL on behalf of SwiftView. Reload is given if a reload from the server is required (no effect on Unix), else cache which means "from cache is OK". The client must reply with a "proxyfile" command giving the name of the file in cache to open or an error. proxyfile file fn proxyfile cachefile fn proxyfile error str proxyfile nofile str These commands are normally only sent by SwiftView controls in response to a clientmessage proxyurl callback that is sent by an sview with set urlproxy on. proxyfile file|cachefile tells SwiftView to open and read the local file fn. When SwiftView is done with a "proxyfile file fn", it removes it. "proxyfile cachefile fn" indicates that fn should not be removed. "proxyfile error" is sent if the file could not be downloaded, "proxyfile nofile" if it does not exist. str is an error message for sview to display, or the client may display error messages itself and send an empty str argument (""). fn and str may be quoted, appended pipe-separated commands are not supported. hpgl allpenblack on|off This can be used to force all HPGL pens black no matter what the setting in the file. This is needed to display HPGL files which explicitly use white pens, or when printing files with light-colored pens to monochrome devices. pcl passduplex on/off pcl passtray on/off pcl passpapersize on/off These commands control pass through of duplexing, tray and paper size selections from the original PCL file. If these commands are not used, the default settings are 'on' for 'fast printing' and 'off' when printing through Windows printer drivers. That approach minimizes changes in current use. These commands always override those defaults for both printing mechanisms. Revised Native Language Translation File Selection With release 5.2, native language translation files are selected automatically based on the current Windows locale setting (Control Panel, Regional Settings). All Windows controls load a file specified by "plugintrans=" in the sview.ini file, else if this variable is not set, a file in the SwiftView program directory (normally c:\Program Files\SwiftView), else a file in $PATH. Except for plugintrans=, the file is named "npsview_.tra", else "npsview_.tra", else "npsview.tra". is the current Windows system locale setting, according to the system call setlocale(LC_CTYPE, NULL), e.g. "French_France.1252". is the language portion of the locale, i.e. the locale string without the portions beginning with underscore or period, e.g. "French". This allows installation of a single file for all countries and code pages defined for a given language. To ease identification of the current locale setting, the F12 key pops a dialog (ICS command gui dialog locale) that displays the locale string.