There is a page which provides all the necessary information related to configuring Printfil to print through DOSBox application.
I recommend checking the following URL to see exactly how the DOSBox needs to be configured: http://www.printfil.com/efaq32.htm
Make sure to use the recommended DOSBox builds. If the DAUM one is not working for you, switch to MegaBuild.