[texhax] Question about DVIPS options

Igor Liferenko igor.liferenko at gmail.com
Sun Jun 4 08:41:24 CEST 2017


Hi all,

I'm puzzled with this description of -q option in "info dvips":

     Run quietly.  Don't chatter about pages converted, etc. to standard
     output; report no warnings (only errors) to standard error.

But standard output does not differ with and without using this option:

$ dvips test -o - >q0.out
This is dvips(k) 5.996 Copyright 2016 Radical Eye Software (www.radicaleye.com)
' TeX output 2017.06.04:1325' -> 
</usr/share/texlive/texmf-dist/dvips/base/tex.pro>
</usr/share/texlive/texmf-dist/dvips/base/special.pro>. [1
/usr/bin/dvips: Could not find figure file xxx.eps; continuing.
] 

$ dvips test -q -o - >q.stdout
/usr/bin/dvips: Could not find figure file xxx.eps; continuing.

$ diff -u q0.stdout q.stdout
--- q0.stdout      2017-06-04 13:28:57.501632321 +0700
+++ q.stdout       2017-06-04 13:29:03.097426197 +0700
@@ -1,14 +1,14 @@
 %!PS-Adobe-2.0
 %%Creator: dvips(k) 5.996 Copyright 2016 Radical Eye Software
 %%Title: test.dvi
-%%CreationDate: Sun Jun  4 06:28:57 2017
+%%CreationDate: Sun Jun  4 06:29:03 2017
 %%Pages: 1
 %%PageOrder: Ascend
 %%BoundingBox: 0 0 596 842
 %%DocumentPaperSizes: a4
 %%EndComments
 %DVIPSWebPage: (www.radicaleye.com)
-%DVIPSCommandLine: /usr/bin/dvips test -o -
+%DVIPSCommandLine: /usr/bin/dvips test -q -o -
 %DVIPSParameters: dpi=600
 %DVIPSSource:  TeX output 2017.06.04:1325
 %%BeginProcSet: tex.pro 0 0

-------------------------

This is test.tex:

  \nopagenumbers
  \special{psfile=xxx.eps}
  \bye

Regards,
Igor

P.S. I wonder if queueing a file for printing as described in "info dvips":

    dvips -o '|lpr' test.dvi

is any different from

    dvips -o - test.dvi | lpr


More information about the texhax mailing list