• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to change page size in Acrobat Pro XI 11.0.23

Participant ,
May 31, 2023 May 31, 2023

Copy link to clipboard

Copied

Hi,

I do not mean to change from A4 to A3 or like.

I mean to adjust the exact size of inches for a custom paper size.

The reason for asking is that I have a file that needs to be printed and it has a lot of margins, so after removing all margins using the crop pages toolboxes, I am still not satisfied but the result for the printed document, because it still has some margins, while the soft copy has no margins at all.

So I thought about having a custom page size, then printing it.

I will print it on A4 paper.

This is the page after the crop:

mgbsher_0-1685559086996.png

This is the page in print preview:

mgbsher_1-1685559181116.png

So is there any way or workaround to remove all margins and print without margins? I mean to let the printed paper page be precisely like the cropped one without margins.

The real printed paper page is exactly as shown in the preview, which is not what I am looking for.

Thanks

Thanks,
Mohamed GadAllah
TOPICS
General troubleshooting , How to , PDF , Print and prepress

Views

15.7K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 4 Correct answers

Community Expert , Jun 05, 2023 Jun 05, 2023

Hi,

Sorry if my answer is a bit late...

If you want resize your text area manually with distorsion, you can do that importing your file in an empty A4 format file, then place it at the right position and resize it as required.

You can then print this file with the "fit" option to hold the max space of the sheet.

Capture_d’écran_2023-06-05_à_18_00_04.pngCapture d’écran 2023-06-05 à 18.00.18.pngCapture d’écran 2023-06-05 à 18.00.57.pngCapture d’écran 2023-06-05 à 18.01.27.png

 

If your text is editable and you want to automatically resize the pages cropping the closer to the text, you can use this script from the console window or in an action wizard. It wil

...

Votes

Translate

Translate
Community Expert , Jun 06, 2023 Jun 06, 2023

use the "Scale pages to specified size" profile. I think I duplicated and edited this profile to make the new profile "Scale pages to specified size with distortion". Duplicate and re-name the profile from the little fly-out menu "Options", when you have your new profile, click on "Edit" to change the settings.

stretch to fill.png

Votes

Translate

Translate
Community Expert , Jun 11, 2023 Jun 11, 2023

Hi,

Here is what I did for you.

1) Open your file "1.Pages from crop.pdf" then type ctrl J to open the console window.

Capture d’écran 2023-06-11 à 20.41.07.png

If the console window is not empty, click on the trash at the bottom right of the window.

2) Copy and paste the following script in the console window.

 

