Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.msdos.programmer > #4206 > unrolled thread

Re: Convert .PRN file to .TXT

Started byAbdul Aziz <abduldblogger@gmail.com>
First post2022-12-29 01:27 -0800
Last post2023-01-01 18:26 +0100
Articles 5 — 5 participants

Back to article view | Back to comp.os.msdos.programmer

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Convert .PRN file to .TXT Abdul Aziz <abduldblogger@gmail.com> - 2022-12-29 01:27 -0800
    Re: Convert .PRN file to .TXT JJ <jj4public@outlook.com> - 2022-12-29 21:58 +0700
    Re: Convert .PRN file to .TXT Tavis Ormandy <taviso@gmail.com> - 2022-12-29 15:13 +0000
    Re: Convert .PRN file to .TXT "R.Wieser" <address@not.available> - 2022-12-29 17:03 +0100
    Re: Convert .PRN file to .TXT Johann Klammer <klammerj@NOSPAM.a1.net> - 2023-01-01 18:26 +0100

#4206 — Re: Convert .PRN file to .TXT

FromAbdul Aziz <abduldblogger@gmail.com>
Date2022-12-29 01:27 -0800
SubjectRe: Convert .PRN file to .TXT
Message-ID<2df0640d-1e5b-49bf-b64d-41557bb397f3n@googlegroups.com>
On Saturday, May 30, 1998 at 12:30:00 PM UTC+5:30, Leonardo Serni wrote:
> unca...@aol.com (Uncabill) wrote:
> >Sometimes the only way I can get info from windows that I can manipulate for my
> >own purposes is in the form of a .PRN file. These files are created by
> >printing from a program to a file using a PCL printer driver. An example is in
> >W95 Device Manager system summary. If you elect to print this to a file, it
> >creates a .PRN file. MY QUESTION: does anybody know of a program that will
> >convert this format into an unformatted text file i.e. a .TXT file.
> Have you tried installing an "ASCII/Text Only" printer on Windows?
> Leonardo
> 
> ".signature": bad command or file name

Hi everyone, 
I need to achieve the same using Java or Kotlin programming language, is it possible in 2022?  :)

[toc] | [next] | [standalone]


#4207

FromJJ <jj4public@outlook.com>
Date2022-12-29 21:58 +0700
Message-ID<17r8vo9901qup.1gtkxojcm5ha4.dlg@40tude.net>
In reply to#4206
On Thu, 29 Dec 2022 01:27:12 -0800 (PST), Abdul Aziz wrote:
> On Saturday, May 30, 1998 at 12:30:00 PM UTC+5:30, Leonardo Serni wrote:
>> unca...@aol.com (Uncabill) wrote:
>>>Sometimes the only way I can get info from windows that I can manipulate for my
>>>own purposes is in the form of a .PRN file. These files are created by
>>>printing from a program to a file using a PCL printer driver. An example is in
>>>W95 Device Manager system summary. If you elect to print this to a file, it
>>>creates a .PRN file. MY QUESTION: does anybody know of a program that will
>>>convert this format into an unformatted text file i.e. a .TXT file.
>> Have you tried installing an "ASCII/Text Only" printer on Windows?
>> Leonardo
>> 
>> ".signature": bad command or file name
> 
> Hi everyone, 
> I need to achieve the same using Java or Kotlin programming language, is it possible in 2022?  :)

For DOS, only Taurus JVM is usable, and only some Java standard packages are
available.

[toc] | [prev] | [next] | [standalone]


#4208

FromTavis Ormandy <taviso@gmail.com>
Date2022-12-29 15:13 +0000
Message-ID<k15p44F1uoqU1@mid.individual.net>
In reply to#4206
On 2022-12-29, Abdul Aziz wrote:
> Hi everyone, 
> I need to achieve the same using Java or Kotlin programming language, is it possible in 2022?  :)

You're replying to a thread from 30 years ago, on a group for the
discussion of msdos programming. I think it would be very surprising to
find java programmers here. Try a java group, like comp.lang.java.

Also, start a new thread, don't reply to long dead ones!

I don't know Java, but I would use ghostscript or libgs with the
txtwrite device.

Tavis.

-- 
 _o)            $ lynx lock.cmpxchg8b.com
 /\\  _o)  _o)  $ finger taviso@sdf.org
_\_V _( ) _( )  @taviso

[toc] | [prev] | [next] | [standalone]


#4209

From"R.Wieser" <address@not.available>
Date2022-12-29 17:03 +0100
Message-ID<tokdpk$15k2$1@gioia.aioe.org>
In reply to#4206
Abdul,

> Hi everyone,
> I need to achieve the same using

Maybe you could do what Leonardo suggested ?

>> Have you tried installing an "ASCII/Text Only" printer on Windows?

Regards,
Rudy Wieser

[toc] | [prev] | [next] | [standalone]


#4213

FromJohann Klammer <klammerj@NOSPAM.a1.net>
Date2023-01-01 18:26 +0100
Message-ID<tosfpd$j44$1@gioia.aioe.org>
In reply to#4206
On 12/29/2022 10:27 AM, Abdul Aziz wrote:
> On Saturday, May 30, 1998 at 12:30:00 PM UTC+5:30, Leonardo Serni wrote:
>> unca...@aol.com (Uncabill) wrote:
>>> Sometimes the only way I can get info from windows that I can manipulate for my
>>> own purposes is in the form of a .PRN file. These files are created by
>>> printing from a program to a file using a PCL printer driver. An example is in
>>> W95 Device Manager system summary. If you elect to print this to a file, it
>>> creates a .PRN file. MY QUESTION: does anybody know of a program that will
>>> convert this format into an unformatted text file i.e. a .TXT file.
>> Have you tried installing an "ASCII/Text Only" printer on Windows?
>> Leonardo
>>
>> ".signature": bad command or file name
> 
> Hi everyone, 
> I need to achieve the same using Java or Kotlin programming language, is it possible in 2022?  :)
> 
The problem with the PS/PDF family of formats is that they do not necessarily contain text as text.
the letters might be there but not in the correct ordering. This bites me regularly,
when trying to copy code examples from microchip datasheets. 
In theory you might get somewhere by converting to some raster format and using an ocr program 
on that.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.os.msdos.programmer


csiph-web