由于400的wrkoutq 中没有提供这样的功能,我们可以通过send的方法来实现以上功能:
sndtcpsplf
Remote system . . . . . . . . . 目标主机名(不支持ip地址),如果是本机
就使用本机的host table中所定义的;
Printer queue . . . . . . . . . 目标outq
Spooled file . . . . . . . . . . 要发送的spooled file
Job name . . . . . . . . . . . . 产生该spooled file的作业名
User . . . . . . . . . . . . . 产生该spooled file的用户名
Number . . . . . . . . . . . . 产生该spooled file的作业号
Spooled file number . . . . . . 该spooled file的号码
(*only 在没有重复的spooled file时使
用
*last 有重复时,使用最后一个
number 有重复时,使用具体的spooled
file)
Destination type . . . . . . . . 目标主机的类型
Transform SCS to ASCII . . . . . 是否需要转换为ASCII码
Charlotte 回复于:2003-06-17 14:33:26 |
请问,怎么看host table的内容 |
dfangyang 回复于:2003-06-17 15:06:59 |
[quote:03ce346160="Charlotte"]请问,怎么看host table的内容[/quote:03ce346160]
cfgtcp--10 |
Charlotte 回复于:2003-06-17 15:17:06 |
多謝!
我試了一下 出現這樣的錯誤,這是為甚麼呀? Message ID . . . . . . : CPF6DF3 Severity . . . . . . . : 40 Message type . . . . . : Diagnostic Date sent . . . . . . : 03/06/17 Time sent . . . . . . : 15:13:33 Message . . . . : SCS data stream is not valid. Cause . . . . . : The host print transform encountered too many data stream exceptions in the SCS print data stream. Recovery . . . : Verify that the program is producing a valid SCS data stream and then try the job again. If the problem continues, start problem analysis (ANZPRB command). |
Charlotte 回复于:2003-06-17 15:19:04 |
我知道了,是因為我把TRANSFORM選成*YES
改成*NO就行了 多謝! |
dreams76 回复于:2003-06-18 13:16:50 |
如果远端系统是ascii码时,把TRANSFORM选成*YES
可以在400上创建一个remote outq来使用远端的打印机。 |
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/