• Re: Convert .PRN file to .TXT

    From Abdul Aziz@21:1/5 to Leonardo Serni on Thu Dec 29 01:27:12 2022
    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? :)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From JJ@21:1/5 to Abdul Aziz on Thu Dec 29 21:58:32 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Tavis Ormandy@21:1/5 to Abdul Aziz on Thu Dec 29 15:13:08 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From R.Wieser@21:1/5 to All on Thu Dec 29 17:03:54 2022
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Johann Klammer@21:1/5 to Abdul Aziz on Sun Jan 1 18:26:57 2023
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)