Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

There is no distinction between any AI program and some existent game.


devel / comp.lang.xharbour / Re: How to convert text file(s) to PDF format?

SubjectAuthor
* Re: How to convert text file(s) to PDF format?rodrego sandino
`* Re: How to convert text file(s) to PDF format?rodrego sandino
 `- Re: How to convert text file(s) to PDF format?Jayadev U

1
Re: How to convert text file(s) to PDF format?

<3cbe3294-1cb2-46c9-bacd-4e7723fa69bfn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16760&group=comp.lang.xharbour#16760

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ad4:4ea8:: with SMTP id ed8mr7418989qvb.2.1628197523691; Thu, 05 Aug 2021 14:05:23 -0700 (PDT)
X-Received: by 2002:a37:46cc:: with SMTP id t195mr7137962qka.57.1628197523535; Thu, 05 Aug 2021 14:05:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 5 Aug 2021 14:05:23 -0700 (PDT)
In-Reply-To: <j4skfk$3ml$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=88.202.230.45; posting-account=kOaMbAoAAADBi_KIblwKo-rtDchXiP8x
NNTP-Posting-Host: 88.202.230.45
References: <cdc06f52-c642-48b2-8073-b64f571cc025@k12g2000vbd.googlegroups.com> <73c83a7b-9ed8-457f-b463-853ef8931046@e34g2000prn.googlegroups.com> <46f43a62-1c07-4c93-bab0-6dbb50429b85@s42g2000prb.googlegroups.com> <56001dd5-5d23-4278-8abe-a0571fbd932c@h6g2000yqe.googlegroups.com> <j4skfk$3ml$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3cbe3294-1cb2-46c9-bacd-4e7723fa69bfn@googlegroups.com>
Subject: Re: How to convert text file(s) to PDF format?
From: sandinisto77@gmail.com (rodrego sandino)
Injection-Date: Thu, 05 Aug 2021 21:05:23 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 101
 by: rodrego sandino - Thu, 5 Aug 2021 21:05 UTC

