How to redirect LPT1 output to a disk file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




I am using dosemu 1.4.0.8 to run QuickBasic programs that are some 20+ years
old. Except for one issue this has been working great.  The problem is the
LPRINT statement, which I believe sends output to the parallel port. I would
like to capture this output into a disk file.

At http://dosemu.org/docs/HOWTO/x246.html#AEN248 there is a section called
"How can I get the parallel ports to work?" which says

    The dosemu.conf has lines at the end to redirect printers to either
    lpr or a file.

On my computer these lines from /etc/dosemu/dosemu.conf seem to be what is
referred to:

##############################################################################
## Printer and parallel port settings

# Print commands to use for LPT1, LPT2 and LPT3.
# Default: "lpr -l", "lpr -l -P lpt2", and "" (disabled)
# Which means: use the default print queue for LPT1, "lpt2" queue for LPT2.
# "-l" means raw printing mode (no preprocessing).

# $_lpt1 = "lpr -l"
# $_lpt2 = "lpr -l -P lpt2"
# $_lpt3 = ""

# idle time in seconds before spooling out. Default: (20)

# $_printer_timeout = (20)

##############################################################################

However, these lines are not at all clear to me.  What changes are needed so
that lpt1 output goes to a disk file?

Thank you for your attention.

Roger House
Software Developer

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Console]     [Linux Audio]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite Camping]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Samba]     [Linux Media]     [Fedora Users]

  Powered by Linux