Displaying 20 results from an estimated 38 matches for "dbatch".
Did you mean:
batch
2008 Nov 03
1
dev2bitmap: extra missing
Hi,
I don't know if I am the first one to report the problem:
in 2.8.0 dev2bitmap gained aa support, but "extra" is null
if neither taa nor naa is specified.
> dev2bitmap("plot.pdf",type="pdfwrite")
Error in paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=", type, :
object "extra" not found
> dev2bitmap("plot.pdf",type="pdfwrite",taa=4)
>
I guess a useful default for extra is missing:
if (!is.na(taa))
extra <- paste(" -dTextAlphaBits=", taa, sep = "")
i...
2007 Apr 25
5
Upload PDF / Save as tiff
...ersion of a PDF document received via a
browser upload to a tiff image via ghostscript. I have the PDF data in
a string, and I need the tiff data returned into a string.
The general command I want to emulate is:
type test.pdf | "c:\program files\gs\gs8.56\bin\gswin32c.exe" -q
-dNOPAUSE -dBATCH -sDEVICE=tiffg4 -sOutputFile=- > test5.tiff
I''ve had success in writing directly to a file via:
IO.popen(''c:\program files\gs\gs8.56\bin\gswin32c.exe -q -dNOPAUSE
-dBATCH -sDEVICE=tiffg4 -sOutputFile=test3.tiff -'', "wb") do |pipe|
pipe.write pdf_data
end...
2007 Apr 15
1
mac ghostscript help
...t software works.
When I run PostScriptTrace after loading the grImport package, I get
this response:
> PostScriptTrace("/Users/erinberryman/Documents/data.ps")
Error in PostScriptTrace("/Users/erinberryman/Documents/data.ps") :
status 256 in running command 'gs -q -dBATCH -dNOPAUSE -
sDEVICE=pswrite -sOutputFile=/dev/null -sstdout=data.ps.xml
capturedata.ps'
ESP Ghostscript 7.07.1: Unrecoverable error, exit code 1
I am confused by the mention of a Ghostscript 7.07.1, because that is
not the version that I have installed on my computer. After running a
se...
2010 Sep 11
2
Latex fonts in R graphics
..."cmembed.pdf",
fontpaths=c("cm-lgc/fonts/type1/public/cm-lgc", "."))
Error in embedFonts("cm.pdf", outfile = "cmembed.pdf", fontpaths =
c("cm-lgc/fonts/type1/public/cm-lgc", :
status -1 in running command 'gswin32c.exe -dNOPAUSE -dBATCH -q
-dAutoRotatePages=/None -sDEVICE=pdfwrite
-sOutputFile=C:\DOCUME~1\user\LOCALS~1\Temp\RtmpccEtgV\Rembed28163716
-sFONTPATH=cm-lgc/fonts/type1/public/cm-lgc;. cm.pdf'
In addition: Warning message:
In system(cmd) : gswin32c.exe not found
Operating system: Windows XP, SP2.
cm-lgc has been...
2008 Nov 14
1
Bug#505698: r-base-core: dev2bitmap fails with gsexe related error (PR#13288)
...ta wrote:
| Package: r-base-core
| Version: 2.8.0-1
| Severity: normal
|
| As in subject. The bug is reproducible on my machine with these
| commands:
|
| > x <- rnorm(100)
| > plot(density(x))
| > dev2bitmap("density.png")
| Error in paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=", type,
| :
| object "extra" not found
| >
Confirmed. The code in looks a little off inasmuch as in
if (!is.na(taa))
extra <- paste(" -dTextAlphaBits=", taa, sep = "")
if (!is.na(gaa))
extra <- paste(ex...
2003 Jan 09
1
GS PDF creator
...mbprn.000007.xavd1g.pdf. I'd like the output file to be the same as the
input file is this possible? i.e. file.txt into file.pdf
Thanks for your help.
Gabe
[smbpdf]
comment = PDF Generator
path = /var/spool/samba
printable = yes
print command = gs -dNOPAUSE -dbatch -q -sDEVICE=pdfwrite
-sOutputFile=/var/tmp/%s.pdf <%s 1>/dev/null 2>&1; rm -f %s
2001 Apr 12
0
using bitmap to make a multi-page pdf file results in (PR#909)
...hermore, if I execute
> from the command line the command as constructed in 'bitmap()', using the
> Rbit... file as input, I get a pdf file with the correct number of graphs
> in it.
It's Windows-specific and easy to fix: replace
cmd <- paste(gsexe, " -dNOPAUSE -dBATCH -q -sDEVICE=", type,
" -r", res,
" -g", ceiling(res*width), "x", ceiling(res*height),
" -sOutputFile=", file, " ", tmp, sep="")
by
cmd <- paste(gsexe, " -dNOPAUSE -dBATC...
2002 Aug 08
2
R graphics and dpi
Is there a way to tell at what dpi R generates graphics at? I need to
generate 600 dpi graphics for an article.
-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2011 Mar 27
1
grImport/ghostscript problems
...D:\Sndbx\vasarely.ps
However, I can't get the PostScriptTrace() function to work on the same file. Submitting PostScriptTrace("D:/Sndbx/vasarely.ps") gives me the error:
Error in PostScriptTrace("D:/Sndbx/vasarely.ps") : status 127 in running command 'gswin32c.exe -q -dBATCH -dNOPAUSE -sDEVICE=pswrite -sOutputFile=C:\Users\Al\AppData\Local\Temp\RtmppPjDAf\file5db99cb -sstdout=vasarely.ps.xml capturevasarely.ps'
Your suggestions are much appreciated. Cheers, Al
[[alternative HTML version deleted]]
2009 Jul 15
1
ghostscript 8.64 errors.
Hello,
To fix some issues in working with gs 8.63 I had to upgrade to 8.64. I build the rpm from ghostscript-8.64-9.fc11.src.rpm. I get the following error when running
gs -q -dSAFER -dNOPAUSE -dBATCH -dUseCropBox -dFirstPage=1 -dLastPage=1 -sOutputFile=/tmp/TIFF-%d.tif -r300 -sDEVICE=tiff12nc foobar.pdf
#
Error: /invalidfont in /findfont
#
Operand stack:
#
--nostringval--???--dict:5/14(L)--???F2???9.75???FontObject???--dict:9/9(L)--?--dict:9/9(L)--?GillSansMT???--dict:15 15(L)--?Helvetica-Bold...
2010 Jul 30
1
Reading .eps file created in Illustrator
...nd let the user click on
different parts to run different actions.
Thanks for any help or alternative ways to do this,
Patrick
PostScriptTrace("test.eps")
/bin/sh: gs: command not found
Erreur dans PostScriptTrace("test.eps") :
status 32512 in running command 'gs -q -dBATCH -dNOPAUSE -
sDEVICE=pswrite -sOutputFile=/dev/null -sstdout=test.eps.xml
capturetest.eps'
[[alternative HTML version deleted]]
2012 Jun 24
1
Error using PostScriptTrace()
...R_GSCMD="C:/Program Files/gs/gs9.05/bin/gswin64c.exe")
> PostScriptTrace("Senegal_location_map.ps", charpath=F)
Error in PostScriptTrace("Senegal_location_map.ps", charpath = F) :
status 127 in running command 'C:/Program Files/gs/gs9.05/bin/gswin64c.exe
-q -dBATCH -dNOPAUSE -sDEVICE=pswrite -sOutputFile=
C:\Users\heman\AppData\Local\Temp\Rtmp2duW3P\filefd01d981ff7
-sstdout=Senegal_location_map2.ps.xml captureSenegal_location_map.ps'
> traceback()
2: stop(gettextf("status %d in running command '%s'", ret, cmd),
domain = NA)...
2003 Feb 24
5
PDF Printer issue
...regular printing of any sort.
Here is my smb.conf section:
[purchpdf]
comment = PDF Generator for Purchasing
path = /var/spool/samba
valid users = *UserNames Removed*
write list = *UserNames Removed*
printable = yes
print command = gs -dNOPAUSE -dbatch -q -sDEVICE=pdfwrite
-sOutputFile=/share/purchasing/pdf/%J.pdf <%J 1>/dev/null 2>&1; rm -f %J
Thanks for any assistance that can be rendered.
Regards,
Robert Adkins II
IT Manager/Buyer
Impel Industries, Inc.
586-254-5800
2007 Mar 31
1
Too long pathname in bitmap() crashes R on WinXP
....");
pathname <- file.path(path, filename);
print(pathname);
# Tell R where Ghostscript is
gsexe <- "C:/gs/gs8.54/bin/gswin32c.exe";
gsexe <- "C:/Program Files/gs/gs8.56/bin/gswin32c.exe";
gsexe <- shortPathName(gsexe);
cmd <- paste(gsexe, " -dNOPAUSE -dBATCH -q -sDEVICE=png256 -r72
-g432x432 -sOutputFile=", pathname, sep="");
print(cmd);
print(nchar(cmd));
tmp <- tempfile();
postscript(file=tmp, width=6, height=6, pointsize=9, paper="special",
horizontal=FALSE, print.it=TRUE, command=cmd);
plot(1);
dev.off();
It seems to h...
2002 Oct 30
4
PDF printer using ps2pdf ?
Hi,
Is it possible to set up a printer in samba
that will use ps2pdf converter to create pdf documents when printing on it ?
Best Regards
Steph
2009 Sep 04
3
eps file with embedded font
Dear list,
I am trying to make eps file with embedded font.
I use:
postscript("ranking-exp-all.eps", horizontal=TRUE, onefile=FALSE,
paper="special", height=8, width=12, family="Helvetica")
# plot stuff
dev.off()
since R does not embed font, I then use:
embedFonts(file="indegdistr.eps", outfile="indegdistrEMB.eps",
2010 Apr 29
5
reduce size of pdf
is there a way to reduce the size of pdf files in R: ?
compression?
lower dpi ?
or some other option?
2003 Nov 19
0
howto improve sharpeness of fonts in a jpg-image producedby R ?
...g-image through the bitmap-function. I was actually able
to produce nice-looking png's doing the steps:
1. Using bitmap to produce a pdf-file
2. invoking ghostscript from my bash-shell and converting the pdf-file
produced by the bitmap-function into a png-image. ( gs -sDEVICE=png256
-r150 -dBATCH -sOutputFile=barplotx_normal.png
/usr/share/ghostscript/7.05/examples/barplotx_normal.pdf)
In the end the best suggestion was to try another approach using the
png-function in R instead of the bitmap-function.
/Niels
R1.8.0
Linux redhat 9
GhostScript version 7.05
Cand. Polit.
Niels St...
2006 Oct 11
1
sending fax with chan-capi
Hi!
Has someone ever used the sendfax option of new chan-capi to send fax? I
need some help regarding the sff format:
How can I generate sff format? I found sfftobmp, not nothing the other
way round.
Is there a nice way to get the sff out of an Windows application (like
virtual printers for hylafax) or at least some scripts which produce the
sff and the asterisk call file out of an pdf?
2008 Dec 22
0
txfax/rxfax fun
...pplication to upload a tiff via a web
interface, slap a cover page onto it, merge the two into a new tiff and send
it out via txfax. I'm able to get it out to a fax machine using this
sequence:
/usr/bin/tiff2pdf /tmp/faxout/1229978819_filea.tif -o
/tmp/faxout/1229978819_filea.pdf
/usr/bin/gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite
-OutputFile=/srv/www/htdocs/faxout/1229978819_fin.pdf
/srv/www/htdocs/faxout/1229978819_faxout.pdf
/tmp/faxout/1229978819_filea.pdf
cp /srv/www/htdocs/faxout/1229978819_fin.pdf
/srv/www/htdocs/faxout/1229978819_faxout.pdf
convert -compress group4 -monochrome -negate -...