# psframe “ Undefined control sequence” [duplicate]

I am trying to create a book cover by using PSTricks. I follow the source from here :http://tug.org/pracjourn/2007-1/robbers/robbers.pdf (page 22). When I compile, it annouces the error that :

! Undefined control sequence.
\c@lor@to@ps

l.29 ...tyle=solid,fillcolor=Maroon](0,0)(13.24,9)

The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., \hobx'), type I' and the correct
spelling (e.g., I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.

And the error is in fact at the line :

\psframe[fillstyle=solid,fillcolor=Maroon](0,0)(13.24,9)

• You're probably using pstricks with pdflatex`. – egreg Feb 6 '13 at 9:50