public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Re: DOSEMU not printing to USB printer
@ 2007-11-18 12:08 Garth Kay-Hards
  0 siblings, 0 replies; 5+ messages in thread
From: Garth Kay-Hards @ 2007-11-18 12:08 UTC (permalink / raw)
  To: Linux-msdos

On 18 November, Jan wrote 

> ## Printer and parallel port settings
> # 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"
> # $_lpt2 = "lpr -l -P lpt2"
> # $_lpt3 = ""
> # idle time in seconds before spooling out. Default: (20)
> $_printer_timeout = (20)
>
> Do not use "-l" if you intend to use a DOS program that doesn't have a
> printer driver for your particular printer. "-l" bypasses the CUPS
printer 
> driver, only the CUPS spooler is used in that case.

Okay, Jan's solution looked like the simple solution to the 3 I got
(thank you Frank and Rafal for yours - I'll keep your solutions on the
side) 
I removed the -l from the dosemu.conf file (it now reads $_lpt1 = "lpr"
and the printer now allows me to print from the DOS command line.
That's a big step forward for me and I will test out the DBL program now
and see if it will print all that it requires.  I will let you guys know
what the results are.
Thanks very much to you all.
Regards
Garth



^ permalink raw reply	[flat|nested] 5+ messages in thread
* DOSEMU not printing to USB printer
@ 2007-11-17 17:54 Garth Kay-Hards
  2007-11-17 18:06 ` Frank Cox
  2007-11-18 18:23 ` Jan Kandziora
  0 siblings, 2 replies; 5+ messages in thread
From: Garth Kay-Hards @ 2007-11-17 17:54 UTC (permalink / raw)
  To: linux-msdos

I have loaded DOSEMU 1.4.0 and am trying to get a old DBL program
running which does Accounting. My Linux system is Open SUSE 10.2.
The DBL package is running nicely but I am unable to print from the
program or from the DOS prompt (eg COPY NAME.BAT LPT1: )
As I understand from the notes I've found that dosemu spools the print
to the default Linux printer, which in my case is a USB printer. I can
find no discussions on using a USB printer but I assume as it's the
Linux default it will just work. A standard "lpr filename" from the
Linux command prompt works fine.
I have tried altering the dosemu.conf file to enable LPT1 as follows:

## Printer and parallel port settings
# 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"
# $_lpt2 = "lpr -l -P lpt2"
# $_lpt3 = ""
# idle time in seconds before spooling out. Default: (20)
$_printer_timeout = (20)

This dosemu.conf installed automatically into /etc/dosemu
I have tried the configuration in the /etc directory but I still can't
print.

Any help would be greatly appreciated.
Garth


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

end of thread, other threads:[~2007-11-19 18:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-18 12:08 DOSEMU not printing to USB printer Garth Kay-Hards
  -- strict thread matches above, loose matches on Subject: below --
2007-11-17 17:54 Garth Kay-Hards
2007-11-17 18:06 ` Frank Cox
2007-11-18 18:23 ` Jan Kandziora
2007-11-19 18:05   ` Jan Willem Stumpel

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