I *think* the program is a clipper program (or maybe DBase, who knows?) but it was sending output to the screen between pages. I've fully "solved" the issue by putting the print documents in a queue and sending them to print when the program exits. I'm running dosemu on a remote system vis SSH. The user authenticates via key and putty sends a command to execute the program (going from local execution on the user's windows pc to remote execution... this keeps the user's experience the same, they had 4-5 icons to load programs before and that stays.. click the new icon and the app loads up) Here are the scripts I am using for this. I'm posting them because I had a hard time trying to find a solution for this. Printer Script: #!/bin/bash TMPFILE=`mktemp ~/printjobs/dfprint.XXXXXXXXXX` || exit 1 cat "$@" >> $TMPFILE Load Program Script: #!/bin/sh dosemu -E arextb reset echo Processing Print Queue... directory=~/printjobs/ for file in $( ls $directory ) do sleep 1 printf "\033[5i" cat $directory$file printf "\033[4i" sleep 1 rm $directory$file done exit It's not totally 100% ideal but since the printing works just as it does from DOS/Windows and the other solution was to either tunnel ports or use VPN for printing, this is so much better since there's less to manager. I'd say I'm 80% where I want to be... since I don't want to track down the developer and ask for changes of a DOS app that says "Copyright 1988" Now is there a way to set per-user printer settings in dosemu? There are two types of users: local and remote. The remote users will use this printing via-ssh setup. The local users dosemu should be sending the print jobs to a normal printer but right now LPT1: is configured globally for all users. On Sun, Sep 7, 2008 at 11:20 AM, Shaw Tong Tan <shawtan@xxxxxxxxx> wrote: > Hi, Andrew > > I am basically doing the same thing as what you try to achieve. > > You need a program. You can google and find it easily. The program can be in 2 forms. > > 1. lpansi.c it is a c program. need to compile to get a working binary > 2. lpansi shell script. > > I do encounter problem. In one of the dos clipper program printing scenario I have, the printing stopped after a while with error. But if I switch to server printing, then everything is good. > > Otherwise general printing is OK as long as it is simple text based output. > > > Procedure > 1. find the lpansi program > 2. Install in searchable path example /usr/local/bin > 3. In .dosemurc, find the lpt1 section, instead of the parameters to pass to lpr, just replace them with lpansi or whatever name you gave the sw. > 4. Putty, under terminal just search for the remote printing section and configure where necessary. > > I am sorry the actual setup is somewhere else and I am at home so I can only remember through memory. If you really need further pointer I can find more detail for you when I am able to access those items tomorrow. > > You do need to take note that many old DOS programs kind of do dot matrix printing, for dot matrix, it is mostly Epson ESC/P compatible. So if you have dot matrix printout with precise formatting and layout and you redirect to a normal laser printer, sometime the format will run off slightly. > > ST > > --- On Sun, 9/7/08, Andrew Joakimsen <joakimsen@xxxxxxxxx> wrote: > >> From: Andrew Joakimsen <joakimsen@xxxxxxxxx> >> Subject: Printing via TTY >> To: linux-msdos@xxxxxxxxxxxxxxx >> Date: Sunday, September 7, 2008, 4:16 AM >> I want to run dosemu on a server and redirect lpt1: to the >> tty >> printer. I am using PuTTY as an SSH client and it supports >> printing >> but I just need to figure out a way to redirect lpt1:. >> -- >> 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 > -- 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