🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #4199

Re: Postscript printing small and mirrorimaged!!

#4199
From: Angus Duggan
Date: Sat, 08 Dec 1990 12:10
38 lines
2692 bytes
In article <371@rusux1.rus.uni-stuttgart.de>, claus@suncvt13.verfahrenstechnik.uni-stuttgart.de (Claus Fleischer) writes:
> In article <7699@hub.ucsb.edu> raj@pollux.geog.ucsb.edu (Richard A Johnson) writes:
> >We have one postscript printer here ...
> 
> >                                  ... If someone prints a graphics image
> >from a DOS program named "CorelDraw" to the printer and then someone sends
> >a normal text file (which gets converted to postscript via the transcript
> >program "pstext", but I've used "enscript" also with the same results), the
> >CorelDraw image comes out just fine but the text file gets printed in a
> >little tiny font and in mirror image fashion!
> >
> 
> We have the same problem on our installation after sending PS-output
> from LaTeX (converted with dvips 4.2) to the laser printer. The behavior
> Richard described occures exactly for the first page of the next
> print job. 
> 
What is happening is that you are sending two jobs without an end of job
terminator (\004) between them. Dvips alters the current transformation matrix
to make it similar to DVI file coordinates (origin top-left,
resolution-dependent scaling on axes); this transformation is happening twice
for the second job. The solution is:

1) If you are using dvips 5.4 (and some earlier versions, I can't remember
   when this option was added), add the -F option to the command line. If you
   don't have dvips 5.4, upgrade to it, because it's a whole lot better.

2) If you aren't using dvips, create a file with a single EOF (\004) in it,
   and add it on to anything you send to the printer.

3) Send your second job after the job timeout has expired :-)

A.
-- 
Angus Duggan, Department of Computer Science,	| I'm pink, therefore I'm Spam.
University of Edinburgh, JCMB,			| JANET:  ajcd@uk.ac.ed.lfcs
The King's Buildings, Mayfield Road,		| VOICE:  (UK) 031 650 5126
Edinburgh, EH9 3JZ, Scotland.	| OR:  ajcd%lfcs.ed.ac.uk@nsfnet-relay.ac.uk
Technical Details
Message-ID: <3203@skye.cs.ed.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!uunet!mcsun!ukc!edcastle!cs.ed.ac.uk!cs.edinburgh.ac.uk!ajcd
References: <7699@hub.ucsb.edu> <371@rusux1.rus.uni-stuttgart.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!jarthur!uunet!mcsun!ukc!edcastle!cs.ed.ac.uk!cs.edinburgh.ac.uk!ajcd
From: ajcd@cs.edinburgh.ac.uk (Angus Duggan)
Newsgroups: comp.lang.postscript
Subject: Re: Postscript printing small and mirrorimaged!!
Summary: You forgot the job terminator
Keywords: upside-down small image, dvips, EOF
Message-ID: <3203@skye.cs.ed.ac.uk>
Date: 8 Dec 90 12:10:54 GMT
References: <7699@hub.ucsb.edu> <371@rusux1.rus.uni-stuttgart.de>
Sender: nnews@cs.ed.ac.uk
Reply-To: ajcd@cs.edinburgh.ac.uk (Angus Duggan)
Followup-To: comp.lang.postscript
Organization: Edinburgh University Fried Brain Carry-out
Lines: 38