From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Knecht Subject: Printing from dosemu Date: Thu, 19 Aug 2004 14:49:06 -0700 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <41252052.5080700@controlnet.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: linux-msdos@vger.kernel.org Hi, I hope I'm in the right place to try a few questions. I'm running a Gentoo box with dosemu installed. dosemu itself seems fine for running the old text-based program I need to run, but I'm perplexed at how to get dosemu to print to my Linux printer. 1) In /etc/dosemu.conf I've enabled the line: $_printer_command = "lpr" 2) From Linux I can print (through CUPS) to the network printer: Gentoo2 root # lpr /etc/dosemu.conf Gentoo2 root # lpq HP is ready and printing Rank Owner Job File(s) Total Size active root 221 dosemu.conf 16384 bytes Gentoo2 root # lpq HP is ready no entries Gentoo2 root # 3) From within dosemu I cannot seem to find the right command to get to lpr: C:\>copy autoexec.bat prn: autoexec.bat => prn C:\>lpr: unable to print file: client-error-not-found C:\>copy autoexec.bat lpr: Invalid parameter. - 'lpr:' I've seen others that had this error on the web but I cannot find an answer to any of their queries. Hopefully I will do better here. thanks in advance, Mark