public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Ivan Baldo <ibaldo@adinet.com.uy>
To: Vedran Vucic <vedran.vucic@gmail.com>,
	linux-msdos <linux-msdos@vger.kernel.org>
Subject: Re: printing
Date: Sat, 20 Nov 2010 10:49:16 -0200	[thread overview]
Message-ID: <4CE7C3CC.6000601@adinet.com.uy> (raw)
In-Reply-To: <AANLkTin8-qGJ12--1RdfPT-sFB9=dS6Qx11SayLUda+a@mail.gmail.com>

     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<ibaldo@adinet.com.uy>  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<ibaldo@adinet.com.uy>   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 - ibaldo@adinet.com.uy - http://ibaldo.codigolibre.net/
 From Montevideo, Uruguay, at the south of South America.
Freelance programmer and GNU/Linux system administrator, hire me!
Alternatives: ibaldo@codigolibre.net - http://go.to/ibaldo

--
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-11-20 12:49 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-18 23:18 printing Vedran Vucic
2010-11-18 23:52 ` printing Ivan Baldo
2010-11-19  0:02   ` printing Vedran Vucic
2010-11-19  0:14     ` printing Ivan Baldo
     [not found]       ` <AANLkTin8-qGJ12--1RdfPT-sFB9=dS6Qx11SayLUda+a@mail.gmail.com>
2010-11-20 12:49         ` Ivan Baldo [this message]
2010-11-20 20:38           ` printing Vedran Vucic
2010-11-22 11:17             ` printing Paul Crawford
     [not found]           ` <AANLkTimV3u_wcGxv+p=aBRqEtkfgyXpkgiTS8H3srAWC@mail.gmail.com>
2010-11-22 23:32             ` printing Ivan Baldo
2010-11-22 23:54               ` printing Mike McCarty
2010-11-23  7:30               ` printing Vedran Vucic
2010-11-23  8:54                 ` printing Andrew Joakimsen
2010-11-23 18:36                   ` printing Vedran Vucic
2010-11-23 19:58                     ` printing Mike McCarty
2010-11-23 22:48                       ` printing Vedran Vucic
2010-11-26  1:15                         ` printing Andrew Joakimsen
2010-11-26  7:56                           ` printing Vedran Vucic
2010-11-26 10:31                             ` printing Frantisek Hanzlik
2010-11-27  7:42                               ` printing Vedran Vucic
2010-11-27 15:44                                 ` printing Frantisek Hanzlik
2010-11-27 16:10                                 ` printing Frantisek Hanzlik
2010-11-27 16:37                                   ` printing Vedran Vucic
2010-11-27 17:44                                     ` printing Frantisek Hanzlik
2010-11-27 18:53                                       ` printing Vedran Vucic
2010-11-27 20:08                                         ` printing Frantisek Hanzlik
2010-11-27 21:12                                           ` printing Vedran Vucic
2010-11-28  2:20                                             ` printing Frantisek Hanzlik
2010-11-29  6:10                                               ` printing Vedran Vucic
2010-11-29  7:09                                                 ` printing Frantisek Hanzlik
2010-11-19  7:11 ` printing Andrew Joakimsen
2010-11-19 11:35   ` printing Vedran Vucic
2010-11-29 18:39 ` printing Ken Heard

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=4CE7C3CC.6000601@adinet.com.uy \
    --to=ibaldo@adinet.com.uy \
    --cc=linux-msdos@vger.kernel.org \
    --cc=vedran.vucic@gmail.com \
    /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