ITEM: BB3107L
Using rcp to print to terminal server
ENV:
AIX 3.2.5
7015-970
OEM terminal server
DESC:
We have a terminal server attached to our ethernet. The
terminal server can accept data via rcp and I can print
to it from the command line via rcp. How can I put this
into the print queueing system?
ACT:
vi /etc/qconfig and enter a stanza:
rcpq:
device = rcpd
rcpd:
file = FALSE
backend = /some/dir/mybackend
Run enq -d to redigest qconfig in qconfig.bin
Now, mybackend can be a shell script. It will receive the
file to print as $1 and you can use this to do the rcp just
as you do from the command line.
Customer is getting error when he queues up a job to
him queue.
Looked at the script that he tries to print with:
rcp $1 [hostname]
This needs to have a shell to run in:
\#!/bin/ksh
rcp $1 [hostname]
Now all works fine.
Support Line: Using rcp to print to terminal server ITEM: BB3107L
Dated: November 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:23
Comments or suggestions?
Contact us