Displaying 20 results from an estimated 31 matches for "outputfilenam".
Did you mean:
outputfilename
2003 May 16
1
Modified Cups Backed pdf writer to keep the original document name.
...n but too hard_
# \ / : * ? " < > |
TITLE=${TITLE//:/_}
TITLE=${TITLE//\//_}
TITLE=${TITLE//</_}
TITLE=${TITLE//>/_}
TITLE=${TITLE//|/_}
echo "fulltitle: "$FULLTITLE >> $LOGFILE
echo "chopped: "$TITLE >> $LOGFILE
# generate output filename
OUTPUTFILENAME=
if [ "$3" = "" ]; then
OUTPUTFILENAME="$PDFDIR/unknown.pdf"
else
# OUTPUTFILENAME="$PDFDIR/${3//[^[:alnum:]]/_}.pdf"
# I changed this to user name, and the printtime to track down who
# printed the PDF and when, samba printing just uses nobody
# defau...
2004 Aug 25
1
PDF printing with printing = CUPS
...us
PDFDIR=${DEVICE_URI#pdf:}
#EMR
else
PDFDIR=$HOMEDIR_ER
fi
#EMR
if [ ! -d "$PDFDIR" -o ! -w "$PDFDIR" ]; then
echo "ERROR: directory $PDFDIR not writable"
exit 1
fi
echo "PDF directory: $PDFDIR" >> $LOGFILE
# generate output filename
OUTPUTFILENAME=
if [ "$3" = "" ]; then
OUTPUTFILENAME="$PDFDIR/unknown.pdf"
else
# OUTPUTFILENAME="$PDFDIR/${3//[^[:alnum:]]/_}.pdf"
# I changed this to user name, and the printtime to track down who
# printed the PDF and when, samba printing just uses nobody
#EMR C...
2010 Dec 11
2
remove quotes from the paste output
...udy.Mplus_Input.Test.rep1.out.unstandardized.est
#C..PilotStudy.Mplus_Input.Test.rep2.out.unstandardized.est
#C..PilotStudy.Mplus_Input.Test.rep3.out.unstandardized.est
modelResultsTemp <- as.data.frame(modelResults)
MeansTempC1 = rep(NA ,9)
counter = 1
for (f in 1:3)
{
i=31
for (g in 1:3)
{
OutputFileName <-
paste("modelResultsTemp$C..PilotStudy.Mplus_Input.Test.rep",f,".out.unstandardized.est[",i,"]",sep="")
MeansTempC1[counter] = OutputFileName
i=i+1
counter = counter+1
}
}
Its not giving me any error but I'm not getting the desired output in
Mea...
2003 May 15
4
PDF Samba Printer - ps2pdf Only Letter Size?
Hi all,
I've got a nice working pdf samba printer emailing the right person thanks to PeteFwee and David F and am doing a little testing. I've just realized that it's set to Letter when it creates the .pdf file. and i've googled till i'm blue in the face and can't see any options that says page size or something similar. i'm running ghostscript 7.04.
does anybody
2010 Mar 03
2
uint decode error on visual studio...
...string.h>
#include <libcelt/celt.h>
int gBitRate=128000;
int gFrameSize=256;
int gSampleRate=44100;
int gNrChannels=1;
int main(int argc, char* argv[])
{
const char* inputfilename="..\\input_mono.snd";
const char* encodedfilename="..\\encoded_mono.celt";
const char* outputfilename="..\\output_mono.snd";
FILE* encodedfile=0;
FILE* inputfile=fopen(inputfilename,"rb");
if(!inputfile)
{
printf("ERROR opening %s for reading\n",inputfilename);
return -1;
}
encodedfile=fopen(encodedfilename,"wb");
if(!encodedfile)
{
printf("ERROR...
2009 Jul 29
2
[LLVMdev] Question on llc output stream
In llc's GetOutputStream we have this:
raw_fd_ostream *FDOut = new raw_fd_ostream(OutputFilename.c_str(),
/*Binary=*/true, Force, error);
Why is Binary set true here? We don't know yet whether this is going to be an
AsmFile or a MachOFile.
Setting Binary=true causes the stream to be unbuffered. Is this what we want?...
2012 Jan 15
0
Reading MINE output into a matrix
...max.num.boxes.exponent=max_num_boxes_exponent,
num.clumps.factor=num_clumps_factor)
#read output of MINE routine
#data is sorted in descending order of MIC variable
#output is half of a square symmetric matrix, excluding diagonal
#there are 9 columns, 7 of which are various stats
#calc of outputfilename could be better handled ...
# kludge included to deal with filename generated on Windows
outputfilename <- sprintf("%s,%s,cv=0.0,B=n^%g,Results.csv",datafilename,
sub(".","",pairs_method,fixed=TRUE),
max_num_bo...
2020 Jun 17
1
Slow and Incomplete printing from DOS Client 3.0
...tle copies options [file]"
exit 1
fi
# get output directory from device URI, and check write status
SAVEDIR=${DEVICE_URI#rawcapture:}
if [ ! -d "$SAVEDIR" -o ! -w "$SAVEDIR" ]; then
echo "ERROR: directory $SAVEDIR not writable"
exit 1
fi
# generate output filename
OUTPUTFILENAME=
if [ "$3" = "" ]; then
OUTPUTFILENAME="$SAVEDIR/unknown.cap"
else
if [ "$2" != "" ]; then
OUTPUTFILENAME="$SAVEDIR/$2-$PRINTTIME.cap"
else
OUTPUTFILENAME="$SAVEDIR/$PRINTTIME.cap"
fi
fi
# Copy File
cp $6 $OUTPUTFILENAME
# Mak...
2004 May 28
0
Samba PDF printer...
...unique filenames
PDFCOUNTFILE=/etc/pdf/"pdfcount"
if [ -f $PDFCOUNTFILE ] ; then
COUNT=`cat $PDFCOUNTFILE`
else
COUNT=0
fi
let COUNT=COUNT+1
# write counter to /etc/pdf/pdfcount
echo "$COUNT">$PDFCOUNTFILE
# filename for pdf output based on Windows Username and COUNT number
OUTPUTFILENAME=$NAMEFILE-$COUNT.pdf
# Send the message first to make it seem faster.
MESSAGE="\\134\134PdfServer\134pdfs\134$OUTPUTFILENAME has been created"
echo -e $MESSAGE | smbclient -M $MACHINENETBIOSNAME -U "PDF SERVER" >
/dev/null 2>&1
# Finally, make the pdf...
ps2pdf13...
2005 Aug 01
2
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
...sion 1.102
diff -u -r1.102 gccld.cpp
--- tools/gccld/gccld.cpp 8 Jul 2005 03:08:58 -0000 1.102
+++ tools/gccld/gccld.cpp 1 Aug 2005 22:06:26 -0000
@@ -308,8 +308,8 @@
Verbose);
if (Verbose) std::cout << "Generating Native Code\n";
GenerateNative(OutputFilename, AssemblyFile.toString(),
- LibPaths, Libraries, gcc, envp, LinkAsLibrary, RPath,
- SOName, Verbose);
+ LibPaths, Libraries, gcc, envp, LinkAsLibrary,
+ NoInternalize, RPath, SOName, Verbose);
if (!SaveTemps) {
//...
2003 May 30
12
pdf printer
Hi,
I created a PDFPrinter as per
http://marc.theaimsgroup.com/?l=samba&m=105301236523413&w=2
I have another question, do I need to add a Color Laser Printer Driver in
W2K to the PDF share to generate color PDF in Windows?
Regards,
Norman
2009 Jul 29
0
[LLVMdev] Question on llc output stream
On Jul 29, 2009, at 8:09 AM, David Greene wrote:
> In llc's GetOutputStream we have this:
>
> raw_fd_ostream *FDOut = new raw_fd_ostream(OutputFilename.c_str(),
> /*Binary=*/true,
> Force, error);
>
> Why is Binary set true here? We don't know yet whether this is
> going to be an
> AsmFile or a MachOFile.
Looks like a bug. It looks like there are two copies of that code, on...
2004 Dec 21
1
[LLVMdev] Cygwin port
...or, better yet, submit a patch. :)
Alright, here are the results of building the latest llvm from CVS under
cygwin:
lib\Debugger\SourceFile.cpp
needs #include <assert.h> when building with gcc 3.3.3
tools\gccld\gccld.cpp line 128
tools\llvm-ld\llvm-ld line 318
need sys::CopyFile(sys::Path(OutputFilename),
sys::Path(llvmstub));
Now, when linking gccld, the linker complains about an undefined
reference to llvm::sys::CopyFile(). That's where I got stuck:
lib\System\Path.cpp includes platform\Path.cpp
platform should be cygwin
Cygwin\Path.cpp includes Unix\Path.cpp w...
2012 Dec 28
1
Using grImport to create a watermark
...Murrell describes here:
http://cran.r-project.org/web/packages/grImport/vignettes/import.pdf (page
28). I can essentially reproduce this manually at the R prompt, and
independently I can use grid.picture(…) successfully in a R script, but
when I attempt to do do this in my script:
•
•
•
postscript(outputFilename,paper="us")
grid.picture(noaalogo,distort=FALSE,width=0.5,x=0.50,y=0.50)
grid.rect(gp=gpar(fill=rgb(1,1,1,0.9)))
plot(dat,xaxt="n",type="b",ylim=c(y_range[1],y_range[2]),main=labelStr,xlab="Date",ylab="Elevation,
NAVD88 (Ft)")
•
•
•
dev.off()
T...
2005 Aug 02
0
[LLVMdev] [patch] gccld not passing -export-dynamic to gcc for link
...sion 1.102
diff -u -r1.102 gccld.cpp
--- tools/gccld/gccld.cpp 8 Jul 2005 03:08:58 -0000 1.102
+++ tools/gccld/gccld.cpp 2 Aug 2005 04:11:11 -0000
@@ -308,8 +308,8 @@
Verbose);
if (Verbose) std::cout << "Generating Native Code\n";
GenerateNative(OutputFilename, AssemblyFile.toString(),
- LibPaths, Libraries, gcc, envp, LinkAsLibrary, RPath,
- SOName, Verbose);
+ LibPaths, Libraries, gcc, envp, LinkAsLibrary,
+ NoInternalize, RPath, SOName, Verbose);
if (!SaveTemps)...
2007 Jan 22
0
[LLVMdev] addPassesToEmit(Whole)File changes?
...st)) {
std::cerr << argv[0] << ": target does not support generation of this"
<< " file type!\n";
if (Out != &std::cout) delete Out;
// And the Out file is empty and useless, so remove it now.
sys::Path(OutputFilename).eraseFromDisk();
return 1;
}
Passes.doInitialization();
// Run our queue of passes all at once now, efficiently.
for (Module::iterator I = mod.begin(), E = mod.end(); I != E; ++I)
if (!I->isExternal())
Passes.run(*I);
Passes.do...
2007 Jul 05
2
[LLVMdev] PATCH (rest of code changes) "bytecode" --> "bitcode"
Here is the bulk of the sanitizing.
My residual doubts center around the question
whether we still do/want to support (un)compressed *byte*code
in 2.0/2.1.
I need a definitive word on this to proceed.
My understanding is that bytecode is already gone, but there are
still some functions/enums that really deal with *byte*code
(instead of *bit*code).
I did not touch those areas, so the attached
2007 Jan 22
2
[LLVMdev] addPassesToEmit(Whole)File changes?
Hi folks,
just installed the new llvm 1.9 build and noticed that my code no
longer worked. It seems something has changed with
addPassesToEmitFile(). First, the arguments to that method changed so
that it no longer takes a PassManager, but only a
FunctionPassManager. Instead there is a addPassesToEmitWholeFile()
method, but that is marked as optional, and when I change my code to
2014 Sep 26
4
Patch to add buffering to decoding too
Removed buffer size increase. Only tells the filesize to Windows now.
On 26.9.2014 14:08, Erik de Castro Lopo wrote:
> Martijn van Beurden wrote:
>
>> Can you please wrap the setvbuf in _WIN32 IFDEFs too? Currently
>> memory usage of FLAC decoding is about 1MB, so this patch is
>> increasing memory usage tenfold, also for platforms that do not
>> need this. It is a
2006 May 17
0
[LLVMdev] Obfuscation with LLVM
...e.h"
#include "llvm/Bytecode/WriteBytecodePass.h"
#include "MakeDispatcherPass.h"
using namespace llvm;
static cl::opt< std::string >
InputFilename( cl::Positional, cl::desc( "<input .bc file>" ), cl::Required
);
static cl::opt< std::string >
OutputFilename( cl::Positional, cl::desc( "<output .bc file>" ),
cl::Required );
static cl::opt< bool >
NoVerify( "disable-verify", cl::desc( "Do not verify result module" ),
cl::Optional );
int main( int argc, char* argv[] )
{
std::string programName = argv[ 0 ] =...