If you want to remove the footer (say) of the page you're including because it has the page number in it from the original document you have 2 options. Let's assume you have the following setup:

\documentclass{article}
\usepackage{lipsum}
\begin{document}
\section{A section}
\lipsum[1]
% ...include PDF here
\end{document}
When you just include the PDF on the following page, this is what it looks like:

\documentclass{article}
\usepackage{lipsum}
\usepackage{pdfpages}
\begin{document}
\section{A section}
\lipsum[1]
\includepdf[
pages=1,
pagecommand={}
]{lipsum50}% lipsum50.pdf is a document with \lipsum[1-50] in it
\end{document}
Here's a close-up of the page numbers on the second page:

The two options to remove the page number (1 in this case) include
- Use the
trim and clip options provided by graphicx for trimming and clipping included graphics. From the pdfpages documentation:
Internally the command \includepdf makes use of the
\includegraphics command from the graphicx (actually graphics)
package. Hence it is possible to use all the options of
\includegraphics, too. Options which are not interpreted by
\includepdf are passed directly to \includegraphics.
Especially
the trim and clip options of \includegraphics are quite useful,
if only parts of a page should be inserted. (Maybe to cut off the
header and footer of the inserted pages.) Just use the trim and
clip options as if they were options of \includepdf. They will be
passed to \includegraphics internally.
And here is how the trim option should be used (from the graphicx documentation):
trim
Similar to viewport, but here the four lengths specify the amount to
remove or add to each side. trim= 1 2 3 4 "crops" the picture by 1bp at
the left, 2bp at the bottom, 3bp on the right and 4bp at the top.
Note that bp here refers to big points, but you can specify other unit lengths. The the sake of brevity, let's trim 2cm off the top and bottom of the included page so it will remain vertically centred:

\documentclass{article}
\usepackage{lipsum}
\usepackage{pdfpages}
\begin{document}
\section{A section}
\lipsum[1]
\includepdf[
pages=1,
pagecommand={},
trim=0 2cm 0 2cm,
clip
]{lipsum50}
\end{document}
- Overwrite the page number with a white box so it's not visible.
Using the same example as above, we use eso-pic with some trial-and-error positioning of the white block in the ForeGround.

\documentclass{article}
\usepackage{lipsum}
\usepackage{pdfpages,eso-pic,xcolor}
\begin{document}
\section{A section}
\lipsum[1]
\clearpage
\AddToShipoutPictureFG*{% Place content in the ForeGround of the current page only
\AtPageLowerLeft{% Start placement at the lower-left of the page
\makebox[\paperwidth]{% Move to the middle (horizontally) of the page
\raisebox{3.5em}{% Raise box 5em from the bottom of the page
\colorbox{orange}{% Use white instead; orange just for illustrative purpose
\rule{2em}{0pt}% width
\rule{0pt}{2em}% height
}%
}%
}%
}%
}%
\includepdf[
pages=1,
pagecommand={}
]{lipsum50}
\end{document}
trim 0cm 0cm 0cm 10cm, clipand i still see the page number of my PDF file – Reazelruss Nov 28 '20 at 11:37trimmeans the top, the second the bottom. And your are missing an equal-sign aftertrim: Try this[trim=0mm 80mm 0mm 0mm, clip]– Andreas Matthias Nov 28 '20 at 19:59