public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* printing problem
@ 2008-08-14 14:34 Victor Warner
  2008-08-14 16:04 ` Ivan Baldo
  0 siblings, 1 reply; 3+ messages in thread
From: Victor Warner @ 2008-08-14 14:34 UTC (permalink / raw)
  To: linux-msdos

I have just changed my Linux OS from kubuntu 8.04 to Linux Mint KDE RC1
(which I believe another version of subunit 8.04).

I set up the CUPS printer in Linux Mint in exactly the same was as under
Kubuntu, and I am using the same .dosemurc file, but cannot print (to
lpt1)  from the DOS programs I am using (eg WordPerfect). When I print
nothing happens. However printing to lpt3 (which is configured to print
to a pdf file set up in Linux) works fine.

The printer (a lexmark c530 set-up with the generic postscript driver)
has been configured exactly the same way under Mint as under Kubuntu.

Running DOSEMU from the terminal and on printing the following error
message is produced:

     lpr: Unsupported format 'application/vnd.cups-raw'!

I have made sure that

     application/octet-stream application/vnd.cups-raw 0 -

in /etc/cups/mime.convs is not commented out

and that

     application/octet-stream

in /etc/cups/mime.types is not commented out

and restarted cups etc but still cannot get any printing going from the
DOS applications.

I do not know what to further and any help with this would be greatly
appreciated.


Victor Warner

PS: The .dosemurc file contains:

$_hdimage = "/vw/data/dos"
$_printer_command = "lpr -l"
$_printer = "lexmark"
$_lpt3 = "lpr -P PDF"
$_layout="uk"
$_X_keycode=(off)
$_X_font="vga12x30"
$_X_fullscreen = (off)
$_hogthreshold="1"
$_xms="16834"
$_xms="16834"
$_X_title="Dosemu (as user)"




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: printing problem
  2008-08-14 14:34 printing problem Victor Warner
@ 2008-08-14 16:04 ` Ivan Baldo
  2008-08-14 16:49   ` Victor Warner
  0 siblings, 1 reply; 3+ messages in thread
From: Ivan Baldo @ 2008-08-14 16:04 UTC (permalink / raw)
  To: Victor Warner; +Cc: linux-msdos

    You forgot to tell which version of DOSEmu are you using.
    For 1.4.0, delete the line $_printer_command = "lpr -l" and the line 
$_printer = "lexmark" since I think those are obsolete, add the line 
$_lpt1 = "lpr -l -P lexmark".
    If it does not work, add instead $_lpt1 = "lpr -P lexmark" (without 
the -l option).
    Hope this helps, good luck!

-- 
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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: printing problem
  2008-08-14 16:04 ` Ivan Baldo
@ 2008-08-14 16:49   ` Victor Warner
  0 siblings, 0 replies; 3+ messages in thread
From: Victor Warner @ 2008-08-14 16:49 UTC (permalink / raw)
  To: linux-msdos

Ivan,

I have been using 1.4.0

This did not work: $_lpt1 = "lpr -l -P lexmark"

This did work: $_lpt1 = "lpr -P lexmark"

It is curious why the obsolete commands work under one version of ubuntu 
and not another.

Thank you very much for the help.

Victor Warner



Ivan Baldo wrote:
>    You forgot to tell which version of DOSEmu are you using.
>    For 1.4.0, delete the line $_printer_command = "lpr -l" and the 
> line $_printer = "lexmark" since I think those are obsolete, add the 
> line $_lpt1 = "lpr -l -P lexmark".
>    If it does not work, add instead $_lpt1 = "lpr -P lexmark" (without 
> the -l option).
>    Hope this helps, good luck!
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-14 16:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-14 14:34 printing problem Victor Warner
2008-08-14 16:04 ` Ivan Baldo
2008-08-14 16:49   ` Victor Warner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox