DOS programs usually send their prints to a parallel port (usually LPT1:), but the standard DOSBox 0.74 version doesn't support such ports, so they cannot print.
So, first of all, you need a DOSBox variant that does support LPT ports redirection (like DOSBox SVN Daum or vDosPlus) as described at https://www.printfil.com/efaq32.htm
At that point, the faq above includes a video showing how to make Printfil capturing the LPT1: port (or LPT2:, LPT3:, COM1: ...) by its own standard configuration dialog.
This video instead shows how to capture LPT1: in vDosPlus (the DOSBox variant we installed for the test) by using the command line parameters from the Windows Command Prompt.
Preparation:
We've installed the vDosPlus DOSBox variant
We've created a C:\DOS directory containing the EDIT.EXE program and an Invoice.txt file to simulate a DOS print (you'll use your own DOS program)
We've configured Printfil to merge a background image to the textual invoice as described at https://www.printfil.com/article/dos-... (optional)
Let's go:
Open the Windows Command Prompt (not DOSBox)
Move to the Printfil install folder:
CD \"Program Files"\Printfil or CD \"Program Files (x86)"\Printfil
Type the DOSBox configuration command:
Printfil DOSBox LPT1
Printfil detects vDosPlus and autoconfigures it
Now open vDosPlus
Start a DOS program and print to LPT1:
Printfil captures the print and adds the background, so that you can print it to any Windows printer, including PDF writers.
Download the Free 30 days Printfil trial at https://www.Printfil.com and try it yourself.
======================================================
Subscribe the YouTube channel: https://www.youtube.com/c/Aswit-srl?s...
Follow us on Facebook: / printfil
Visit our website: https://www.Printfil.com