Skip to contentSkip to conversation

Dosemu and printing.

DISCUSSION Pawel Dlugosz 2 participants 3 messages Apr 14, 2004 – Apr 19, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I'm sure there is a simple explanation of my problem, however, so far, I'm failing to find the answer.

There is a small clipper-like app which I use under dosemu and what I want is to be able to print from it directly to lp0.
And this of course works fine, but apart from normal characters which are printed out there are special codes visible also like:
^[&18C
^[(s9H

I presume I have to modify input filter in my /etc/printcap but I don't know how.

I'm using latest apsfilter and LPRng.

dosemu is 1.2.1

/etc/printcap:

lp|ijs/DESKJET_640;r=300x300;q=medium;c=full;p=a4;m=auto:\
    :lp=/dev/null:\
    :if=/etc/apsfilter/basedir/bin/apsfilter:\
    :sd=/var/spool/lpd/lp:\
    :lf=/var/spool/lpd/lp/log:\
    :af=/var/spool/lpd/lp/acct:\
    :mx#0:\
    :sh:
Signature · 4 lines
Pozdrawiam -
Pawel Dlugosz

"Keep Your sources wide open."
#1 lore raw
Quoted 6 lines · Pawel Dlugosz

but apart from normal characters
which are printed out there are
special codes visible also like:
^[&18C
^[(s9H

Wild guess but maybe you need to load ANSI.SYS in CONFIG.SYS.

#2 lore raw

Clarence Dang wrote:
[..]

Quoted 1 line

Wild guess but maybe you need to load ANSI.SYS in CONFIG.SYS.

Thanks for the tip but I only needed to add another printer from apsfilter setup with printing method set to 'raw'. Simple as that when You know how to do this ;)

Signature · 8 lines
Pozdrawiam -
Pawel Dlugosz

"To jest mi¶ na miarê naszych mo¿liwo¶ci."
-
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