| >!Boot
|
| Copyright 2005-2023, Stephen Fryatt (info@stevefryatt.org.uk)
|
| This file is part of PrintPDF:
|
|   http://www.stevefryatt.org.uk/risc-os/
|
| Licensed under the EUPL, Version 1.2 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 PrintPDF$Help <Obey$Dir>.!Help
Set PrintPDF$Version "1.20"
Set PrintPDF$Web "http://www.stevefryatt.org.uk/risc-os/printpdf/"
Set PrintPDF$Title "PrintPDF"
Set PrintPDF$Publisher "Stephen Fryatt"
Set PrintPDF$Description "PostScript to PDF Conversion"

If "<PrintPDF$Dir>"="" Then Set PrintPDF$Dir <Obey$Dir>

| Set the filetype information.

Set File$Type_1D8 PrintPDF

| Claim PrintPDF files if these have not been claimed already.

If "<Alias$@RunType_1D8>" = "" Then Set Alias$@RunType_1D8 Run <PrintPDF$Dir>.!Run -file %%*0

| Set the application sprites.

Set PrintPDF$Sprites <PrintPDF$Dir>.!Sprites
If "<Boot$OSVersion>" >= "400" Then Set PrintPDF$Sprites <PrintPDF$Dir>.4Sprites
If "<Boot$OSVersion>" >= "500" Then Set PrintPDF$Sprites <PrintPDF$Dir>.5Sprites
If "<Boot$OSVersion>" >= "600" Then Set PrintPDF$Sprites <PrintPDF$Dir>.4Sprites

IconSprites <PrintPDF$Sprites>

Unset PrintPDF$Sprites
