printing problem
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)"
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!
Signature · 4 lines
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
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
Quoted 7 lines · Ivan Baldo
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!