In general, it is not possible as egreg mentioned. You can expand the code below, though to cater for various sizes and have all the corrections in one place. Here I used \ifpdf
, but you can define your own conditionals \ifafour
, \ifathree
etc., in a similar fashion. Strange, you want A4 for screen I normally go smaller.
\documentclass[11pt]{book}
\usepackage[svgnames]{xcolor}
\usepackage{ifpdf}
\usepackage{lipsum}
\newfont{\HUGE}{cmr17 at 96pt}
\setlength{\textwidth}{3.0in}
\setlength{\textheight}{5.125in}
\setlength{\oddsidemargin}{0.0in}
\setlength{\evensidemargin}{-0.375in}
\setlength{\topmargin}{-0.375in}
\setlength{\headsep}{0.25in}
\setlength{\headheight}{0.125in}
\setlength{\footskip}{0.25in}
\setlength{\parindent}{0.5\parindent}
\ifpdf
\pdfpageheight 7.5in
\pdfpagewidth 4.625in
\else
\addtolength{\oddsidemargin}{1.9375in}
\addtolength{\evensidemargin}{1.9375in}
\addtolength{\topmargin}{1.75in}
\fi
\newcommand{\hstroke}{\rule[0.5ex]{5.0em}{0.2ex}}
\begin{document}
\newpage
\thispagestyle{empty}
\begin{center}
\setlength{\unitlength}{1.0em}%
\begin{picture}(45,16)(0,0)
\put(-0.625,0){\framebox(6.2,7.25){\HUGE \textcolor{purple}{A}}}
\put(5.875,5.625){\parbox[t]{15em}{\Huge \noindent LITTLE GIFT\linebreak
\raggedright FOR ALL\linebreak
\TeX nicians\linebreak
}}
\end{picture}
\hspace*{-0.6em}\rule{1.08\textwidth}{0.3ex}\\
{\small \sc by}\\
{\small YIANNIS LAZARIDES}\\
{\footnotesize Author of ``Gala Day Luncheons''}\\
\vspace*{18.5 ex}
\rule{\textwidth}{0.3ex}\\
{\small
BEIJING\phantom{ZZZZZ,}\hfill\raisebox{0.5ex}{$\bullet$}\hfill THE PANDA\linebreak
CHINA~~~~\hfill\raisebox{0.5ex}{$\bullet$}\hfill PRESS
}
\end{center}
\newpage
\thispagestyle{empty}
\vspace*{18ex}
\begin{center}
{\em Copyright, $\mit 2011$}\\[5pt]
{\sc By Xport \& Company}\\
\hstroke\\
{\em All rights reserved}\\
\vspace*{18ex}
{\sc A little cook book}\\
%{\sc for a little girl}\\
\vspace*{12ex}
Made in China
\end{center}
\newpage
\frontmatter
\thispagestyle{empty}
\vspace*{20ex}
\begin{center}
{\scriptsize FOR}\\
{\large \bf Knuth, Lamport and Carlisle}\\
\smallskip
{\footnotesize AND THE REST\\
OF THE CROWD THAT LOVES\\
``TYPOGRAPHY''}
\end{center}
\newpage
\thispagestyle{empty}
\newpage
\mainmatter
\chapter{My Recipes}
\lipsum
\end{document}