Skip to main content.

2003-Feb-27

I am using LyX 1.1.6fix4 to generate postscript with the document paper papersize as Custom with a width of 5.5in and 9in height. And using dvips from teTeX-bin-1.0.7nb2 (NetBSD packaged). It has:

%%BoundingBox: 0 0 396 648
When viewed with gv-3.5.8, it appears fine. gv says the paper type is BBox. I assume that the postscript is fine. Then I convert to print to my HP LaserJet 5 printer by piping through
/usr/pkg/bin/gs -q -dSAFER -dNOPAUSE -r300 -sDEVICE=lj5mono -sOutputFile=$TEMPFILE -
This is Aladdin Ghostscript 6.01 gs.

The print out show a column of the test is overwritten. The entire page (all pages) have the information at approximately 3.5in from left (or 2 inches from right) all repeated. For example:

standdard
or UTC)) time
timezoness
arroow
froom
bbe
bby
It is not a perfect repeat of the character, but like a small part -- some look just like junk, some are clear (it depends on size of the part repeated). This is on all pages.

(Note that I frequently print out LyX and other postscript documents for a couple years using same technique.)

I guessed the issue has to do with the custom size. If it is A4 or US letter, it works. dvips uses "-T 5.5in,9in" instead of "-t letter".

I solved my problem by using psresize, like:

psresize -pletter J.ps J2.ps

Yesterday, I started a build using:

time ./build.sh -U -D /home/reed/netbsd-1-6-destdir     -R /home/reed/netbsd-1-6-release
This took almost 21 hours!
real    1252m41.221s
user    889m4.638s
sys     130m23.601s