home *** CD-ROM | disk | FTP | other *** search
- Instructions for !Spool by Andrew Sellors
-
- *****************************************************************************
- * NOTE: *
- * !Spool is FreeWare. *
- * This means that you may freely copy and distribute it, provided that it *
- * is complete with all original files, and that you do not sell it. *
- * PD libraries may charge a nominal fee for the cost of duplication, *
- * postage etc. *
- * In no circumstances shall the author be liable for any damage, loss of *
- * profits, time or data or any indirect or consequential loss rising out of *
- * the use of this software or inability to use this software. *
- *****************************************************************************
-
- Contents:
- ---------
-
- Aims
- Features
- Before you start!
- Compatibility
- Problems
- Operation
- Iconbar menu
- "Spool Configuration" window
- "Sending File" window
- Buffers
- Setting the 3D bit
- Contacting the author
-
- ********************************************************************************
-
- Aims:
- -----
-
- This program spools files in the background in the Desktop to either the serial
- or parallel ports.
-
- ********************************************************************************
-
- Features:
- ---------
-
- Uses 3D bit in CMOS RAM to select 2D or 3D windows _and_ iconsprites on startup.
- (See the "Setting the 3D bit" section if you don't like 2D windows)
-
- Uses Block Drivers so it can use serial ports other than the internal one.
-
- Provides full control over the serial port used.
-
- Can send a sequence of files one after another.
-
- ********************************************************************************
-
- Before you start!:
- ------------------
-
- Before you can use this program you need the Block Drivers by Hugo Fiennes.
- If you don't have them then download them now! or look at your favourite
- PD library.
-
- ********************************************************************************
-
- Compatibility:
- --------------
-
- This program is for RISC OS 3.10 or later.
- It has been tested on both RISC OS 3.10 and RISC OS 3.50 and with the internal
- port using Block Drivers v10a.
-
- ********************************************************************************
-
- Problems:
- ---------
-
- If you have run !Printers and then run !Spool the error "Unable to use parallel
- port: Can't open 'devices#buffer3:$.Parallel'" will be seen and !Spool will not
- be able to use the parallel port. This is because !Printers opens the parallel
- port device for output and does not close it when quitted. The only way to
- enable !Spool to use the parallel port is to reset the machine.
-
- ********************************************************************************
-
- Operation:
- ----------
-
- When the !Spool icon is double-clicked, it installs itself on the left of the
- icon bar with the configured Block Driver loaded. If the !SerialDev application
- that holds the Block Drivers has not been seen by the Filer then an error is
- reported and the program does not start up.
-
- Dragging a file to the icon will cause it to be sent to the selected destination
- and a status window showing the progress displayed.
-
- Dragging a file to the icon when a file is already sending causes it to be
- queued, the total number of files show in the status window will increace.
-
- Dragging a selection of files to the icon will result in all the file being send
- to the selected destination port.
-
- ********************************************************************************
-
- Iconbar menu:
- -------------
-
- +--------------+
- | Spool |
- +--------------+
- | Info ⇨ | ⇨ opens "About this program" window
- | Configure... | Opens "Spool Configuration" window
- | Quit | Quits program.
- +--------------+
-
- ********************************************************************************
-
- "Spool Configuration" window:
- -----------------------------
-
- This allows the serial port, destination of the file and filebuffer size to be
- setup.
-
- Any changes made only take effect when either "Change" or "Save" are selected.
-
-
- "Serial Port" group:
-
- The "Driver Name" pop-up menu allows you to change the Block Driver used.
- When a new driver is selected, the driver is scanned to find the baud rates
- and ports supported, and the relevant menus changed accordingly.
-
- Clicking on "Rescan Drivers" rechecks the available Block Drivers and updates
- the list of drivers for the "Driver Name" menu. This can be used to update
- the list if any drivers have been added since the program was started.
-
- The "Port Number" pop-up menu allows the serial port to be configured as
- some drivers support more than one serial port, the internal driver has only
- one port: 0.
-
- The other menus are fairly self explanatory, these should be set to the same
- as the device that is connected to the serial port.
-
-
- "Destination" group:
-
- This allows the destination of the file to be selected between either the
- serial or parallel ports.
- When !Spool cannot claim the parallel port for use, the icon will be greyed
- out.
-
-
- "Transfer" group:
-
- The "Buffer Size" writeable icon allows the size of the filebuffer to be
- changed. This is the amount of memory that is claimed when a transfer is
- initiated (and released when finished) to be used to buffer the disc access.
- The file being transferred is read in chunks of the buffer size, so a larger
- size will reduce the disc access at the expense of more memory being used
- at transfer time.
-
-
- Clicking on "Change" makes any changes made take effect and removes the window
- from the screen. If adjust is used instead of select then the window is left
- on screen.
-
- Clicking on "Cancel" throws away any changes made and removes the window from
- the screen.
-
- Clicking on "Save" makes any changes made take effect and the saves the
- configuration to disc to be used the next time the program is loaded. If
- adjust is used instead of select then the window is left on screen.
-
- ********************************************************************************
-
- "Sending File" window:
- ----------------------
-
- This window is displayed in the bottom left corner of the screen when a file
- is being sent. It shows the filename of the current file being sent, the amount
- of data transfered so far and the total ammount of data for that particular
- file. It also shows the total number of files in the queue and the number of
- the current file being sent.
-
- The "Abort" icon stops all sending operations.
-
- The "Skip" icon stops the current file from being sent and moves the program on
- to the next file in the queue if there is one.
-
- ********************************************************************************
-
- Buffers:
- --------
-
- Increasing the size of the printer buffer from its default size of 1K will
- improve the speed at which data is sent to the parallel port, and so reduce
- printing time.
-
- The size of the printer buffer is shown by:
- *Status PrinterBufferSize
-
- I recommend a size of at least 16K which is achieved by
- *Configure PrinterBufferSize 16K
-
- Note: This amount is actually allocated in units of pages of memory so
- depending on the type of machine and the amount of memory fitted the value
- actually allocated could be higher.
-
-
- Increacing the size of the serial output buffer also increases the speed at
- which data can be sent to the serial port as the normal buffer is very small,
- only 191 bytes. This can be done by loading a module such as SerialBuff by
- David Pilling.
-
- ********************************************************************************
-
- Setting the 3D bit:
- -------------------
-
- If you want to use the 3D windows in this program (and the handful of others
- that support it) then you need to set the 3D bit in the CMOS RAM. In RISC OS
- there is no *configure command to change it so you can either:
-
- Use !DeskCtrl (another program I have written, well worth getting and
- hopefully released soon on the Acorn User coverdisc)
-
- OR
-
- By cutting out the following BASIC program and running it.
- Note: this program toggles the bit, so if its off and you run it twice then
- it is still off!
-
- 10REM Toggle state of '3D look' bit in CMOS
- 20REM Read byte
- 30SYS "OS_Byte",161,140 TO ,,byte%
- 40REM EOR byte with mask for bit 0
- 50byte% = byte% EOR 1
- 60REM Write byte back again
- 70SYS "OS_Byte",162,140,byte%
- 80END
-
- OR
-
- If you have a RiscPC then it will probably be on, otherwise you will have
- to then turn off "2D window tools" in the "Window Manager" part of
- !Configure.
-
- ********************************************************************************
-
- Contacting the author
- --------------------
-
- I, Andrew Sellors, can be contacted either at
- 57 Boundaries Road
- Feltham
- Middlesex
- TW13 5DR
-
- Or via Internet email at
- k946949@king.ac.uk
-
- Any feedback from users (bugs reports, requests for new features, praise,
- money etc.) is gladly received.
-
-
-
-
-