Printing Problems
A message that is not in the archive (sent off-list or not yet received): 001301c32aa8$3cdee9e0$c201a8c0@PCADRIAN
I have a problem when I try to print in a matrix dot printer.
I am working with Mandrake 9.0 and a MS Cobol application running on the dosemu.
If I send to print letters o numbers I have no problem, but if I send special simbols, like control characters (End of Page, bold font) the printer doesn't work.
Could you help me with this? Is it possible to send anything I want directly to the LPT1 port without pass through the linux, like a dir > lpt1 in DOS? Thank you.
Francisco Gomez.
Quoted 8 lines · On Wed, 4 Jun 2003 12:00:38 -0300 "Francisco Gomez" <[email protected]> wrote:
I have a problem when I try to print in a matrix dot printer.
I am working with Mandrake 9.0 and a MS Cobol application running on the dosemu.
If I send to print letters o numbers I have no problem, but if I send special simbols, like control characters (End of Page, bold font) the printer doesn't work.
Could you help me with this? Is it possible to send anything I want directly to the LPT1 port without pass through the linux, like a dir > lpt1 in DOS?
Hi!
It seems that print filter corrupts your output. Try attached patch for global.conf (it adds '-l' option to print command) and run dosemu like this:
dosemu -F global.conf
global.conf renamed from global.conf.orig +1 -1
@@ -612,7 +612,7 @@ vnet $_vnet if (strlen($_printer)) foreach $xxx ($LIST_DELIM, $_printer) - $xxx = "'-P", $xxx, " %s'"; + $xxx = "'-l -P", $xxx, " %s'"; printer { options $$xxx command "lpr" timeout $_printer_timeout } done endif