Re: printing

Ivan Baldo <[email protected]>
Newsgroups org.kernel.vger.linux-msdos
Message-ID <[email protected]>
     Hello.
     Strange then... it seems everything is configured right but your 
specific application doesn't work.
     Have you waited more than 20 seconds?
     Also, you may try putting this in dosemu.conf:
$_lpt1 = "lpr -P Laserprinter"
$_lpt2 = "lpr -P Laserprinter"
$_lpt3 = "lpr -P Laserprinter"
     This is just in case that it uses another port.

     Another thing you can try:
$_lpt1 = "cat >>/tmp/dosemu.lpt1"
$_lpt2 = "cat >>/tmp/dosemu.lpt2"
$_lpt3 = "cat >>/tmp/dosemu.lpt3"
     Then try printing from the program and look at those files in /tmp 
to see what they contain.

     Hope this helps!
     Bye.



El 19/11/10 03:46, Vedran Vucic escribió:
> Hello,
>
> When I do command: dir>PRN it prints a list of subfolders.
>
> My DOS application prints to PRN. Any advise?
>
> Best wishes,
>
> Veki
>
> On Fri, Nov 19, 2010 at 1:14 AM, Ivan Baldo<[email protected]>  wrote:
>    
>>     Hello.
>>     Your boot.log looks right!
>>     The DOS application prints to LPT1 or PRN? Maybe it prints to LPT2 or
>> LPT3 in which case you can configure them in dosemu.conf to be the same
>> printer.
>>     If you execute under DOS the command "dir>PRN" does it print anything?
>>     HTH.
>>     Bye.
>>
>>
>>
>> El 18/11/10 22:02, Vedran Vucic escribió:
>>      
>>> Hello,
>>>
>>> Please check this:
>>> http://pastebin.ca/1995937
>>>
>>> Thanks,
>>>
>>> Veki
>>>
>>> On Fri, Nov 19, 2010 at 12:52 AM, Ivan Baldo<[email protected]>   wrote:
>>>
>>>        
>>>>     Hello.
>>>>     The config file seems correct.
>>>>     But maybe DOSEmu isn't reading that file but another.
>>>>     Please post the file boot.log (usually in ~/.dosemu/boot.log).
>>>>     Thanks!!!
>>>>
>>>>
>>>> El 18/11/10 21:18, Vedran Vucic escribió:
>>>>
>>>>          
>>>>> Hello,
>>>>>
>>>>> When I want to print from my DOS application I cannot print on my USB
>>>>> HP LP1020 printer. My printer is named Laserprinter in my cups
>>>>> configuration. When I print from terminal using command
>>>>> lpr -P Laserprinter nameoffile
>>>>> it works well.
>>>>> You can find my dosemu.conf on this link:
>>>>> http://pastebin.ca/1995898
>>>>>
>>>>> Please advise.
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Veki

-- 
Ivan Baldo - [email protected] - http://ibaldo.codigolibre.net/
 From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: [email protected] - http://go.to/ibaldo

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.