On Thursday, September 15, 2011 at 6:37:04 PM UTC+8, Jayadev wrote:
> Dear Dwa Grosze,
>
> Please see your private mail, I have sent you a txt2pdf.prg which I
> generally use, you may have to modify it suitably to suit your environment.
> Please my dear brother please send this txt2pdf.prg to my email too vandam_9000@hotmail.com please i urgently need it.
> HTH,
>
> Warm regards,
>
> Jayadev
>
> "Dwa Grosze" <dwagr...@gmail.com> wrote in message
> news:56001dd5-5d23-4278...@h6g2000yqe.googlegroups.com...
> On 14 Wrz, 18:56, dlzc <dl...@cox.net> wrote:
> > On Sep 13, 5:27 pm, dlzc <dl...@cox.net> wrote:
> >
> > > Dear Dwa Grosze:
> >
> > > On Sep 13, 4:49 am, Dwa Grosze <dwagros...@gmail.com> wrote:
> > > ...
> >
> > > > The problem is as above. I searched all this group with
> > > > various keywords but didn't found any useful info. I'm
> > > > new to xHb, so maybe that's a reason too :) Some
> > > > discussion on coverting pdf to txt I found but none of
> > > > them says sth like this: yoy got a function ... and so on.
> > > > Is there any function in xHB to do this or I'll have to try
> > > > some other way?
> >
> > > How is the text file generated?
> >
> > I find the following methods exported in (an older copy of) PDFlib:
> > <QUOTE>
> > METHOD New( cFile, nLen, nHeigth, nWidth )
> > METHOD PdfNewPage( _cPageSize, _cPageOrient, _nLpi, _cFontName,
> > _nFontType, _nFontSize )
> > METHOD PdfClosePage()
> > METHOD PdfClose()
> > METHOD PdfPageSize( _cPageSize )
> > METHOD PdfPageOrient( _cPageOrient )
> > METHOD PdfSetLpi( _nLpi )
> > METHOD PdfSetFont( _cFont, _nType, _nSize, cId )
> > METHOD PdfDrawHeader()
> > METHOD PdfMargins( nTop, nLeft, nBottom )
> > METHOD PdfImageInfo( cFile )
> > METHOD PdfTiffInfo( cFile )
> >
> > METHOD Pdfjpeginfo( cFile )
> > METHOD Pdfimage( cFile, nRow, nCol, nHeight, nWidth, cId,
> > Scalex, Scaley )
> > METHOD Pdfatsay( cString, nRow, nCol, lExact, cId )
> > METHOD Pdfgetfontinfo( cParam )
> > METHOD Pdfpagenum( n )
> >
> > METHOD Getpagetype( nWidth, nHeight )
> > METHOD Settop( N ) INLINE ::aReport[ PDFTOP ] := N // top
> > METHOD Setleft( N ) INLINE ::aReport[ PDFLEFT ] := N // left &
> > right
> > METHOD Setbottom( N ) INLINE ::aReport[ PDFBOTTOM ] := N
> > METHOD Pdf_Rect( x, y, width, height )
> > METHOD Pdf_Stroke()
> > METHOD Setoverline( l )
> > METHOD Setunderline( l )
> > METHOD Pdfmoveto( X, Y )
> > METHOD Pdflineto( X, Y )
> > METHOD Pdfsetlinewidth( w )
> > METHOD Pdfsetlinecap( w )
> > METHOD Pdfsetdash( b, w )
> > METHOD Pdfsave( lBuf )
> > METHOD Pdfrestore( lBuf )
> > METHOD Pdfunder( Text, Len, X, Y )
> > METHOD Pdfover( Text, Len, x, y )
> > METHOD Pdf_Str_Width( Text, Len, Font, Size )
> > METHOD Pdfsetrgbcolor( R, G, B )
> > METHOD Pdfscale( X, Y, lBuf )
> > METHOD Pdftranslate( tX, tY )
> >
> > METHOD Pdfpnginfo( cFile )
> > METHOD Pdfrotate( pHi )
> > METHOD Pdfclosepath()
> > METHOD Pdfendpath()
> >
> > METHOD Pdfcurveto( x1, y1, x2, y2, x3, y3 )
> > METHOD Pdfcomplevel( x )
> > METHOD Pdfinfo( cTitle, cAuthor, cKey, cCreator )
> > METHOD PDF_setrgbcolor_fill( R, G, B )
> > <END QUOTE>
> >
> > ... so you might be able to generate the PDF with the formatting you
> > want, without making the text file first.
> >
> > David A. Smith
>
> Thank You for such a hugh part of knowledge! I hope it'll help me in
> my future xHB tasks. Now I just have to do something really simple. I
> got a flat text file with control chars/marks like CRLF, eject and
> EndOfFile and I just have to "save it as" pdf format. If *it* really
> needs wider study and usage of the library You've mentioned I'll got
> more work I thought in my most audacious presumptions...:(
>
> Thanks!

Re: How to convert text file(s) to PDF format?

<aed1b5d0-0c02-457e-a4a4-b831fb4838ban@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16764&group=comp.lang.xharbour#16764

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:1999:: with SMTP id bm25mr9110247qkb.329.1628260436082; Fri, 06 Aug 2021 07:33:56 -0700 (PDT)
X-Received: by 2002:ad4:552a:: with SMTP id ba10mr224644qvb.1.1628260435830; Fri, 06 Aug 2021 07:33:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Fri, 6 Aug 2021 07:33:55 -0700 (PDT)
In-Reply-To: <3cbe3294-1cb2-46c9-bacd-4e7723fa69bfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=161.35.109.248; posting-account=kOaMbAoAAADBi_KIblwKo-rtDchXiP8x
NNTP-Posting-Host: 161.35.109.248
References: <cdc06f52-c642-48b2-8073-b64f571cc025@k12g2000vbd.googlegroups.com> <73c83a7b-9ed8-457f-b463-853ef8931046@e34g2000prn.googlegroups.com> <46f43a62-1c07-4c93-bab0-6dbb50429b85@s42g2000prb.googlegroups.com> <56001dd5-5d23-4278-8abe-a0571fbd932c@h6g2000yqe.googlegroups.com> <j4skfk$3ml$1@dont-email.me> <3cbe3294-1cb2-46c9-bacd-4e7723fa69bfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aed1b5d0-0c02-457e-a4a4-b831fb4838ban@googlegroups.com>
Subject: Re: How to convert text file(s) to PDF format?
From: sandinisto77@gmail.com (rodrego sandino)
Injection-Date: Fri, 06 Aug 2021 14:33:56 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 103
 by: rodrego sandino - Fri, 6 Aug 2021 14:33 UTC

On Friday, August 6, 2021 at 5:05:24 AM UTC+8, rodrego sandino wrote:
> On Thursday, September 15, 2011 at 6:37:04 PM UTC+8, Jayadev wrote:
> > Dear Dwa Grosze,
> >
> > Please see your private mail, I have sent you a txt2pdf.prg which I
> > generally use, you may have to modify it suitably to suit your environment.
> > Please my dear brother please send this txt2pdf.prg to my email too vanda...@hotmail.com please i urgently need it.
> > HTH,
> >
> > Warm regards,
> >
> > Jayadev
> >
> > "Dwa Grosze" <dwagr...@gmail.com> wrote in message
> > news:56001dd5-5d23-4278...@h6g2000yqe.googlegroups.com...
> > On 14 Wrz, 18:56, dlzc <dl...@cox.net> wrote:
> > > On Sep 13, 5:27 pm, dlzc <dl...@cox.net> wrote:
> > >
> > > > Dear Dwa Grosze:
> > >
> > > > On Sep 13, 4:49 am, Dwa Grosze <dwagros...@gmail.com> wrote:
> > > > ...
> > >
> > > > > The problem is as above. I searched all this group with
> > > > > various keywords but didn't found any useful info. I'm
> > > > > new to xHb, so maybe that's a reason too :) Some
> > > > > discussion on coverting pdf to txt I found but none of
> > > > > them says sth like this: yoy got a function ... and so on.
> > > > > Is there any function in xHB to do this or I'll have to try
> > > > > some other way?
> > >
> > > > How is the text file generated?
> > >
> > > I find the following methods exported in (an older copy of) PDFlib:
> > > <QUOTE>
> > > METHOD New( cFile, nLen, nHeigth, nWidth )
> > > METHOD PdfNewPage( _cPageSize, _cPageOrient, _nLpi, _cFontName,
> > > _nFontType, _nFontSize )
> > > METHOD PdfClosePage()
> > > METHOD PdfClose()
> > > METHOD PdfPageSize( _cPageSize )
> > > METHOD PdfPageOrient( _cPageOrient )
> > > METHOD PdfSetLpi( _nLpi )
> > > METHOD PdfSetFont( _cFont, _nType, _nSize, cId )
> > > METHOD PdfDrawHeader()
> > > METHOD PdfMargins( nTop, nLeft, nBottom )
> > > METHOD PdfImageInfo( cFile )
> > > METHOD PdfTiffInfo( cFile )
> > >
> > > METHOD Pdfjpeginfo( cFile )
> > > METHOD Pdfimage( cFile, nRow, nCol, nHeight, nWidth, cId,
> > > Scalex, Scaley )
> > > METHOD Pdfatsay( cString, nRow, nCol, lExact, cId )
> > > METHOD Pdfgetfontinfo( cParam )
> > > METHOD Pdfpagenum( n )
> > >
> > > METHOD Getpagetype( nWidth, nHeight )
> > > METHOD Settop( N ) INLINE ::aReport[ PDFTOP ] := N // top
> > > METHOD Setleft( N ) INLINE ::aReport[ PDFLEFT ] := N // left &
> > > right
> > > METHOD Setbottom( N ) INLINE ::aReport[ PDFBOTTOM ] := N
> > > METHOD Pdf_Rect( x, y, width, height )
> > > METHOD Pdf_Stroke()
> > > METHOD Setoverline( l )
> > > METHOD Setunderline( l )
> > > METHOD Pdfmoveto( X, Y )
> > > METHOD Pdflineto( X, Y )
> > > METHOD Pdfsetlinewidth( w )
> > > METHOD Pdfsetlinecap( w )
> > > METHOD Pdfsetdash( b, w )
> > > METHOD Pdfsave( lBuf )
> > > METHOD Pdfrestore( lBuf )
> > > METHOD Pdfunder( Text, Len, X, Y )
> > > METHOD Pdfover( Text, Len, x, y )
> > > METHOD Pdf_Str_Width( Text, Len, Font, Size )
> > > METHOD Pdfsetrgbcolor( R, G, B )
> > > METHOD Pdfscale( X, Y, lBuf )
> > > METHOD Pdftranslate( tX, tY )
> > >
> > > METHOD Pdfpnginfo( cFile )
> > > METHOD Pdfrotate( pHi )
> > > METHOD Pdfclosepath()
> > > METHOD Pdfendpath()
> > >
> > > METHOD Pdfcurveto( x1, y1, x2, y2, x3, y3 )
> > > METHOD Pdfcomplevel( x )
> > > METHOD Pdfinfo( cTitle, cAuthor, cKey, cCreator )
> > > METHOD PDF_setrgbcolor_fill( R, G, B )
> > > <END QUOTE>
> > >
> > > ... so you might be able to generate the PDF with the formatting you
> > > want, without making the text file first.
> > >
> > > David A. Smith
> >
> > Thank You for such a hugh part of knowledge! I hope it'll help me in
> > my future xHB tasks. Now I just have to do something really simple. I
> > got a flat text file with control chars/marks like CRLF, eject and
> > EndOfFile and I just have to "save it as" pdf format. If *it* really
> > needs wider study and usage of the library You've mentioned I'll got
> > more work I thought in my most audacious presumptions...:(
> >
> > Thanks!
i am still waiting you mister jayadev ....please send me the prg file of Txt2pdf program to my email vandam_9000@hotmail.com please hurry up.

Re: How to convert text file(s) to PDF format?

<seq9g5$5gr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=16775&group=comp.lang.xharbour#16775

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: _ujayadev_@gmail.com (Jayadev U)
Newsgroups: comp.lang.xharbour
Subject: Re: How to convert text file(s) to PDF format?
Date: Mon, 9 Aug 2021 09:34:20 +0530
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <seq9g5$5gr$1@dont-email.me>
References: <cdc06f52-c642-48b2-8073-b64f571cc025@k12g2000vbd.googlegroups.com>
<73c83a7b-9ed8-457f-b463-853ef8931046@e34g2000prn.googlegroups.com>
<46f43a62-1c07-4c93-bab0-6dbb50429b85@s42g2000prb.googlegroups.com>
<56001dd5-5d23-4278-8abe-a0571fbd932c@h6g2000yqe.googlegroups.com>
<j4skfk$3ml$1@dont-email.me>
<3cbe3294-1cb2-46c9-bacd-4e7723fa69bfn@googlegroups.com>
<aed1b5d0-0c02-457e-a4a4-b831fb4838ban@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 9 Aug 2021 04:04:21 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="aaa211be08bc986b5c4618602d8bcec3";
logging-data="5659"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/s9t7MdXQPJCrnmD4xnz/Tq+V32won+Y0="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.12.0
Cancel-Lock: sha1:7yfL/aopdQP6146RohOHlZ9APJI=
In-Reply-To: <aed1b5d0-0c02-457e-a4a4-b831fb4838ban@googlegroups.com>
Content-Language: en-US
 by: Jayadev U - Mon, 9 Aug 2021 04:04 UTC

Hi,

Please check your email. Sorry for the delay in replying. I saw your
post just now.

Warm regards,

Jayadev

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor