public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: "Dr. Claudia Neumann" <dr.claudia.neumann@gmx.de>
To: Richard White <Richard@qc.edu>,
	DOSemu Mailingliste <linux-msdos@vger.kernel.org>
Subject: Re: solved printing problems in 1.1.99.1
Date: Sun, 2 Nov 2003 14:20:46 +0100	[thread overview]
Message-ID: <200311021420.46517.dr.claudia.neumann@gmx.de> (raw)
In-Reply-To: <200311020139.51876.Richard@qc.edu>

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

      parent reply	other threads:[~2003-11-02 13:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-30 16:07 port access problems in 1.1.99.1 Richard White
2003-10-30 17:02 ` Anderson Pereira Ataides
2003-10-30 17:35 ` Justin Zygmont
     [not found] ` <200310302158.54115.dr.claudia.neumann@gmx.de>
     [not found]   ` <200310302033.38284.Richard@qc.edu>
2003-10-31 12:18     ` Dr. Claudia Neumann
     [not found]       ` <200311020139.51876.Richard@qc.edu>
2003-11-02 13:20         ` Dr. Claudia Neumann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200311021420.46517.dr.claudia.neumann@gmx.de \
    --to=dr.claudia.neumann@gmx.de \
    --cc=Richard@qc.edu \
    --cc=linux-msdos@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox