Skip to contentSkip to conversation

Printing under dosemu 1.1.5

DISCUSSION Ralph Alvy 3 participants 6 messages Jul 12, 2003 – Jul 13, 2003

lore
Share & tools
lore

Ralph Alvy

author
#0 lore raw

I'm a newbie to dosemu and Linux. I have almost everything working under dosemu 1.1.5 I need, except that I can't print under it. I have this as my printer setting:

	$_printer = "lp"

But any attempt to print from dosemu gives me an error message talking about the printer not existing. However, I can print from X applications with no problem.

#1 lore raw

Hi Ralph,

Paste your /etc/printcap file for us to see.

Quoted 16 lines · Ralph Alvy

I'm a newbie to dosemu and Linux. I have almost everything working under dosemu 1.1.5 I need, except that I can't print under it. I have this as my printer setting:

	$_printer = "lp"

But any attempt to print from dosemu gives me an error message talking about the printer not existing. However, I can print from X applications with no problem.

-
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

Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253
author
#2 lore raw

Thanks for the reply, Ryan. Here's what my /etc/printcap:

LexMark:\
	:ml#0:\
	:mx#0:\
	:sd=/var/spool/lpd/LexMark:\
	:af=/var/spool/lpd/LexMark/LexMark.acct:\
	:sh:\
	:lp=/dev/lp0:\
	:lpd_bounce=true:\
	:if=/usr/share/printconf/util/mf_wrapper:
HP6P:\
	:ml#0:\
	:mx#0:\
	:sd=/var/spool/lpd/HP6P:\
	:af=/var/spool/lpd/HP6P/HP6P.acct:\
	:sh:\
	:lp=/dev/lp0:\
	:lpd_bounce=true:\
	:if=/usr/share/printconf/util/mf_wrapper:
Quoted 21 lines · Ryan Underwood

Hi Ralph,

Paste your /etc/printcap file for us to see.

Quoted 12 lines · Ralph Alvy

I'm a newbie to dosemu and Linux. I have almost everything working under dosemu 1.1.5 I need, except that I can't print under it. I have this as my printer setting:

	$_printer = "lp"

But any attempt to print from dosemu gives me an error message talking about the printer not existing. However, I can print from X applications with no problem.

-
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

#3 lore raw

Ralph,

$_printer should equal one of the entries from printcap. In your case, so $_printer = "LexMark" or $_printer = "HP6P".

Rick Knight
([email protected])

Quoted 51 lines · Ralph Alvy

Thanks for the reply, Ryan. Here's what my /etc/printcap:

LexMark:\
    :ml#0:\
    :mx#0:\
    :sd=/var/spool/lpd/LexMark:\
    :af=/var/spool/lpd/LexMark/LexMark.acct:\
    :sh:\
    :lp=/dev/lp0:\
    :lpd_bounce=true:\
    :if=/usr/share/printconf/util/mf_wrapper:
HP6P:\
    :ml#0:\
    :mx#0:\
    :sd=/var/spool/lpd/HP6P:\
    :af=/var/spool/lpd/HP6P/HP6P.acct:\
    :sh:\
    :lp=/dev/lp0:\
    :lpd_bounce=true:\
    :if=/usr/share/printconf/util/mf_wrapper:
Quoted 21 lines · Ryan Underwood

Hi Ralph,

Paste your /etc/printcap file for us to see.

Quoted 12 lines · Ralph Alvy

I'm a newbie to dosemu and Linux. I have almost everything working under dosemu 1.1.5 I need, except that I can't print under it. I have this as my printer setting:

    $_printer = "lp"

But any attempt to print from dosemu gives me an error message talking about the printer not existing. However, I can print from X applications with no problem.

-
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

-
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

author
#4 lore raw

Thanks, Rick. Worked like a charm.

Quoted 45 lines · Rick Knight

Ralph,

$_printer should equal one of the entries from printcap. In your case, so $_printer = "LexMark" or $_printer = "HP6P".

Rick Knight
([email protected])

Quoted 36 lines · Ralph Alvy

Thanks for the reply, Ryan. Here's what my /etc/printcap:

LexMark:\
    :ml#0:\
    :mx#0:\
    :sd=/var/spool/lpd/LexMark:\
    :af=/var/spool/lpd/LexMark/LexMark.acct:\
    :sh:\
    :lp=/dev/lp0:\
    :lpd_bounce=true:\
    :if=/usr/share/printconf/util/mf_wrapper:
HP6P:\
    :ml#0:\
    :mx#0:\
    :sd=/var/spool/lpd/HP6P:\
    :af=/var/spool/lpd/HP6P/HP6P.acct:\
    :sh:\
    :lp=/dev/lp0:\
    :lpd_bounce=true:\
    :if=/usr/share/printconf/util/mf_wrapper:
Quoted 12 lines · Ryan Underwood

Hi Ralph,

Paste your /etc/printcap file for us to see.

Quoted 5 lines · Ralph Alvy

I'm a newbie to dosemu and Linux. I have almost everything working under dosemu 1.1.5 I need, except that I can't print under it. I have this as my printer setting:

    $_printer = "lp"

But any attempt to print from dosemu gives me an error message talking about the printer not existing. However, I can print from X applications with no problem.

#5 lore raw
In reply to Ralph Alvy

Hi Ralph,

You should be able to simply set $_printer = "LexMark" or $_printer = "HP6P", depending on which you want to print to.

You could also make one of them titled in the printcap as lp|LexMark:\ ...
or
lp|HP6P:\ ...

whichever one you use there would also be known as "lp" and would be the default printer under most circumstances.

HTH,

Ryan

Quoted 55 lines · Ralph Alvy

Thanks for the reply, Ryan. Here's what my /etc/printcap:

LexMark:\
	:ml#0:\
	:mx#0:\
	:sd=/var/spool/lpd/LexMark:\
	:af=/var/spool/lpd/LexMark/LexMark.acct:\
	:sh:\
	:lp=/dev/lp0:\
	:lpd_bounce=true:\
	:if=/usr/share/printconf/util/mf_wrapper:
HP6P:\
	:ml#0:\
	:mx#0:\
	:sd=/var/spool/lpd/HP6P:\
	:af=/var/spool/lpd/HP6P/HP6P.acct:\
	:sh:\
	:lp=/dev/lp0:\
	:lpd_bounce=true:\
	:if=/usr/share/printconf/util/mf_wrapper:
Quoted 25 lines · Ryan Underwood

Hi Ralph,

Paste your /etc/printcap file for us to see.

Quoted 16 lines · Ralph Alvy

I'm a newbie to dosemu and Linux. I have almost everything working under dosemu 1.1.5 I need, except that I can't print under it. I have this as my printer setting:

	$_printer = "lp"

But any attempt to print from dosemu gives me an error message talking about the printer not existing. However, I can print from X applications with no problem.

-
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

-
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

Signature · 1 line
Ryan Underwood, <nemesis at icequake.net>, icq=10317253