Displaying 20 results from an estimated 10000 matches similar to: "Wine prints Postscript code"
2003 Oct 08
4
Unpredictable EPS->PDF rotation (PR#4460)
Dear r-bugs,
When I create EPS files, they sometimes appear rotated in my LaTeX PDF
document and sometimes they don't. Two examples:
## x1.eps is not rotated in LaTeX
x <- seq(-1, 1, length=100)
postscript("c:/x1.eps", height=3, width=4,
horizontal=FALSE, onefile=FALSE, paper="special")
plot(x, dnorm(x), type="l")
dev.off()
## x2.eps is not
2001 May 31
1
paper size in postscript driver
I have a non-PS printer setup to print under linux using ghostscript as a
filter. This printer has two paper trays, one has letter paper, the other
tabloid size paper. If I print from a program that uses a PPD file to
configure the printer, like StarOffice or The Gimp, I can select the paper
size from a nifty list. If I select letter size, the printer print with
paper from the letter tray. If
2005 Jan 24
1
R 'postscript' plot - not a valid postscript (PR#7559)
Full_Name: Mr. Daniel Murray Bolser
Version: R 2.0.0 (2004-10-04)
OS: Linux beagle 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux
Submission from: (NULL) (193.60.81.207)
Trying to execute the following code produces a 'not a valid postscript' error
from various postscript readers (gv, ggv, ghostscript). A very similar code
works fine.
<CODE>
postscript()
2009 May 21
1
postscript problems (landscape orientation)
I use the following function to export some figures to .eps:
p.eps <- function(p, fname, title = NULL, width, height)
{
postscript(file=fname, onefile=FALSE, paper="special",
width=width, height=height, horizontal=FALSE)
print(p + opts(title = title))
dev.off()
}
Whenever I have a page consisting of *only* figures exported in this way,
Acrobat Reader shows them in
2001 May 07
2
postscript problem
hello all,
when trying to produce a plot with the following code
postscript("g6-5000-0705-b.ps")
par(mfrow=c(4,1))
for (i in 1:4) {
somc<-cumsum(betaC[,i])/c(1:N)
plot(somc,ylim=c(min(somc),max(somc)));
}
dev.off()
I get a postscript file g6-5000-0705-b.ps, but if I try to open it
with ghostscript, or to convert it to pdf, I get the following error :
Error: /invalidfont in
2001 Sep 13
3
OT: ps -> eps -> MS Word
I've created a bunch of postscript trees (post.rpart), which I subsequently
edit in Adobe Acrobat 4.05 (I need additional labelling that isn't easy to
add with R). After editing the labels and annotations using Acrobat, I
then export the file to Adobe's .eps format so I can insert the picture
into a Microsoft Word 2000 document. The .pdf file distilled from the .ps
file is
2000 Jun 22
2
Postscript Legends (or not)
I discovered a little problem when using the Windows NT release of R
1.0.1, and it's still there in R 1.1.0.
The boiled down version is this: I want to draw the following plot and
put it into a Postscript file:
x <- c(1,2,3,4); y1 <- c(1,2,3,4); y2 <- c(2,2,2,2)
Fred <- c(1,2)
postscript(file="d:/Bob/Papers/IFM/try2.ps")
plot(x,y1, type="l")
2005 Oct 11
1
MiKTeX/yap/Ghostcript issues with R-generated postscript
Hello,
I wonder if anybody has encountered this problem?
While MiKTeX/yap/Ghostscript seems to work fine on most TeX files that I
have
tested (including a great deal of postscript graphics), there is one
file where the
graphics works ok for all postscript files except one, the only one that
is generated
by R. I get an error "Some postscript specials could not be rendered",
and the
2005 Dec 14
2
Printing Postscript - Very Weird Problem.
Hey folks,
okay, here's the situation - I have a Centos 4.2 system with cups printing
installed printing via postcript (with appropriate PPD file) to a HP
LaserJet 1320N printer (via jetdirect socket 9100).
Everything seems to work right - except for an unusual 'font'??? problem.
Many letters seem to be just slightly garbled. At first I thought this
was a mechanical problem at
2006 Jun 09
1
Postscript output encoding on Windows
With R 2.3.1 on Windows, I've noticed that it defaults to the
"WinAsci.enc" encoding, which throws up an error when viewed with the
default install of GhostScript/GSView (versions 8.51/4.7 respectively).
I didn't have this problem prior to upgrading to 2.3.1 as I can view all
my old PS graphs and they don't have the WinAsci encoding. I've got
around this problem by
1999 Feb 01
2
PostScript bugs in R-0.63.1
I have a minor problem with the PostScript generated by R-0.63.1.
Specifically, the files generated *will* work in:
ghostview
on an HP LaserJet
on an Apple LaserWriter
*will not* work in:
ghostscript under xdvi
on a SPARCprinter
The error message on the SPARCprinter was
Error: /invalidfont
Command: 'definefont'
Ostack: /Font5 /Font5 font(Symbol,1)
Estack:
2008 Jul 06
2
Issue with postscript figures using WinAnsi encoding
Hi there,
I've hit a bump in writing postscript files with special characters in
the WinAnsi encoding on a windows machine.
Here's some sample code:
###########################################
postscript(file = "test.eps", encoding="WinAnsi.enc",
width = 3, height = 5.5, onefile = TRUE, horizontal=FALSE, family =
"sans",
title =
2004 Jul 22
2
exporting high quality graphics from R in Mac OSX
Hi there
The default option for saving graphics from R (1.9.1) on my Mac is as a
pdf file. If I open the file in Acrobat reader it looks really good and
crisp, and is obviously saved as vector graphics, since I can zoom in
as much as I like and it continues to look really nice. If I import it
into MS Word (from office 2000), or Textedit, however, it imports it as
a bitmap and unless I save
2002 Jul 12
1
job fails to print via samba 2.2.6-pre1 - lpd ASCII a nd postscript test works fine...
Ah, it appears that I have confused myself...
I indeed have ALL of the queues defined as JetDirect with the model
specific driver selected in printconf.
With this combination I am telling linux to modify the job [via the filter]
and then pass it as a RAW [jetdirect] where I SHOULD just have the queue
define as JetDirect with a RAW as the driver and let the job go as
transmitted by the client
1999 Sep 08
1
PostScript output error
Hello,
I'm currently using R-0.65.0 with --gnome option in
configure on IRIX64 and Debian GNU/Linux.
I found a problem in generated postscript file which
has following sequence:
x <- 1:30
postscript("output.ps")
par(mfg=c(1,1,2,2))
plot(x,sin(x))
plot(x,sin(x))
plot(x,sin(x))
plot(x,sin(x))
dev.off()
The generated postscript file "output.ps" can't
2000 Nov 30
1
Landscape problems with ps2pdf
R Users,
I have created a multipage PostScript file using the postscript() function
with horizontal = TRUE to produce my plots in landscape. I intended to
convert that entire file to PDF using ps2pdf to have the plots available for
a presentation. Unfortunately, the resulting PDF document is rotated -90
degrees.
I have found dozens of references to this kind of problem with ps2pdf
online, but
2001 Feb 01
1
postscript and lty
To the plot experts:
when creating a plot containing different lines, each with a special line
type, it may happen that the result of 'postscript()' is not readable by
ghostview (which may not be an R error, thus not bug report ;-).
This is the case when mixing lty as 0:6 and character or even when
using lty as character only.
Example:
postscript("test.ps")
plot(1:10,
2004 Apr 03
2
a fix for rotated PDF graphs
Hi,
I have found references for the following problem in the list
archives, but no nice solution. So I decided to post one I came up
with.
The problem is that graphs output as eps files, for example using
ps.options(onefile=FALSE, paper="special", width=8, height=8,
horizontal=FALSE, pointsize=12)
get rotated when I convert them to pdf using epstopdf. Both ghostview
and
2009 Jan 19
1
R bug or ghostscript bug or my bug?
Dear R developers:
The following R program produces a pdf file that does not survive
ghostscript distillation correctly. The undistilled version is at
http://welch.econ.brown.edu/temp/try.PDF while the distilled version
is at http://welch.econ.brown.edu/temp/try.pdf . When previewed, the
points are wrong in the distilled .pdf version, but only in one of the
two points invokations (huh?) . The
2008 Jul 21
5
ps to pdf
I need a way to convert files that I save with Firefox as a 'print to
file' to 'pdf'
I tried 'convert' but that rendered the text as graphics which grew the
file and wasn't what I wanted.
How would someone accomplish this - or can I just print to a PDF?
Craig