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

Reply via email to