Displaying 20 results from an estimated 117 matches for "soutputfil".
Did you mean:
soutputfile
2007 Apr 25
5
Upload PDF / Save as tiff
...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, I really want to b...
2007 Apr 15
1
mac ghostscript help
...ptTrace 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 archives, I began to think...
2003 Jan 09
1
GS PDF creator
...9;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
2010 Sep 11
2
Latex fonts in R graphics
...s/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 "C:/Program
Files...
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>
2001 Apr 12
0
using bitmap to make a multi-page pdf file results in (PR#909)
...> 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 -sDEVICE=", type,
" -r", res,
" -g", ceiling(res*width), "x", ceiling(res*height),
" -sOutputFi...
2008 Nov 03
1
dev2bitmap: extra missing
...lphaBits=", gaa, sep = "")
cmd <- paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=",
type, " -r", res, "-dAutoRotatePages=/None", " -g", ceiling(res *
width), "x", ceiling(res * height), extra, " -sOutputFile=",
shQuote(file), " ", tmp, sep = "")
best wishes,
ido
> R.Version()
$platform
[1] "x86_64-redhat-linux-gnu"
$arch
[1] "x86_64"
$os
[1] "linux-gnu"
$system
[1] "x86_64, linux-gnu"
$status
[1] ""
$major
[1...
2011 Mar 27
1
grImport/ghostscript problems
...'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...
2010 Jul 30
1
Reading .eps file created in Illustrator
...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()
...s9.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: PostScriptTrace("Senegal_locat...
2003 Feb 24
5
PDF Printer issue
...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
...ilename);
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 with the length of 'cmd' (si...
2002 Oct 18
5
Printing with wine
...DeskJet 1220C=WINEPS;LPR:HP
(The CUPS printer name is "HP")
My wine config has:
[parallelports]
"Lpt1" = "/dev/lp0"
[spooler]
"LPT1:" = "|lpr"
;"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
;"LPT3:" = "/dev/lp3"
(The HP is the CUPS default)
My system.reg has:
[System\\CurrentControlSet\\Control\\Print\\Environments\\Windows
4.0\\Drivers\\PS Driver] 1034954575
"Configuration File"="winep...
2005 Mar 10
2
Quicken 2000 install fails with insufficient temp disk space
...ot;/dev/ttyS1"
"Com3" = "/dev/ttyS2"
"Com4" = "/dev/modem"
[parallelports]
"Lpt1" = "/dev/lp0"
[ppdev]
[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred
-q -"
"LPT3:" = "/dev/lp3"
[ports]
[Debug]
[registry]
"LoadGlobalRegistryFiles" = "Y"
"LoadHomeRegistryFiles" = "Y"
"LoadWindowsRegistryFiles" = "Y"
"WritetoHomeRegistryFiles" = "Y"
&...
2001 Mar 23
1
wine.conf
...ge' it founds).
;; XVideoPort = 43
[fonts]
;Read documentation/fonts before adding aliases
Resolution = 96
Default = -adobe-times-
[serialports]
Com1=/dev/ttyS0
Com2=/dev/ttyS1
Com3=/dev/modem,38400
Com4=/dev/modem
[parallelports]
Lpt1=/dev/lp0
[spooler]
LPT1:=|lpr
LPT2:=|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -
LPT3:=/dev/lp3
[ports]
;read=0x779,0x379,0x280-0x2a0
;write=0x779,0x379,0x280-0x2a0
[spy]
Exclude=WM_SIZE;WM_TIMER;
[registry]
; Paths must be given in /dir/dir/file.reg format.
; Wine will not understand dos file names here...
;These are all booleans. Y/y/T/t/1 are true, N/n/F...
2008 Nov 14
1
Bug#505698: r-base-core: dev2bitmap fails with gsexe related error (PR#13288)
...haBits=", gaa, sep = "")
cmd <- paste(shQuote(gsexe), " -dNOPAUSE -dBATCH -q -sDEVICE=",
type, " -r", res, "-dAutoRotatePages=/None", " -g", ceiling(res *
width), "x", ceiling(res * height), extra, " -sOutputFile=",
shQuote(file), " ", tmp, sep = "")
system(cmd)
'extra' does get set if and only if taa or gaa are given. Adding a simple
extra <- ""
before the quoted code block fixes the trivial bug. I am CC'ing upstream.
All that said, yo...
2003 May 22
2
Wine and winsock
...tSansSerif" = "-adobe-helvetica-"
[serialports]
"Com1" = "/dev/ttyS0"
"Com2" = "/dev/ttyS1"
[parallelports]
"Lpt1" = "/dev/lp0"
[spooler]
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"
[ports]
[spy]
[registry]
"LoadGlobalRegistryFiles" = "Y"
"LoadHomeRegistryFiles" = "Y"
"LoadWindowsRegistryFiles" = "Y"
"WritetoHomeRegistryFiles" = "Y"...
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?
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