Bug 690703 - ps2pdf -dAutoRotatePages=/None under MiKTeX 2.7, Windows XP gives error message
Summary: ps2pdf -dAutoRotatePages=/None under MiKTeX 2.7, Windows XP gives error message
Status: RESOLVED WORKSFORME
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: PDF Writer (show other bugs)
Version: 8.60
Hardware: PC Windows XP
: P4 normal
Assignee: Ken Sharp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 12:21 UTC by Francesca Rizzardi
Modified: 2009-08-12 17:50 UTC (History)
0 users

See Also:
Customer:
Word Size: ---


Attachments
tst690703.ps - sample file (12.98 KB, application/postscript)
2009-08-12 14:07 UTC, Alex Cherepanov
Details

Note You need to log in before you can comment on or make changes to this bug.
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.