public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Printing from dosemu
@ 2004-08-19 21:49 Mark Knecht
       [not found] ` <412605C0.70404@nf.sympatico.ca>
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Knecht @ 2004-08-19 21:49 UTC (permalink / raw)
  To: linux-msdos

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-08-26 12:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-19 21:49 Printing from dosemu Mark Knecht
     [not found] ` <412605C0.70404@nf.sympatico.ca>
2004-08-25 20:20   ` Mark Knecht
2004-08-26 12:28     ` Anderson Pereira Ataides

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox