Hi,
The following code generates a invalid (?) pdf file.
pdf("test.pdf")
x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=terrain.colors(8))
plot(x)
dev.off()
This pdf can be viewed but not printed 
Trying to print causes to crash gv as well as acrobat windows XP
Yours 
/E.
--please do not edit the information below--
Version:
 platform = i686-pc-linux-gnu
 arch = i686
 os = linux-gnu
 system = i686, linux-gnu
 status  major = 2
 minor = 0.1
 year = 2004
 month = 11
 day = 15
 language = R
On Wed, 2004-11-24 at 17:45 +0100, Wolski wrote:> Hi, > > The following code generates a invalid (?) pdf file. > > pdf("test.pdf") > x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=terrain.colors(8)) > plot(x) > dev.off() > > This pdf can be viewed but not printed > Trying to print causes to crash gv as well as acrobat windows XPEryk, As with the other plot on r-help, I had no problem printing this under FC3 using acroread. Presumably, there is something unique to Windows here. Marc
Wolski wrote:> Hi, > > The following code generates a invalid (?) pdf file. > > pdf("test.pdf") > x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=terrain.colors(8)) > plot(x) > dev.off() > > This pdf can be viewed but not printed > Trying to print causes to crash gv as well as acrobat windows XP >I have no trouble printing this on Windows XP. (pixmap 0.4-2) Peter Ehlers
>>>>> On Wed, 24 Nov 2004 17:45:58 +0100, >>>>> Wolski (W) wrote:> Hi, > The following code generates a invalid (?) pdf file. > pdf("test.pdf") > x <- pixmapIndexed(rep(1:8, 9), nrow=6, col=terrain.colors(8)) > plot(x) > dev.off() > This pdf can be viewed but not printed > Trying to print causes to crash gv as well as acrobat windows XP Works fine for me on linux. -- ------------------------------------------------------------------- Friedrich Leisch Institut f?r Statistik Tel: (+43 1) 58801 10715 Technische Universit?t Wien Fax: (+43 1) 58801 10798 Wiedner Hauptstra?e 8-10/1071 A-1040 Wien, Austria http://www.ci.tuwien.ac.at/~leisch