Hello,
Here is the summary for printing to a QMS 1725 printer from Digital
Unix.
I'd like to thank Tom Barkanic, Horst Dieter Lenk, and Rob Naccarato for
helping me out on this.
Horst Dieter Lenk and Rob NAccarato gave me some hints on the setup
for the printcap and port info, but Tom Barkanic gave me step by step
instructions to get this to work.
The info I have, it seems, the port number doesn't matter at all in this
situation.
the printcap entry has
:lp=/usr/spool/n2_15/devnull:\
:lf=/usr/spool/n2_15/log:\
:sd=/usr/spool/n2_15:\
:mx#0:\
:rw:\
:sh:\
:if=/usr/spool/n2_15/qfilter:
The qfilter file uses the default port 35 although anything could be in
there.
The trick for me was actually using the QMS software in the first place
to get this
working. Through Tom's help, I found out that the que worked, using
lpr, for postscript
files. I then needed to use the prtpost file from QMS to print text
files.
For example:
/QMSoft/prtpost /test.txt | lpr -Pprintername
Following is a script provided by Tom to print to the printer using text
files
SHELL=/bin/sh
for n in $_at_
do
/usr/local/bin/prtpost ${n} | lpr -Pprinter_name
done
The shell script is used by entering the following:
./scriptname filename
It was also suggested the EPS setting for the printer be set up with
pcl4 but
it still works with the EPS setting to ln03
Regards,
Allan
Received on Thu Jul 10 1997 - 17:40:58 NZST