>On the lexmar_ side using lexmar_ MarkNetPro1 print server.
That's Lexmark rather than lexmar_, isn't it?
Here's the configuration:
/usr/sbin/lpadmin -p printer-name -s 22.214.171.124\!printer-name_CR
Replace "printer-name" with the name you want to use for the printer
in your lp or lpr commands. Be sure to keep the "_CR" appended to
the printer name after the ! character. Replace "126.96.36.199" with
the IP address or hostname of the printer's network interface.
Or, you can get the MarkVision software from www.lexmark.com.
>And the copier side, it's using their provide server(using a PC),
>it's a black box design.
Their PC software is willing to accept a text file from a Unix
computer (through the Unix printing protocol), but it won't
convert the line endings to the kind that the printer needs?
That's very bad.
The simplest thing you can do to compensate for the broken PC
software is to put your Unix text files through unix2dos before
giving them to lp:
unix2dos -ascii /etc/hosts | lp -d copier
Configuring a Solaris print queue to compensate for the broken
PC software is somewhat more complex. You'll need to have the
current patches for your Solaris machine. You'll also need to
know the PC's IP address or hostname, which I'll write as
"188.8.131.52" in the example below. You'll also need to know
the name that the PC software uses for the printer, which I'll
write as "pc-printer-name" in the example below:
Create the file /etc/lp/fd/prn-text.fd and make it look like this:
Input types: simple
Output types: prn-text
Printer types: any
Filter type: slow
Command: /usr/bin/unix2dos -ascii 2>>$ERRFILE
Save the file and exit the text editor.
/usr/sbin/lpfilter -f prn-text -F /etc/lp/fd/prn.text.fd
lpadmin -p solaris-printer-name -v /dev/null -m netstandard
lpadmin -p solaris-printer-name -T unknown -I prn-text,postscript
lpadmin -p solaris-printer-name -o data-file-type=l
lpadmin -p solaris-printer-name -o protocol=bsd
lpadmin -p solaris-printer-name -o dest=184.108.40.206:pc-printer-name
The argument "-I prn-text,postscript" uses an uppercase I as the
option letter, not a lowercase L. The argument "-o data-file-type=l"
has a lowercase L as its last letter. Many newsreaders use fonts
that make it hard to tell the differentce between those two letters.
This configuration will automatically run text files through the unix2dos
command before sending them to the PC.
I have a map of the United States that's actual size
-- Steven Wright