Displaying 2 results from an estimated 2 matches for "tempreport".
Did you mean:
techreport
2004 Nov 23
0
[OT] *nix Server/Windows Client Tips and tricks
...user is the same on every
# workstation.
#
# you also must be using WINS and have Sophos installed
# at the default location on every client machine.
#
# last updated: 11-19-2004
WINSFILE=/var/cache/samba/wins.dat
DATE=`date +%m%d%y%h%m%s`
TEMPFILE=/tmp/sophoslog.$DATE
TEMPDIR=/tmp/sophosdir.$DATE
TEMPREPORT=/tmp/sophosreport.$DATE
# you will need to change this bit, obviously
SMBUSER=yoursophosuser
SMBPASS=yoursophospass
MAILTO=root
MOUNTPOINT=/mnt/sophoslogs
# your log location may differ. You'll have to add a bit of logic
# if you've got older 9x (or other) clients. Mine are all XP or 2k
L...
2017 Sep 22
1
Embedding PDF into RTF document via R language
...and a slew of RTF commands), I assemble a text document with an RTF extension. The document contains text, tables, and images (JPEG format, previously created with R).
To ?import? the JPEG images into the document, I use the following R code:
cat("\\pard\\qc {\\pict\\jpegblip\n", file=TEMPREPORT, append=T)
cat(toupper(readBin(IMAGEFILE, "raw", 10000000)), fill=64, sep="",file=TEMPREPORT, append=T)
cat("\n}\\par\\ql", file=TEMPREPORT, append=T)
The critical text is:
jpegblip ? which presumably informs the RTF reader that what follows is a JPEG
readBin ? wh...