public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Razvan Cosma <razvan.cosma@telemach.com>
To: linux-msdos@vger.kernel.org
Subject: Re: allow access to parallel port
Date: Thu, 11 Dec 2003 16:33:56 +0200	[thread overview]
Message-ID: <3FD88054.40408@telemach.com> (raw)
In-Reply-To: <3FD76E75.1060009@telemach.com>

Status update: I gave up on the direct port access, and configured CUPS. 
I can print just fine from Linux, and can also do a echo "sdcsc" > LPT1: 
in dosemu.
But the application (which does a set output to printer or however that 
was called in dbase) freezes when trying to print. Listing the 
information on the screen works though. Is there anything special about 
the dbase/fox stuff?

Razvan Cosma wrote:

>  Hello,
> I'm trying to get some ancient applications to run on Mandrake 9.2, 
> dosemu-1.1.99.1- 1.i586.rpm. Everything goes well, except for 
> printing. The bloody apps seem to be written in Fox or Dbase.
> dmesg output:
> parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
> parport0: irq 7 detected
> parport0: Printer, EPSON LX-300+
> parport1: PC-style at 0x278 (0x678) [PCSPP,TRISTATE,EPP]
> parport1: irq 5 detected
> lp0: using parport0 (polling).
> lp1: using parport1 (polling).
> I have added the user to the lp group, that has write access to 
> /dev/lp0 and /dev/lp1, specified user c_all in dosemu.users, set 
> dosemu.bin suid root, placed
> $_ports = "device /dev/lp0 range 0x378 0x37a"
> $_ports = $_ports, " device /dev/lp1 range 0x278 0x27a"
> $_irqpassing = "5 7"
> in dosemu.conf, yet the good ole d 40:0 line in debug shows only 
> zeroes on the first line.
> Obviously the apps do not work, and I'm very much out of ideas. 
> Everything goes OK with just ms-dos or Windows on the same system, but 
> that is in no way a solution. Any other hints please?
>
> Thank you,
> Razvan
>


  reply	other threads:[~2003-12-11 14:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-10 19:05 allow access to parallel port Razvan Cosma
2003-12-11 14:33 ` Razvan Cosma [this message]
2003-12-11 14:38   ` Bart Oldeman
2003-12-11 16:05     ` allow access to parallel port - solved Razvan Cosma

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3FD88054.40408@telemach.com \
    --to=razvan.cosma@telemach.com \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox