%\setstocksize{18.5cm}{12.5cm} % { height }{ width }
%\settrimmedsize{\stockheight}{\stockwidth}{*}
% A4 =   21.00    x 29.70
% Letter 21.59 cm x 27.94 cm


%%% NOTES
% xspine 

\documentclass{book}
\usepackage[utf8x]{inputenc}
\usepackage{rotating}
%\usepackage[papersize={,18.5cm},topmargin=5mm,
%    botmargin,strictheight,
%    leftmargin=0mm,flap=40mm,textwidth=12.5cm,spine=1.5cm,
%    textwidth=28.1cm,textheight=18.5cm,
%    cropmarks,cropframe,croptitle=Cover]{zwpagelayout}
%\usepackage[papersize={27.94cm,21.59cm},topmargin=0cm,
%\usepackage[papersize={25cm,18.5cm},topmargin=5mm,

%\usepackage[papersize={26.4cm,18.6cm},topmargin=5mm,
\usepackage[papersize={28.94cm,21.59cm},topmargin=5mm,
    botmargin,strictheight,
    textwidth=14.2cm,textheight=18.6cm,
    leftmargin=0cm,spine=1.7cm,
    rightmargin=2cm,
    cropmarks,croptitle=Cover]{zwpagelayout}
%    leftmargin=0mm,spine=1.7cm,


%    cropmarks,cropframe,croptitle=Cover]{zwpagelayout}
%\usepackage[papersize={27.94cm,21.59cm},topmargin=0cm,
%    botmargin,strictheight,
%    textwidth=28.1cm,textheight=18.5cm,
%    leftmargin=0mm,spine=1.5cm,
%    cropmarks,cropframe,croptitle=Cover]{zwpagelayout}

% Disable ean13isbd, broken/missing? in f13 texlive-2010
%\usepackage{graphics,color}
%\usepackage[SC0,ISBN=999-99-9999-999-4]{ean13isbn}
%\usepackage[LY1]{fontenc}
%\renewcommand{\rmdefault}{IM_FELL_DW_Pica_PRO}
%\renewcommand{\bfdefault}{b}
%%\usepackage{lmodern,rotating}
%\usepackage{rotating}
%\pagestyle{empty}
%\parindent 0mm
%\def\thePageNumber{Brodie}


\def\moe{\rotatebox{33.0}{\upshape \kern-.5em \hbox{M}}%
	\rotatebox{20.0}{\scshape\kern-.425em\lower-.4ex\hbox{o}}
	}

\begin{document}

\newsavebox{\mysquare}
%  39  173  207   .15  .68  .81
% 255  255  255   100  100  100
\definecolor{brodieblue}{rgb}{0.15,0.68,.81}

%\savebox{\mysquare}{\textcolor{brodieblue}{\rule{1in}{1in}}}

%\pagecolor{brodieblue}
\pagecolor{white}

%This is a red square:
%\usebox{\mysquare}
%
%Here is a rotated and scaled square:
%\scalebox{0.696}{\rotatebox{69.6}{\usebox{\mysquare}}}
%
%Here is a resized square with the aspect ratio distorted:




\small
\hbox to \textwidth{%
%%% BACK FLAP %%%
\hss
%  \vbox to \textheight{\hsize \CropFlap \centering
%        backflap\vfill}\hss
%%% END BACK FLAP %%%
%%% BACK COVER %%%
  \vbox to \textheight{\hsize \UserWidth \centering
        \vfill
%	English/Spanish parallel text.
	\vspace*{85pt}
	\leavevmode }\hss
%        ISBNbackcover\vfill \leavevmode \EANisbn}\hss
%%% END BACK COVER %%%
%%% SPINE %%%
	\colorbox{white}{
  \vbox to \textheight{\hsize \CropSpine \centering
        \vfill
        \begin{sideways}
	\rotatebox{180}{
	\Huge\scshape\textcolor{brodieblue}{LulzBot\textsuperscript{\miniscule{\texttrademark}}}
%	\textcolor{white}{---}
	\hspace*{20pt}
	\large\itshape\textcolor{black}{AO-100 User Manual}
	\hspace*{5pt}
	\large\itshape\textcolor{black}{---}
	\hspace*{5pt}
	\large\scshape\textcolor{black}{Aleph Objects, Inc.}
	\hspace*{15pt}
	\colorbox{black}{
	\rotatebox{90}{\textcolor{white}\moe}}
	}
	\end{sideways}\vfill}\hss
	}
%%% END SPINE %%%

%%% FRONT COVER %%%
\fcolorbox{white}{brodieblue}{
\vbox to \textheight{\hsize \UserWidth \centering
\begingroup
\vspace*{60pt}
{\Huge \itshape \textcolor{white}{LulzBot\textsuperscript{\miniscule{\texttrademark}}}}\\[\baselineskip]
{\LARGE \scshape \textcolor{white}{AO-100 User Manual}}\\[\baselineskip]
\vfill
\color{white}\rule{120pt}{2.0pt}\\[\baselineskip]
\fontfamily{Hopfer_Hornbook}\selectfont
{\huge \textcolor{white}{Aleph Objects, Inc.}}\par
\endgroup
\vspace*{10pt}
{\normalsize \emph{\textcolor{white}{AO}}}
\vspace*{55pt}
}
}
%%% END FRONT COVER
%%% FRONT FLAP %%%
\hss
%  \vbox to \textheight{\hsize \CropFlap \centering
%        frontflap\vfill}}
%%% END FRONT FLAP %%%
}
\end{document}
