AIX print queue, EBCDIC AS/400 troubles
From: A. Gordon Lyph (a_g_lyph_at_hotmail.com)
Date: 06/25/04
- Next message: Andreas Schulze: "Re: /etc/security/passwd"
- Previous message: jp: "Re: /etc/security/passwd"
- Next in thread: LAIX Software Consulting: "Re: AIX print queue, EBCDIC AS/400 troubles"
- Reply: LAIX Software Consulting: "Re: AIX print queue, EBCDIC AS/400 troubles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 25 Jun 2004 04:54:23 -0700
Hello-
We have a need to transfer some files (ASCII) to an AS/400 for
archiving. I've setup a print queue so the users can just point their
reports at it and have them sent to the AS/400 without requiring any
FTP or shell access. What I've done is:
* created remote print queue on AIX with Local filtering before
sending to print server
* remote printer type set to 'other' and 'generic'
* ASCII print queue name set to 'as400arch', hostname set properly,
print spooler type set to 'BSD', pass-through flag set to 'yes', send
control file first set to 'no'
After creating this in smitty, I then did:
* lsvirprt, selected new queue, then did: f=c and fc=dd conv=ebcdic
cbs=132
The queue on the AS/400 side is set to spool input to file, and
QPTMPLPD is set to DEVTYPE(*SCS).
When I test by doing:
banner test | lp -das400arch
the output does go to the AS/400 and does get saved off to file, but
when viewing it, the '#'s are stairstepped. If I change the filter on
the AIX side to:
fc=dd conv=ebcdic
The '#'s' are no longer stairstepped, but don't have any LF or CRs
either.
Is there some secret to getting ASCII files over to an AS/400 in
EBCDIC format with the proper formatting? Any help greatly
appreciated.
A. G.
- Next message: Andreas Schulze: "Re: /etc/security/passwd"
- Previous message: jp: "Re: /etc/security/passwd"
- Next in thread: LAIX Software Consulting: "Re: AIX print queue, EBCDIC AS/400 troubles"
- Reply: LAIX Software Consulting: "Re: AIX print queue, EBCDIC AS/400 troubles"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]