Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

IBM AS/400 Printer Codes ?

21 views
Skip to first unread message

Bill Sanders

unread,
Jan 24, 1996, 3:00:00 AM1/24/96
to
I received a spool file for testing from a customer who has an AS/400.
The file contains what I believe are SCS codes (BF hex). Does anyone
have a reference page from an AS/400 that defines what each of these
codes mean?

I need to write a print filter under UNIX to translate these codes into
something printable (ASCII).

Any ideas and samples would be GREATFULLY appreciated...

Regards,

Bill

Mark Woodruff

unread,
Jan 26, 1996, 3:00:00 AM1/26/96
to
In <3106C0...@computek.net>, Bill Sanders <fl...@computek.net> writes:
>I received a spool file for testing from a customer who has an AS/400.
>The file contains what I believe are SCS codes (BF hex). Does anyone
>have a reference page from an AS/400 that defines what each of these
>codes mean?
>
>I need to write a print filter under UNIX to translate these codes into
>something printable (ASCII).

There's an appendix in one of the manuals that has a list of the SCS
codes. Go into InfoSeeker and search on SCS.

I wrote a program in Rexx to do just this (it also interprets other
printstreams as well). It takes an astonishing five minutes to
interpret a page of output on a 30S running V3R1.

mark


Robert Youd

unread,
Jan 30, 1996, 3:00:00 AM1/30/96
to
In article <3106C0...@computek.net> fl...@computek.net "Bill Sanders" writes:

> I received a spool file for testing from a customer who has an AS/400.
> The file contains what I believe are SCS codes (BF hex). Does anyone
> have a reference page from an AS/400 that defines what each of these
> codes mean?

Bill,

V2R3 - AS400 Guide to programming for printing - SC41-8194-02 - Appendix E
- AS400 CL Reference - SC41-0030-02 P3-759, CPYSPLF command description

Hope this helps
--
Robert Youd
Technical Support Manager, Italian International Bank, London
+44-(0)171-623-8700 Fax +44-(0)171-623-9750
The views expressed above are my own, not necessarily my employers.

0 new messages