[Tex/LaTex] Configuring the dvips driver. Can I modify the config.ps file

dvipsmiktextexmaker

I'm having some trouble with paper sizes when I use the sequence

Latex->dvips->ps2pdf

to compile my .tex file. I have figured out that the problem is with the dvips bit. I want a letter size document and it keeps turning it into an A4.

I'm using the MiKTeX 2.9 distribution on Windows 7 and the Texmaker editor. How do I change the dvips driver configuration and set the default paper size as letter? I have changed the config.ps file into a .txt file so I could look to what's inside of it and change what was necessary but at the beginning of the document there's a warning saying I cannot change that file… that I have to create a new file that will override the config.ps.

What should I do? What's the code to set the letter size as default and where should I put it?

Thank you very much.

The .tex I'm having problems with

\documentclass[letterpaper]{article}

\usepackage{pst-all}

\usepackage{amsmath}

\usepackage[]{geometry}

\pagestyle{empty}

\begin{document}

\psset{arrowscale=3.5}

\pspicture(30.9,23.3)(3.4,16)

\psgrid[griddots=10,gridlabels=10pt, subgriddiv=0, gridcolor=black](1,3)(0,2)(19.5,26.5)

\endpspicture

\end{document}

Best Answer

Dvips takes into account what is declared by you file or the class you use. This hasn't to be set in config.ps. Maybe try MiKTeX Package Manager, and change the paper size:

enter image description here

Related Question