TeX Live and MacTeXdvips

Information and discussion about TeX Live distribution for all platforms (Windows, Linux, Mac OS X) and the related MacTeX: installing, updating, configuring
Post Reply
bnorton916
Posts: 1
Joined: Wed Nov 05, 2014 10:26 pm

dvips

Post by bnorton916 »

Not sure if this is the correct place to ask this question. Please redirect me if it is not.

I use dvips at work taking a dvi file to a postscript for printing.

The problem is that it creates a file with this near the end:

Code: Select all

%%BeginPaperSize: Letter
letter
%%EndPaperSize
this causes a problem for ghostview and printing
but if I chamge it to:

Code: Select all

%%PaperSize: Letter
everything works fine.

My knowledge of postscript is slim.

I could
1) write a script to modify my postscript files
2) change dvips source code once I find it

so I was hoping there was an explanation to why dvips produces that postscript code and why it seems to be invalid??

Thanks for any help you can give.

Bill

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

dvips

Post by Stefan Kottwitz »

Hi Bill,

welcome to the forum!

Perhaps force paper size using an option for dvips, such as dvips -P usletter. dvips --help shows options.

kpsewhich config.ps would show you the place of a config file for dvips, could be in texmf-config/dvips/config/config.ps.

Stefan
LaTeX.org admin
Post Reply