\batchmode
%\documentstyle[12pt]{article}
\makeatletter
\voffset -2cm
\hoffset -2cm
\textwidth 17cm
\textheight 23cm
\parindent 0cm

\makeatother
\newenvironment{tex2html_wrap}{}{}
\newwrite\lthtmlwrite
\def\lthtmltypeout#1{{\let\protect\string\immediate\write\lthtmlwrite{#1}}}%
\newbox\sizebox
\begin{document}
\pagestyle{empty}
{\newpage
\clearpage
\samepage \setbox\sizebox=\hbox{$25\%$}\lthtmltypeout{latex2htmlSize :tex2html_wrap_inline18: \the\ht\sizebox::\the\dp\sizebox.}\box\sizebox
}

{\newpage
\clearpage
\samepage \setbox\sizebox=\hbox{$50 \%$}\lthtmltypeout{latex2htmlSize :tex2html_wrap_inline22: \the\ht\sizebox::\the\dp\sizebox.}\box\sizebox
}


\end{document}
