| >!Run
|
| Copyright 2016, Stephen Fryatt
|
| This file is part of PS2Paper:
|
|   http://www.stevefryatt.org.uk/software/
|
| Licensed under the EUPL, Version 1.1 only (the "Licence");
| You may not use this work except in compliance with the
| Licence.
|
| You may obtain a copy of the Licence at:
|
|   http://joinup.ec.europa.eu/software/page/eupl
|
| Unless required by applicable law or agreed to in
| writing, software distributed under the Licence is
| distributed on an "AS IS" basis, WITHOUT WARRANTIES
| OR CONDITIONS OF ANY KIND, either express or implied.
|
| See the Licence for the specific language governing
| permissions and limitations under the Licence.

Set PS2Paper$Dir <Obey$Dir>

IconSprites <PS2Paper$Dir>.!Sprites

| Ensure the Nested Wimp is installed.

RMEnsure WindowManager 3.98 Error PS2Paper requires the Nested Window Manager.

| Ensure that the Castle Shared C Library is present, with C99 support.

RMEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
RMEnsure SharedCLibrary 5.43 Error PS2Paper requires version 5.43 or later of the Shared C Library.

WimpSlot -min 256k -max 256k

Run <PS2Paper$Dir>.!RunImage %*0
