Bug 690703

Summary: ps2pdf -dAutoRotatePages=/None under MiKTeX 2.7, Windows XP gives error message
Product: Ghostscript Reporter: Francesca Rizzardi <fran>
Component: PDF WriterAssignee: Ken Sharp <ken.sharp>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: P4    
Version: 8.60   
Hardware: PC   
OS: Windows XP   
Customer: Word Size: ---
Attachments: tst690703.ps - sample file

Description Francesca Rizzardi 2009-08-12 12:21:24 UTC
Error message "Unrecoverable error: typecheck in .putdeviceprops

Error reproducable with simplest LaTeX file:

\documentclass[letterpaper]{article}
\begin{document}

This is text.

This is more text
\newpage
\end{document}

PostScript file generated via "latex; dvips".
No error under Ubuntu GhostScript 8.61 and the same PostScript file.
Comment 1 Alex Cherepanov 2009-08-12 13:01:15 UTC
Please attach your PS file.
There may be different version of LaTeX and dvips.
Comment 2 Alex Cherepanov 2009-08-12 14:07:22 UTC
Created attachment 5293 [details]
tst690703.ps - sample file
Comment 3 Alex Cherepanov 2009-08-12 16:08:49 UTC
I cannot reproduce this problem.

Windows batch processor doesn't support '=' in the argument.
You need to use '#', e.g. -dAutoRotatePages#/None
This works fine for me.

Both '=' and '#' are accepted on the command line:
S:\gs8.70\bin\gswin32c.exe -dNOPAUSE -dBATCH -sDEVICE=pdfwrite
-dAutoRotatePages=/None -sOutputFile=870.pdf -c .setpdfwrite -f tst690703.ps
This also works fine.

The latest released version is 8.70 . Many bugs have been fixed and many
new features have been added. Please upgrade.