AminetAminet
Search:
84721 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/print/scaleps.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Scale IBrowse postscript printouts
Author:Cary Driscoll (cary.here at att.net)
Uploader:Cary Driscoll (cary here att net)
Type:text/print
Version:1.6
Replaces:text/print/ScalePS.lha
Requires:Arexx and AFPL Ghostscript 8.50
Architecture:m68k-amigaos
Date:2005-07-10
Download:http://aminet.net/text/print/scaleps.lha - View contents
Readme:http://aminet.net/text/print/scaleps.readme
Downloads:521

This script will produce a second postscript file with the output
from IBrowse scaled down to fit your laser printer's paper size.
It's probably only of use to people who have postscript laser
printers.

This script requires AFPL Ghostscript 8.50, available from:
http://www.whoosh777.pwp.blueyonder.co.uk/

BEFORE YOU RUN THE SCRIPT:

Make sure you edit the following line near the end of the script:

   ADDRESS COMMAND 'echo >>T:Tmp' '"GS850:bin/gs -sDEVICE=pdfwrite
-dPDFSETTINGS=/printer -dDEVICEWIDTHPOINTS=918 -dDEVICEHEIGHTPOINTS=1188 -q
-dBATCH -dNOPAUSE -sOutputFile=T:temp.pdf $InFile"'


You need to change the point sizes for the following two parameters:
  "-dDEVICEWIDTHPOINTS=918" and "-dDEVICEHEIGHTPOINTS=1188"

In my "Postscript Printer Preferences" I have the "Paper Format"
set to "Custom", and my "Paper Width" and "Paper Height" are set
to 12.75 inches and 16.50 inches respectively. Thus, at 72 points
per inch I end up with the two values above of 918 and 1188.

You will need to calculate the point size values based on your own
workbench PS prefs and edit this script accordingly.

The script also assumes that GS8.50's executible is located at
"GS850:bin/gs". If this is not the case with your Ghostscript
installation you will need to edit this portion of the script
as well.

New to version 1.5 is a switch for controlling the postscript level
of the output. "-dLanguageLevel=2" sets the postscript level to 2.
You can also use values of 1, 1.5, or 3, but 3 currently produces
the same output as level 2 with GS8. Try different levels if level
2 postscript isn't working with your laser printer.

USAGE:

I believe using the script is rather straight-forward.
First select the source PS file. Then select a file location
for the scaled-down output PS file. Finally, select the page size
you want the scaled file to fit.

T: will by used by the script for two temporary files. One file
will be a pdf which can be as large as the original Ibrowse PS
output.


Contents of text/print/scaleps.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1856    2762  67.2% -lh5- 9626 Jul  3 01:18 ScalePS.info
[generic]                 1147    2184  52.5% -lh5- 3d1e Jan 27  2005 ScalePS/ScalePS.readme
[generic]                 1853    2787  66.5% -lh5- 16a7 Dec  4  2004 ScalePS/ScalePS.readme.info
[generic]                  835    2205  37.9% -lh5- 0332 Jan 25  2005 ScalePS/ScalePS.rexx
[generic]                 1253    2256  55.5% -lh5- cc57 Jan 27  2005 ScalePS/ScalePS.rexx.info
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         5 files    6944   12194  56.9%            Jul 10 00:11

Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>