* No printing via lprng with Dosemu 1.3.1
@ 2005-01-24 12:16 Jens Strohschnitter
0 siblings, 0 replies; 5+ messages in thread
From: Jens Strohschnitter @ 2005-01-24 12:16 UTC (permalink / raw)
To: DosEmu Mailinglist
Hi list,
I have problems while using lprng with dosemu 1.3.1.
In my printcap I have added the following lines:
pr-fra19|remote printer on pr-fra19:\
:sd=/var/spool/lpd/pr-fra19:\
:rm=pr-fra19:\
:rp=text:\
:bk:sh:mx#0:
The dosemu.conf looks like:
$_printer = "pr-fra19"
$_printer_command = "lpr"
But when I try to print from a application running underdosemu, nothing happens.
So I have started the dosemu with a logfile (dosemu.bin +D-a+w+p -o /tmp/dos.log) and found following lines:
LPT: initializing printer <<NODEV>>
LPT: initializing printer <<NODEV>>
LPT: initializing printer <<NODEV>>
LPT: print to non-defined printer LPT3
LPT: print to non-defined printer LPT2
LPT: init printer 0
The printer is plugged on a printbox, that is connected via ethernet with the LAN
A testprint from linux (lpr -Ppr-fra19 /etc/xxx) works fine.
Hope someone can help me to fix this problem. A running dosemu (1.1.3-5) works fine under SuSE 7.2 / 2.4.16. But
now we have to use SLES9 from SuSE with Kernel 2.6.5-XXX.
--
regards,
Jens Strohschnitter
-------------------------------------
- http://www.jens-strohschnitter.de -
-------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* No printing via lprng with Dosemu 1.3.1
@ 2005-01-24 14:49 Jens Strohschnitter
[not found] ` <41F57A9C.9000908@nf.sympatico.ca>
0 siblings, 1 reply; 5+ messages in thread
From: Jens Strohschnitter @ 2005-01-24 14:49 UTC (permalink / raw)
To: DosEmu Mailinglist
Hi list,
I have problems while using lprng with dosemu 1.3.1.
In my printcap I have added the following lines:
pr-fra19|remote printer on pr-fra19:\
:sd=/var/spool/lpd/pr-fra19:\
:rm=pr-fra19:\
:rp=text:\
:bk:sh:mx#0:
The dosemu.conf looks like:
$_printer = "pr-fra19"
$_printer_command = "lpr"
But when I try to print from a application running underdosemu, nothing happens.
So I have started the dosemu with a logfile (dosemu.bin +D-a+w+p -o /tmp/dos.log) and found following lines:
LPT: initializing printer <<NODEV>>
LPT: initializing printer <<NODEV>>
LPT: initializing printer <<NODEV>>
LPT: print to non-defined printer LPT3
LPT: print to non-defined printer LPT2
LPT: init printer 0
The printer is plugged on a printbox, that is connected via ethernet with the LAN
A testprint from linux (lpr -Ppr-fra19 /etc/xxx) works fine.
Hope someone can help me to fix this problem. A running dosemu (1.1.3-5) works fine under SuSE 7.2 / 2.4.16. But
now we have to use SLES9 from SuSE with Kernel 2.6.5-XXX.
--
regards,
Jens Strohschnitter
-------------------------------------
- http://www.jens-strohschnitter.de -
-------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No printing via lprng with Dosemu 1.3.1
[not found] ` <41F57A9C.9000908@nf.sympatico.ca>
@ 2005-01-25 9:37 ` Jens Strohschnitter
2005-01-25 10:05 ` Uwe (Peter) Feldtmann
0 siblings, 1 reply; 5+ messages in thread
From: Jens Strohschnitter @ 2005-01-25 9:37 UTC (permalink / raw)
To: DosEmu Mailinglist
>
>
> Jens Strohschnitter wrote:
>
> >Hi list,
> >
> >I have problems while using lprng with dosemu 1.3.1.
> >In my printcap I have added the following lines:
> >
> >pr-fra19|remote printer on pr-fra19:\
> > :sd=/var/spool/lpd/pr-fra19:\
> > :rm=pr-fra19:\
> > :rp=text:\
> > :bk:sh:mx#0:
> >
> >The dosemu.conf looks like:
> >
> >$_printer = "pr-fra19"
> >$_printer_command = "lpr"
> >
> >But when I try to print from a application running underdosemu, nothing happens.
> >So I have started the dosemu with a logfile (dosemu.bin +D-a+w+p -o /tmp/dos.log) and found following lines:
> >
> >LPT: initializing printer <<NODEV>>
> >LPT: initializing printer <<NODEV>>
> >LPT: initializing printer <<NODEV>>
> >LPT: print to non-defined printer LPT3
> >LPT: print to non-defined printer LPT2
> >LPT: init printer 0
> >
> >The printer is plugged on a printbox, that is connected via ethernet with the LAN
> >A testprint from linux (lpr -Ppr-fra19 /etc/xxx) works fine.
> >
> >Hope someone can help me to fix this problem. A running dosemu (1.1.3-5) works fine under SuSE 7.2 / 2.4.16. But
> >now we have to use SLES9 from SuSE with Kernel 2.6.5-XXX.
>
> lpr command should be "lpr -l" if you are using cups
Hi out there,
no, I am using lprng in Version 3.9.x.
I have tried out lpr -l but nothing happens.
Are the entries in the debuglog (LPT: initializing printer <<NODEV>>) ok ?
--
Regards,
Jens Strohschnitter
-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for
the heart of the sun
-------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No printing via lprng with Dosemu 1.3.1
2005-01-25 9:37 ` Jens Strohschnitter
@ 2005-01-25 10:05 ` Uwe (Peter) Feldtmann
2005-01-25 12:06 ` Jens Strohschnitter
0 siblings, 1 reply; 5+ messages in thread
From: Uwe (Peter) Feldtmann @ 2005-01-25 10:05 UTC (permalink / raw)
To: Jens Strohschnitter; +Cc: DosEmu Mailinglist
Check /etc/dosemu/dosemu.conf
Look for the printer section and make sure it looks somethign like this:-
##############################################################################
## Printer settings
# list of (/etc/printcap) printer names to appear as LPT1, LPT2, LPT3
# (not all are needed, empty for none). Default: "lp"
# use "" if you want the printer_command (below) free-form (LPT1 only)
$_printer = "pr-fra19"
# Print command to use. Default: "lpr", for "lpr -P printername".
# Sometimes (with CUPS) "lpr -l" is necessary.
$_printer_command = "lpr -l"
# idle time in seconds before spooling out. Default: (20)
# $_printer_timeout = (20)
Jens Strohschnitter wrote:
>>
>>Jens Strohschnitter wrote:
>>
>>
>>>Hi list,
>>>
>>>I have problems while using lprng with dosemu 1.3.1.
>>>In my printcap I have added the following lines:
>>>
>>>pr-fra19|remote printer on pr-fra19:\
>>> :sd=/var/spool/lpd/pr-fra19:\
>>> :rm=pr-fra19:\
>>> :rp=text:\
>>> :bk:sh:mx#0:
>>>
>>>The dosemu.conf looks like:
>>>
>>>$_printer = "pr-fra19"
>>>$_printer_command = "lpr"
>>>
>>>But when I try to print from a application running underdosemu, nothing happens.
>>>So I have started the dosemu with a logfile (dosemu.bin +D-a+w+p -o /tmp/dos.log) and found following lines:
>>>
>>>LPT: initializing printer <<NODEV>>
>>>LPT: initializing printer <<NODEV>>
>>>LPT: initializing printer <<NODEV>>
>>>LPT: print to non-defined printer LPT3
>>>LPT: print to non-defined printer LPT2
>>>LPT: init printer 0
>>>
>>>The printer is plugged on a printbox, that is connected via ethernet with the LAN
>>>A testprint from linux (lpr -Ppr-fra19 /etc/xxx) works fine.
>>>
>>>Hope someone can help me to fix this problem. A running dosemu (1.1.3-5) works fine under SuSE 7.2 / 2.4.16. But
>>>now we have to use SLES9 from SuSE with Kernel 2.6.5-XXX.
>>
>>lpr command should be "lpr -l" if you are using cups
>
>
> Hi out there,
>
> no, I am using lprng in Version 3.9.x.
> I have tried out lpr -l but nothing happens.
> Are the entries in the debuglog (LPT: initializing printer <<NODEV>>) ok ?
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: No printing via lprng with Dosemu 1.3.1
2005-01-25 10:05 ` Uwe (Peter) Feldtmann
@ 2005-01-25 12:06 ` Jens Strohschnitter
0 siblings, 0 replies; 5+ messages in thread
From: Jens Strohschnitter @ 2005-01-25 12:06 UTC (permalink / raw)
To: DosEmu Mailinglist
>
> Jens Strohschnitter wrote:
> >>
> >>Jens Strohschnitter wrote:
> >>
> >>
> >>>Hi list,
> >>>
> >>>I have problems while using lprng with dosemu 1.3.1.
> >>>In my printcap I have added the following lines:
> >>>
> >>>pr-fra19|remote printer on pr-fra19:\
> >>> :sd=/var/spool/lpd/pr-fra19:\
> >>> :rm=pr-fra19:\
> >>> :rp=text:\
> >>> :bk:sh:mx#0:
> >>>
> >>>The dosemu.conf looks like:
> >>>
> >>>$_printer = "pr-fra19"
> >>>$_printer_command = "lpr"
> >>>
> >>>But when I try to print from a application running underdosemu, nothing happens.
> >>>So I have started the dosemu with a logfile (dosemu.bin +D-a+w+p -o /tmp/dos.log) and found following lines:
> >>>
> >>>LPT: initializing printer <<NODEV>>
> >>>LPT: initializing printer <<NODEV>>
> >>>LPT: initializing printer <<NODEV>>
> >>>LPT: print to non-defined printer LPT3
> >>>LPT: print to non-defined printer LPT2
> >>>LPT: init printer 0
> >>>
> >>>The printer is plugged on a printbox, that is connected via ethernet with the LAN
> >>>A testprint from linux (lpr -Ppr-fra19 /etc/xxx) works fine.
> >>>
> >>>Hope someone can help me to fix this problem. A running dosemu (1.1.3-5) works fine under SuSE 7.2 / 2.4.16. But
> >>>now we have to use SLES9 from SuSE with Kernel 2.6.5-XXX.
> >>
> >>lpr command should be "lpr -l" if you are using cups
> >
> >
> > Hi out there,
> >
> > no, I am using lprng in Version 3.9.x.
> > I have tried out lpr -l but nothing happens.
> > Are the entries in the debuglog (LPT: initializing printer <<NODEV>>) ok ?
> >
> >
>
> Check /etc/dosemu/dosemu.conf
>
> Look for the printer section and make sure it looks somethign like this:-
>
>
> ##############################################################################
> ## Printer settings
>
> # list of (/etc/printcap) printer names to appear as LPT1, LPT2, LPT3
> # (not all are needed, empty for none). Default: "lp"
> # use "" if you want the printer_command (below) free-form (LPT1 only)
>
> $_printer = "pr-fra19"
>
> # Print command to use. Default: "lpr", for "lpr -P printername".
> # Sometimes (with CUPS) "lpr -l" is necessary.
>
> $_printer_command = "lpr -l"
>
> # idle time in seconds before spooling out. Default: (20)
>
> # $_printer_timeout = (20)
>
Hi
like shown above, my printersection looks like yours. The parameter
"-l" works only with cups - I am using lprng.
But I compared it with a running dosemu (1.1.3) on an other linuxsystem
and the debuglog (dos -D -a+p) showes me the following difference between
dosemu 1.1.3 and 1.3.1:
dosemu 1.1.3
------------
CONF(LPT0) f: (null) c: lpr o: -Ppr-goe01 %s t: 20 port: 378
dosemu 1.3.1
------------
CONF(LPT0) f: (null) c: lpr o: -Ppr-goe01 t: 20 port: 0
So I am missing the "%s" parameter. How can I add this one to the dosemu.conf ?
--
Regards,
Jens Strohschnitter
-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for
the heart of the sun
-------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-01-25 12:06 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-24 12:16 No printing via lprng with Dosemu 1.3.1 Jens Strohschnitter
-- strict thread matches above, loose matches on Subject: below --
2005-01-24 14:49 Jens Strohschnitter
[not found] ` <41F57A9C.9000908@nf.sympatico.ca>
2005-01-25 9:37 ` Jens Strohschnitter
2005-01-25 10:05 ` Uwe (Peter) Feldtmann
2005-01-25 12:06 ` Jens Strohschnitter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox