Specifying custom page size with Ghostscript

Written by James McDonald

February 18, 2015

you can’t do the following because the custom page size won’t exist on the system

ps2ps -sPAPERSIZE=A4 input.ps output.ps

This will work (this is 100×200 converted to points)

ps2ps -dDEVICEWIDTHPOINTS=283.46 -dDEVICEHEIGHTPOINTS=567 test.ps output.ps

Never mind this doesn’t seem to effect the resultant output… afaict

 

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...