1

I'm trying to save a website as a PDF file using the File -> Print.... The PDF preview has a white border all around, as does the final final PDF product. I've followed the steps suggested on this website, but that doesn't work. Other websites suggest using File -> Page Setup, but that option no longer exists in later versions of macOS.

I'm using Safari 11.0.3 on macOS 10.13.3.

How can I force the PDF file not to have any white borders?

2 Answers 2

4

It sounds like the border is a part of the PDF document itself, in which case it's not an issue with printing preferences. The easiest solution is to crop the PDF in Preview, then print it.

Instead of File > Print, perform File > Export as PDF (or Save as).

Open the PDF in Preview and crop it.

From the above Apple support article:

If the Markup toolbar isn’t showing, click the Show Markup Toolbar button , then click the Rectangular Selection button .

Select the portion of the page you want to keep.

Click the Crop button in the Markup toolbar (or use the Touch Bar).

Once you select the portion, you can alternatively the shortcut command + K to crop it as well.

Once you are finished, save the PDF if you wish and print it.

2
  • Thank you! This was driving me nuts. Exporting as PDF works rather nicely.
    – Rain
    Commented Mar 21, 2018 at 4:35
  • What should I do on Chrome? That doesn't have an exporting option...
    – Rain
    Commented Apr 26, 2018 at 2:03
0

I'm not sure if this will work on certain macOS or configuration you're using. But on my setup I get a borderless PDF with these steps:

  1. Create a borderless paper size as described in the website you've mentioned.
  2. Have the borderless paper size set as the default one in System Preferences > Printers & Scanners > Default paper size.
  3. Now that when I print a web page from Safari, it will use the margin setup from the paper.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .