I would like to change the size of the unprinted margins of a ps-file.
So, what I have done is:
TCanvas *c = new TCanvas("c","c",830,1100);
//draw histos into Canvas
//...
c->Print("myPsFile.ps","Portrait");
It seems that, whatever the size and dimensions of the Canvas are, Print() always rescales the content to fit onto a sheet of paper, such that the size of the margins left blank is always the same.
You cannot, there is always a margin around the paper. The minimum margin you will get is when the canvas is in the A4 proportion (or letter depending the paper you are using).