Displaying 20 results from an estimated 144 matches for "sdevic".
Did you mean:
sdevice
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 = "")
if (!is.na(g...
2007 Apr 25
5
Upload PDF / Save as tiff
...f 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
However...
2007 Apr 15
1
mac ghostscript help
...en 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
search of the R archiv...
2002 Sep 22
0
CUPS filtering mechanism explained, was: [cups raw mode, was Re: unlink data file in cups_job_submit]
...(constructs complicated
# | (= "postscipt interpreter") Ghostscript commandline
# | to let the file be
# V processed by a
# APPLICATION/VND.CUPS-RASTER "-sDEVICE=<s.th.>"
# | call...)
# | |
# V |
# rasterto<something> V
# | (= "raster driver") +-----------...
2010 Sep 11
2
Latex fonts in R graphics
...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 unzipped in the working directory...
2008 Nov 14
1
Bug#505698: r-base-core: dev2bitmap fails with gsexe related error (PR#13288)
...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(extra, "...
2012 Oct 05
2
SendFAX - multi-page TIFF
Hi,
Does anyone had the problem of asterisk SendFax + spandsp sending only
the first page of a multi-page TIFF file?
Seams to be related to spandsp ECM config.
Any thoughts about it?
Thanks,
Gabriel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20121005/ac471600/attachment.htm>
1999 Aug 16
1
Question: HP LaserJet III
Here is my bit "o" problem:
We have an HP Laser Jet III with the postscript add on. We have been
using the printer under samba for while, but every print job, there is a
page that says %[LAST PAGE]% + other garbage. Does anybody know of any
hacks or fix's to get the printer / samba to get this system to not
print that last page.
Info:
Clients = Win9X - Print via the HP LJ III PS
2003 Jan 09
1
GS PDF creator
...7.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)
...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 -dBATCH -q -sDEVI...
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
...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?Helvetica-Bold
#
Execution stack:
#
???%interp_exit???.runexec2???--nostringval--??...
2010 Jul 30
1
Reading .eps file created in Illustrator
...k 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()
...rogram 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)
1: PostScriptTrac...
2003 Feb 24
5
PDF Printer issue
...nting 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
...athname <- 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 have to do w...
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",
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
2023 Mar 21
1
Xen with libvirt and SR-IOV
....1
# lspci | egrep -i "net|eth"
00:00.6 Ethernet controller: Intel Corporation Ethernet Virtual Function
700 Series (rev 02)
# lspci -vmmks 00:00.6
Slot: 00:00.6
Class: Ethernet controller
Vendor: Intel Corporation
Device: Ethernet Virtual Function 700 Series
SVendor: Intel Corporation
SDevice: Device 0000
Rev: 02
Module: i40evf
Module: iavf
NUMANode: 0
# lsmod | egrep -i "iavf|i40"
iavf 135168 0
auxiliary 16384 1 iavf
ptp 20480 1 iavf
# ifconfig eth0
eth0: error fetching interface information: Device not found
The same V...