From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078614710324.tru64-unix-managers.marc@archive.invalid> From: "SIMEONE, Allan J." Date: Thu, 10 Jul 1997 15:24:17 +0000 To: tru64-unix-managers Subject: SUMMARY: QMS 1725 port number? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078614710324 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 $@ 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