Recent printing problems within DOSEMU

Recent printing problems within DOSEMU

Post by Marco Brav » Tue, 29 Apr 1997 04:00:00



Dear Linuxers,

I have satisfactorily used DOSEMU for a couple of years now. However,
recently (k. 2.0.28 w/vm86plus and DOSEMU requiring vm86plus) I have
printing problems, in that the DOS process and the lpr process do not
communicate.

Let me state some problem details:

This is the relevant line of /etc/dosemu.conf:

printer { options "-Pigmpro"  command "lpr"  timeout 20 }

(this is the only "printer" line, so only LPT1: is activated under DOS)

Shortly after printing something under DOS (in this case shortly after a
copy autoexec.bat lpt1: ) the console from which I have started xdos says:
"stopped - tty input", and this what ps reports (non relevant lines
deleted):

USER       PID %CPU %MEM  SIZE   RSS TTY STAT START   TIME COMMAND
bravi    16704  0.0  1.0   968   340  ?  S   20:07   0:00 grep xdos
root     16694  2.3  6.1  7616  1912  ?  T   20:06   0:02 xdos
root     16700  0.0  1.0   880   332  ?  T   20:07   0:00 lpr -Pigmpro

Does anybody have anything to suggest? Thanks a lot in advance!

Marco Bravi

--

Dip. Ing. Chimica               tel. +39-6-44585587 / 612
v. Eudossiana, 18               fax  +39-6-4827453
I-00184 Roma (Italy)            

 
 
 

1. Dosemu and recent kernels?

Has anyone gotten dosemu to compile on the new kernels?  I've tried on
both 1.3.66 and 1.3.67 and it fails, apparently because of changes in the
kernel.  Here's the appropriate info:

make[2]: Entering directory `/build/dosemu/src/dosext/net/v-net'
gcc  -I/build/dosemu/src/include  -I/build/src/kernel/linux-1.3.67/include
-I/bu
ild/dosemu/src/base/dev/pic -I/build/dosemu/src/dosext/dpmi
-I/usr/X11R6/include
 -D__KERNEL__ -Wall -Wstrict-prototypes -O6 \
-fomit-frame-pointer  -m486 -c -o dosnet.o dosnet.c
dosnet.c: In function `dosnet_open':
dosnet.c:232: warning: unused variable `dummyethaddr'
dosnet.c: In function `dosnet_init':
dosnet.c:271: `ARPHRD_ETHER' undeclared (first use this function)
dosnet.c:271: (Each undeclared identifier is reported only once
dosnet.c:271: for each function it appears in.)
dosnet.c:272: structure has no member named `type_trans'
dosnet.c:273: structure has no member named `type_trans'
dosnet.c:275: warning: assignment from incompatible pointer type
dosnet.c: At top level:
dosnet.c:299: redefinition of `kernel_version'
/build/src/kernel/linux-1.3.67/include/linux/module.h:100:
`kernel_version' previously defined here
make[2]: *** [dosnet.o] Error 1
make[2]: Leaving directory `/build/dosemu/src/dosext/net/v-net'
make[1]: *** [dosext/net/v-net] Error 2
make[1]: Leaving directory `/build/dosemu/src'
make: *** [itall] Error 2

Any ideas?

thanks,
chris

--

2. ansi/vt100 standard

3. How to get DOSEMU 5.2 to work on recent kernels

4. make buildworld on K6

5. Printing problem from within Netscape 3.0

6. Here's a trailer module for Apache...

7. How to run Quicken within dosemu!

8. Q: Working JDK1.1 for Sparc/Linux ?

9. dosemu: problem printing README.txt

10. Print date within awk.

11. Failed print job called from within Foxbase app

12. How to print a message, from within a shell script, to its own stderr

13. how do I print to the spool from within my C program