From: "Dr. Claudia Neumann" Subject: Re: solved printing problems in 1.1.99.1 Date: Sun, 2 Nov 2003 14:20:46 +0100 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <200311021420.46517.dr.claudia.neumann@gmx.de> References: <200310301107.54578.Richard@qc.edu> <200310311318.59016.dr.claudia.neumann@gmx.de> <200311020139.51876.Richard@qc.edu> Mime-Version: 1.0 Content-Transfer-Encoding: 7BIT Return-path: In-Reply-To: <200311020139.51876.Richard@qc.edu> List-Id: Content-Type: text/plain; charset="us-ascii" To: Richard White , DOSemu Mailingliste Hi Richard, Am Sonntag, 2. November 2003 07:39 schrieben Sie: > Dear Claudia: > > It looks as if the printing is solved, thanks primarily to you! I took > another look at your posting in the mail archive and started from scratch > again, trying to follow your instructions exactly. While I have a > solution,, it was not exactly based on your recommendations, and you may be > interested and/or know why. Here is what I did:- > > 1) Create a 'raw print stream' printer as you say. The name of this > printer seems to be critical. I have not been able to get any name other > than "lp" to work. > Note: The only reason my similar effort of 2 days ago did not work now > seems to be that i was using (you may remember) the name 'DOSraw'. Even > though this name was matched by editing 'dosemurc' of course, it still > fails. the only name I have so far been able to get to work is the default > 'lp'. Do you have any idea why? May this mean that there is some built-in > default name that must be changed via global.conf? some time ago I experienced the problem, that the "raw" printer in CUPS should be the first printer in the line in /etc/printcap and the default printer in CUPS. I don't know if this is still necessary. In my installation with CUPS I name the printer "raw" and tell it to DOSemu with $_printer ="raw" If this doesn't function as wanted you can use global.conf in /etc/dosemu (as root): copy the file global.conf.example to global.conf and change the lines: ipxsupport $_ipxsupport novell_hack $_novell_hack if (strlen($_printer)) foreach $xxx ($LIST_DELIM, $_printer) $xxx = "'-P", $xxx, "'"; printer { options $$xxx command "lpr" timeout $_printer_timeout } done endif to ipxsupport $_ipxsupport novell_hack $_novell_hack if (strlen($_printer)) foreach $xxx ($LIST_DELIM, $_printer) $xxx = "'-P", $xxx, "'"; printer { options $$xxx command "lp -d raw" timeout $_printer_timeout } done endif and leave out $_printer ="" in $HOME/.dosemurc altogether > 2) Where I differ with your instructions is that with CUPS under RedHat, at > least, you should not attempt to copy any printcap files manually (indeed > /etc/printcap carries warnings against doing so). As I understand it, the > master printer config file is /etc/cups/printers.conf. The CUPS daemon > creates /etc/printcap from this master, probably at boot time, or whenever > it is restarted. Okay, with my Debian installation there was no /etc/printcap only /etc/printcap.cups and DOSemu wouldn't print without it. > 3) Finally, you may remember the 2 suggestions from Anderson that I cc'd to > you. They did not solve the problem originally, and after successfully > following your instructions, I have removed both of those changes, > apparently without ill-effect, though I am still testing. > > Does all the above make sense to you? If so, I thought I would send a > summary posting to the list as it might help someone else. As I said before we need a better documentation. I am working on it. cu Claudia