• Re: Convert .PRN file to .TXT

    From Abdul Aziz@abduldblogger@gmail.com to comp.os.msdos.programmer on Thu Dec 29 01:27:12 2022
    From Newsgroup: comp.os.msdos.programmer

    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? :)
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From JJ@jj4public@outlook.com to comp.os.msdos.programmer on Thu Dec 29 21:58:32 2022
    From Newsgroup: comp.os.msdos.programmer

    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.
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Tavis Ormandy@taviso@gmail.com to comp.os.msdos.programmer on Thu Dec 29 15:13:08 2022
    From Newsgroup: comp.os.msdos.programmer

    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
    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From R.Wieser@address@not.available to comp.os.msdos.programmer on Thu Dec 29 17:03:54 2022
    From Newsgroup: comp.os.msdos.programmer

    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


    --- Synchronet 3.21d-Linux NewsLink 1.2
  • From Johann Klammer@klammerj@NOSPAM.a1.net to comp.os.msdos.programmer on Sun Jan 1 18:26:57 2023
    From Newsgroup: comp.os.msdos.programmer

    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.

    --- Synchronet 3.21d-Linux NewsLink 1.2