Subject: Trouble getting a DeskWriter to print...
To: None <port-mac68k@NetBSD.ORG>
From: Neil Kohl <neilkohl@netaxs.com>
List: port-mac68k
Date: 06/22/1997 18:55:03
I'm running NetBSD 1.2 GENERIC#1 on an SE/30. I'm trying to get a
DeskWriter 520 to work and not having much luck...

I tried to set up the print queues as per instructions in gs262.mac68k. 

When I send a text file to lpr, the printer appears to have trouble with
cr/lf handling. It prints out the first line, advances to the next line
but does not return the carriage, prints the next line, and so on until
the print goes off the right side of the page (usually the second or third
line of print). The form feeds and what appears to be the top of the
second page begins to print. 

The funny thing is the same thing happens if I send files to cdjplus.raw
or cdjplus.text

Here's what I've done so far. Any help/advice greatly appreciated.

/etc/rc.local:

stty -f /dev/tty01 raw 57600 crtscts clocal -echoe -echoke -echoctl

/var/spool/cdjplus:
drwxr-xr-x  3 daemon  daemon  512 Jun 22 16:43 cdjplus
contains:
-r-xr-xr--  1 daemon  daemon    0 Jun 22 16:43 acct
-rw-r--r--  1 daemon  daemon    3 Jun 22 17:22 lock
-r-xr-xr--  1 daemon  daemon    0 Jun 22 16:43 logfile
drwxr-xr-x  2 daemon  daemon  512 Jun 22 19:27 raw

/usr/local/bin:
-rwxr-xr-x  1 root  wheel  394 May 18 22:00 /usr/local/bin/textfilter

/etc/printcap:
cdjplus.raw|Raw output device cdjplus:\
    :lp=/dev/tty01:\
    :ms=-parity,-ixon,-icanon,-echo,-opost,cs8,crtscts:\
    :sd=/var/spool/cdjplus/raw:\
    :mx#0:sf:sh:rs:

lp|cdjplus.text|Raw output device cdjplus:\
    :lp=/dev/tty01:\
    :ms=-parity,-ixon,-icanon,-echo,-opost,cs8,crtscts:\
    :if=/usr/local/bin/textfilter:\
    :sd=/var/spool/cdjplus/raw:\
    :mx#0:sf:sh:rs:
(plus the others; printing text would be a start...)

Neil Kohl                           American College of Physicians
------------------------------------------------------------------
neilkohl@netaxs.com           215.351.2400x2638, 800.523.1546x2638