Unix Printing thru NT-- Formatting issues

From: Nagaraja, Raja <Raja.Nagaraja_at_actew.com.au>
Date: Wed, 09 Feb 2000 17:19:59 +1100

Dear Managers,
I have been able to use an NT server to print from Unix using the lpd
service. I am having problems in getting the correct formatting. I am using
two printers, a backend and a frontend printer an use a filter to format it
on the Unix system and send it to the NT box. I am getting truncated
outputs. But the same print is OK directly from Unix system.

Following is the printcap entry:

systems_admin|lp163|SYSTEMS_ADMIN|Systems_Admin:\
        :lp=/dev/null:\
        :of=/usr/lbin/actewrem/testrem:\
        :sh:\
        :sd=/usr/spool/lpd163:
# Backend Printer for Systems_admin ( Through NT print server Zenith)
lp164|164|testrem|TESTREM:\
        :lf=/usr/adm/lp164err:\
        :lp=\
        :rm=zenith.actew.oz.au:\
        :rp=FY01-02UX:\
        :sd=/usr/spool/lpd164:\
        :sh

Output filter:

pg /usr/lbin/actewrem/testrem
#!/bin/ksh
params=$*
cat | /usr/lbin/actewps4 $params | /usr/bin/lpr -l Ptestrem

actewps4 is the filter I use for converting to postscript and formatting.

Has any body experienced the same. Any help will be appreciated.

Regards

Raja


B.S. (Raja) Nagaraja
Systems Support Specialist
Business Systems, ACTEW Corporation
GPO Box 366, CANBERRA, ACT 2601
AUSTRALIA
Ph: (02)6270 7443
FAX: (02)6270 7445
Mailto:Raja.Nagaraja_at_actew.com.au
Received on Wed Feb 09 2000 - 06:21:38 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT