[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: Subject: Re: pdf2xy routine



**Reply to message from "Robert Holmgren" holmgren@xxxxxxxx, Tue, 11
Jan 2005 15:17:34 -0500

Thanks for taking the time with this.

≪FYI, always put a semi-colon after the last spec:≫

Aha, forgot that if I ever knew it. Thanks, will do.

≪what exactly is the command you are giving? I say something
like:
 PDF2XY POEM.PDF
where POEM.PDF is in my current directory.≫

I thought this might be the spanner in the works, because I tend to
specify drive letters whether I need to or not. So I'd been typing
PDF2XY d:postghst.pdf
even though the file was in d: (Usually, my data files are in a directory
on e, to which I have CD'd). But omitting the drive letter makes no
difference.

≪you're using the PDF2XY frame dated (Last Revision) "3/3/04"≫

Right, here's the header:
Convert PDF file to editable plain text, then CAll CLD|RJH 12/16/03
LastRev.3/3/04

Will do all the other suggestions and report back. I doubt OOM: my normal
(i.e. before running anything) $M+6=2. I'm also going to append my copy
of the frame, just in case it got garbled somehow; I did have a crash
last week, recall.

XPLeNCODE v2.0
b-gin [UNTITLED]
{{;5PDF2Xy}} Convert PDF file to editable plain text, then CA
ll CLD|RJH 12/16/03 LastRev.3/3/04[cr|lf]{002}[XH_]{<}SX13,{
<}VA$WA{>}{>}{<}IF{<}PV13{>}<1{>}{<}PRNo window{>}{<}EX{>}{<}
EI{>}[BX_]es 1[Q2_]{<}IF{<}VA|50{>}<1{>}{<}IF{<}VA$WS{>}>1{>}
[GT_]{<}SX50,{<}VA$DR{>}{>}{<}EI{>}{<}IF{<}VA$WS{>}==1{>}[DZ_
]{<}IF{<}VA$DE{>}>0{>}{<}SV50{>}{<}EI{>}{<}EI{>}{<}IF{<}VA|50
{>}<1{>}{<}PRNo PDF file{>}{<}EX{>}{<}EI{>}{<}EI{>}[BX_]func{032}
#{<}PV13{>}[Q2_]{<}SX13,{<}IS50{>}{>}{<}IF"\"{238}{<}IS13{>}<
0&":"{238}{<}IS13{>}<>1{>}{<}SX50,{<}VA$PA{>}{>}{<}IF"\[255+1
92+142]"{238}({<}IS50{>}+"[255+192+142]")<0{>}{<}SX50,{<}IS50
{>}+"\"{>}{<}EI{>}{<}SX13,{<}IS50{>}+{<}IS13{>}{>}{<}EI{>}{<}
IF"."{238}{<}IS13{>}<0{>}{<}SX13,{<}IS13{>}+".pdf"{>}{<}EI{>}
{<}IF{<}IS13{>}{240}" "&""""{238}{<}IS13{>}<>0&"""[255+192+14
2]"""{238}({<}IS13{>}+"[255+192+142]")<0{>}{<}SX13,""""+{<}IS
13{>}+"""{>}{<}EI{>}{<}SX50,{<}VA$ED{>}{>}[JM_]2.GetPath[Q2_]
{<}SX14,{<}IS50{>}{>};*;[cr|lf]{<}SV99,Win32{>}[JM_]2.GetXyOS
[Q2_]{<}IF{<}VA@652{>}{240}"=OS2"{>}{<}SV99,OS/2{>}{<}EI{>}{<
}SX99,"Ghostscript_EXE_"+{<}IS99{>}{>}[JM_]2.RegData/R[Q2_]{<
}SX50,{<}IS99{>}{>}{<}SV99,{>}{<}SV51,\{>}[JM_]2.XSR[Q2_][BX_
]ernv {<}PV14{>}\VIEWPDF.TMP[Q2_][BX_]wait[Q2_][BX_]ernv {<}P
V14{>}\VIEWPDF.TXT[Q2_][BX_]wait[Q2_];*;[cr|lf]{<}IF{<}VA@652
=2{>}{240}"W"{>}{<}SX50,{<}IS52{>}+"\PSTOTXT3.EXE"{>}[JM_]2.s
fn/nv[Q2_]{<}IF{<}IS50{>}{240}"not f"{>}{<}PR@50{>}{<}EX{>}{<
}EI{>}{<}SX15,{<}IS50{>}{>}{<}SX50,{<}IS13{>}{>}[JM_]2.sfn/nv
[Q2_]{<}IF{<}IS50{>}{240}"not f"{>}{<}PR@50{>}{<}EX{>}{<}EI{>
}[BX_]dos/nv/x/z /c {<}PV15{>} -output {<}PV14{>}\VIEWPDF.TMP
 "{<}PV50{>}"[Q2_]{<}EI{>}{<}IF{<}VA@652{>}{240}"OS2"{>}{<}SX
50,"/b /i /r ifn='"+{<}IS50{>}
+"';ofn='"+{<}IS14{>}+"\viewpdf.tmp';if stream(ifn,'C','query
 exists')>'' then '"+{<}IS52{>}+"\PSTOTXT3.EXE -output' ofn i
fn;else x=lineout(ofn,'File 'ifn||' does not exist!');"{>}[JM
_]2.s2[Q2_]{<}EI{>}{<}SX50,"60,"+{<}IS14{>}+"\viewpdf.tmp,"+{
<}IS14{>}+"\viewpdf.txt"{>}[JM_]2.AwaitRen[Q2_]{<}SX50,{<}IS1
4{>}+"\viewpdf.txt"{>}[JM_]2.CallOrGo[Q2_]{002}[cr|lf]
-nd
XPLeNCODE

Patricia M. Godfrey
PMGodfrey@xxxxxxxx