d0=new Date();
starting=util.printd("mm/dd/yy – HH:MM:ss",d0);
var found=0;
var leftAlign=100;
var topAlign=800;
var bottomAlign=25;
for (var p=0; p<this.numPages; p++) {
	console.clear();
	console.println("Process starting: "
...

Votes

Translate

Translate
Community Expert , Jul 04, 2023 Jul 04, 2023

Here is the last script I used for the book I sent you back in PM:

d0=new Date();
starting=util.printd("mm/dd/yy – HH:MM:ss",d0);
var found=0;
for (var p=0; p<this.numPages; p++) {
	console.clear();
	console.println("Process starting: "+starting);
	console.println("Processing the page #"+(p+1)+"/"+this.numPages);
	if (this.getPageNumWords(p)) {
		var thisPage=this.getPageBox("Crop",p);
		var topAlign=780;
		var bottomAlign=90;
		var topLine=0;
		var header="";
		var bottomLine=0;
		var footer=""
...

Votes

Translate

Translate
Adobe Employee ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

Hi @_MGadAllah_ 

 

Hope you are doing well and thanks foe reaching out.

 

Please go through the help page https://acrobatusers.com/tutorials/how-to-create-a-custom-page-size/ and see if that works.

 

Note: Acrobat XI is an EOL application and not supported on latest Mac and Win OS. https://helpx.adobe.com/acrobat/kb/end-of-support-acrobat-xi-reader-xi.html

 

Regards

Amal

Regards
Amal

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

@Amal. 

Thanks for your reply.

I tried to adjust the page sizes to various sizes but I am afraid that it is still printing with margins.

Regarding the EOL, I can not afford the monthly fees for the software upgrade, so I have no option except to stick to my current version, the latest update I get after installing a clean install for the software is 11.0.23, does there are any updates available for XI Pro?

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

It looks like your cropped page is narrower than your paper. In order for the left and right margins to be removed, you will first need to distort the page, you can do this with a preflight profile (scale pages to specified size) or place the pdf into an InDesign or Illustrator page, scale it to fit, export to a new pdf.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

quote

It looks like your cropped page is narrower than your paper.By @Luke Jennings3

Thanks for your reply.

Yes, exactly!

quote

In order for the left and right margins to be removed, you will first need to distort the page, you can do this with a preflight profile (scale pages to specified size).By @Luke Jennings3

Please, may you tell me how to do so for my XI Pro version, I've googled and searched and the only things I've found regarding the preflight is this thread here:

Here

I am afraid that these steps are not suitable for my XI Pro version.

quote

or place the pdf into an InDesign or Illustrator page, scale it to fit, export to a new pdf.By @Luke Jennings3

Do I need to do so for every page? or it is could be at once for the whole document?

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

I don't know if there is a preflight profile in Acrobat XI that can scale a page, in the preflight panel, type the word "scale" in the preflight search area after clicking the blue wrench icon.

If you have InDesign, you can use the "Place Multipage pdf" script to place a multi-page pdf into an InDesign file with one step, once you determine the desired distortion factor (say 115w x100H) you can apply the transformation to each InDesign page (Object> Transform again).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

This is what I have in my version:

_MGadAllah__0-1685680128611.png

Profiles

_MGadAllah__1-1685680190245.png

Single Checks

_MGadAllah__2-1685680230700.png

 

Single Fixup

_MGadAllah__3-1685680244615.png

Please right-click an image and open it in a new window for full view.

I searched for the scale:

_MGadAllah__4-1685680668574.png

 

_MGadAllah__5-1685680679490.png

 

_MGadAllah__6-1685680688513.png

Pleas advice which option is suitable for my issue.

 

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

Better

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 02, 2023 Jun 02, 2023

Copy link to clipboard

Copied

It looks like Acrobat XI does not have the preflight profile you need. You may be able to place the pdf into Word and distort it, or convert it to an image and distort it with an image editor.

scale.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 02, 2023 Jun 02, 2023

Copy link to clipboard

Copied

Do you mean that I need to upgrade to the latest version?

Does there is detailed help for preflight?

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 03, 2023 Jun 03, 2023

Copy link to clipboard

Copied

"Do you mean that I need to upgrade to the latest version?"

If you want to use a preflight profile to distort your pdf, then yes.

"Is there is detailed help for preflight?"

This forum and YouTube are good resources to learn how to use and edit preflight profiles.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 05, 2023 Jun 05, 2023

Copy link to clipboard

Copied

Hi,

Please, I've installed this version to try it, here:

 

_MGadAllah__0-1685983277689.png

But when I opened the preflight, I search for what you mentioned, but can not find any.

_MGadAllah__0-1686013283762.png

So which version you are using?

I hope I can solve this issue.

 

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 06, 2023 Jun 06, 2023

Copy link to clipboard

Copied

Please what is your version that includes this profile?

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2023 Jun 06, 2023

Copy link to clipboard

Copied

use the "Scale pages to specified size" profile. I think I duplicated and edited this profile to make the new profile "Scale pages to specified size with distortion". Duplicate and re-name the profile from the little fly-out menu "Options", when you have your new profile, click on "Edit" to change the settings.

stretch to fill.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

I don't believe your cropped page has the same ratio (proportion) as your printed paper size, so it would be impossible not to have some margin on either the left/right or the top/bottom depending on the ratio.

 

David Creamer: Community Expert (ACI and ACE 1995-2023)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 01, 2023 Jun 01, 2023

Copy link to clipboard

Copied

Thanks for your reply.

Please, what would you suggest I do to fix such a thing to have printed paper with as narrow margins as possible?

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 02, 2023 Jun 02, 2023

Copy link to clipboard

Copied

You will have to crop (or reflow the text if you have an editable file).

For example, to fit your image on an 8.5x11 inch page:

image.pngimage.png

David Creamer: Community Expert (ACI and ACE 1995-2023)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 05, 2023 Jun 05, 2023

Copy link to clipboard

Copied

Hi,

Sorry if my answer is a bit late...

If you want resize your text area manually with distorsion, you can do that importing your file in an empty A4 format file, then place it at the right position and resize it as required.

You can then print this file with the "fit" option to hold the max space of the sheet.

Capture_d’écran_2023-06-05_à_18_00_04.pngCapture d’écran 2023-06-05 à 18.00.18.pngCapture d’écran 2023-06-05 à 18.00.57.pngCapture d’écran 2023-06-05 à 18.01.27.png

 

If your text is editable and you want to automatically resize the pages cropping the closer to the text, you can use this script from the console window or in an action wizard. It will generate a new file.

var found=0;
for (var p=0; p<this.numPages; p++) {
	if (this.getPageNumWords(p)) {
		var thisPage=this.getPageBox("Crop",p);
		var leftMargin=thisPage[2];
		var topMargin=0;
		var rightMargin=0;
		var bottomMargin=thisPage[1];
		for (var i=0; i<this.getPageNumWords(p); i++) {
			var q=this.getPageNthWordQuads(p,i);
			var m=(new Matrix2D).fromRotated(this,p);
			var mInv=m.invert();
			var r=mInv.transform(q);
			var r=r.toString();
			var r=r.split(",");
			if (Number(r[0])<leftMargin) leftMargin=r[0];
			if (Number(r[1])>topMargin) topMargin=r[1];
			if (Number(r[6])>rightMargin) rightMargin=r[6];
			if (Number(r[7])<bottomMargin) bottomMargin=r[7];
		}
		this.setPageBoxes({
			cBox: "Crop",
			nStart: p,
			rBox: [leftMargin,topMargin,rightMargin,bottomMargin]
		});
		found++;
	}
}
if (found) this.saveAs(this.path.replace(/.pdf$/i," \(Cropped\).pdf"));

 

You can then print this new file on the full width of your A4 format on one or several pages following the ratio of the cropped page, with this other script:

var A4Format=[595,842];
var nbPages=this.numPages;
for (var p=0; p<nbPages; p++) {
	var thisFormat=this.getPageBox("Crop",p);
	var thisScale=A4Format[0]/thisFormat[2];
	if (thisFormat[2]>=thisFormat[1]) var nmberPages=1; // Landscape format
	else {
		var nmberP=thisScale*thisFormat[1]/A4Format[1];
		var nbP=nmberP.toString().indexOf(".");
		// if the height for the last page is <10pts -> No page
		if (Number(nbP[1])*thisFormat[1]<10) var nmberPages=Math.floor(thisScale*thisFormat[1]/A4Format[1]);
		else var nmberPages=Math.floor(thisScale*thisFormat[1]/A4Format[1])+1;
	}
	for (var i=0; i<nmberPages; i++) {
		this.newPage(this.numPages+i,A4Format[0],A4Format[1]);
		this.addWatermarkFromFile({
			cDIPath: this.path,
			nSourcePage: p,
			nStart: this.numPages-1,
			nVertAlign: app.constants.align.top,
			nVertValue: A4Format[1]*i,
			nScale: thisScale,
		});
	}
}
this.print({
	bUI: false,
	nStart: nbPages,
	nEnd: this.numPages-1,
	bShrinkToFit: true
});
this.deletePages({
	nStart: nbPages,
	nEnd: this.numPages-1,
});
this.dirty=false;

 

I hope that will help you...

@+

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 05, 2023 Jun 05, 2023

Copy link to clipboard

Copied

@bebarth 

Thanks a lot for your valuable time helping me.

Please, where to add this script as I never did anything like that before.

The PDF file is editable.

I am printing the whole book because my eyes are not good with reading or devices, even Kindle did not help, so I am printing to paper, and I want to scale the pages to the maximum size as possible.

I am doing a crop for all pages and setting margins to zero.

Then I print it, but really can not adjust it.

I'm really confused with the versions and titles of software, I've posted here to ask about it:

HERE

I originally used the XI Pro version and did not upgrade my version yet, and even with the version I downloaded and mentioned its version above, I did not find the profile requested, I mean the scale pages to specified size_with distortion 

So, please advice on what can I do to solve this issue.

Thanks a lot

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 05, 2023 Jun 05, 2023

Copy link to clipboard

Copied

Hi,

If the profile doesn't exist on your version you will not be able to do it automatically for all your book, but only manually as explaind previously.

For using the scripts I gave you, you can use the console window or an action wizard (better if you have to use it several times).

In a first time I give you the process from the console window... Open it via ctl J on Windows or cmd J on Mac with your book file open.

If the window is not empty, please clear it.

You copy my first script then paste it in the console window.

You select all the script (ctrl A or cmd A) and you press the ENTER key of the numerical keypad. That should run the script....

At the end of this first script you will have a new file with the same name but with "(Cropped)" at the end of the name. It should look like the one I did from the screenshot you shared.

You clear the console window then do the same process win the second script and that will print this new file in the full width of the A4 format paper.

Do a test with a file including only a few pages and let me know if all is working fine for you.
How many pages do you have for your entire book? That should certainly take some times... If you have a lot of pages I will modify the script to know the progress of the process.

@+

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 06, 2023 Jun 06, 2023

Copy link to clipboard

Copied

Thanks a lot for your reply.

The books are big, at least 600 or 800 pages.

Do you mean I run the script for each page?

May you tell me which version includes this profile to run it directly on the whole book at once?

This is really very important for me.

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2023 Jun 06, 2023

Copy link to clipboard

Copied

You can run both scripts with the file of the whole book at once...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 06, 2023 Jun 06, 2023

Copy link to clipboard

Copied

Thanks a lot, @bebarth for the fast reply.

Please, may I use this script with Acrobat Pro XI 11.0.23?

Thanks,
Mohamed GadAllah

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 06, 2023 Jun 06, 2023

Copy link to clipboard

Copied

Yes you can...

don't be afraid that should take some time for 600 or 800 pages!

 I sent you a message inPM

@+

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 07, 2023 Jun 07, 2023

Copy link to clipboard

Copied

Hi,

Here is a copy of the "Scale pages to A4_with distorsion" preflight, but I'm not sure it will work fine with your Acrobat version.

You will have to change the extension of the attached file by .kfp then import it in your application.

Please try and let me know.

@+

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines