Print to LPT1: via dosemu
by WayCon from LinuxQuestions.org on (#54H2X)
Hello. I've managed to get dBase IV running on dosemu to print (I'm using the latest version of Mint), but but it prints only one line per second which is too slow for a receipt printer. Here is a the complete dosemu config:
Quote:
The MG2100-series is for a set of Epson receipt printers, in this case an MT-U325 PD. As I said, it will print the first line of simple text for the receipt (less than 40 characters), then wait about a second and then print the second line, wait a second, and print the third, etc.. If I print long lines of text from dBase, it will print one line, then wait over a minute to print the next line, then wait another minute to print the next, etc.. On the same computer running windows 10 (32 bit Dell) everything works perfectly without any installed driver ("Epson Text Printer"). Any ideas?


Quote:
# 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 -P MG2100-series" # $_lpt2 = "lpr -l -P lpt2" # $_lpt3 = "" # $_lpt1 = "lpr -l" # $_printer_timeout = (10) #$_ports { device /dev/lp1 fast range 0x378 0x37f } You can delete this line... # idle time in seconds before spooling out. Default: (20) $_printer_timeout = (10) |