Using fancyhdr
you can define your own page style and move the page number/counter into the appropriate position.
\usepackage{pdfpages}% http://ctan.org/pkg/pdfpages
\usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr
\fancypagestyle{mylandscape}{%
\fancyhf{}% Clear header/footer
\fancyfoot{% Footer
\makebox[\textwidth][r]{% Right
\rlap{\hspace{\footskip}% Push out of margin by \footskip
\smash{% Remove vertical height
\raisebox{\dimexpr.5\baselineskip+\footskip+.5\textheight}{% Raise vertically
\rotatebox{90}{\thepage}}}}}}% Rotate counter-clockwise
\renewcommand{\headrulewidth}{0pt}% No header rule
\renewcommand{\footrulewidth}{0pt}% No footer rule
}
You would then use pagecommand=\thispagestyle{mylandscape}
. Example output with one.pdf
(1 page portrait) and two.pdf
(1 page landscape):

two.tex
:
\documentclass{article}
\usepackage{pdflscape,lipsum}% http://ctan.org/pkg/lipsum
\pagestyle{empty}
\begin{document}
\begin{landscape}
\lipsum[1-5]
\end{landscape}
\end{document}
one.tex
:
\documentclass{article}
\usepackage{lipsum,pdfpages,fancyhdr}% http://ctan.org/pkg/{lipsum,pdfpages,fancyhdr}
\fancypagestyle{mylandscape}{%
\fancyhf{}% Clear header/footer
\fancyfoot{% Footer
\makebox[\textwidth][r]{% Right
\rlap{\hspace{\footskip}% Push out of margin by \footskip
\smash{% Remove vertical height
\raisebox{\dimexpr.5\baselineskip+\footskip+.5\textheight}{% Raise vertically
\rotatebox{90}{\thepage}}}}}}% Rotate counter-clockwise
\renewcommand{\headrulewidth}{0pt}% No header rule
\renewcommand{\footrulewidth}{0pt}% No footer rule
}
\begin{document}
\lipsum[1-5]
\includepdf[noautoscale,landscape,pagecommand=\thispagestyle{mylandscape}]{two.pdf}
\end{document}
`
to mark your inline code as I did in my edit. – hpesoj626 Oct 21 '12 at 2:32