From the question How can I design a book cover, I tried to compile the code from Dean Serenevy.
\documentclass{article}
\usepackage[]{graphicx}
\usepackage{pstricks}
\begin{document}
\thispagestyle{empty}
\psset{unit=1in}
\begin{pspicture}(7,9.5)% use your page size
\rput[b](3.5,8){\parbox{5in}{\begin{flushright}
\Huge\bfseries\sffamily Awk one-liners\\ Explained
\end{flushright}}}
\uput[-90](3.5,8){\color{red}\rule{5in}{1ex}}
% ...
\end{pspicture}
\end{document}
This is the pdf file generated. The problem is that I have a blank page, and I can't remove the line number with \thispagestyle{empty}. What might be wrong?

\pagestyleyou could try to put the code in the{titlepage}-environment. So it is typset on its own empty page. – Tobi May 20 '11 at 15:36