Here my problem in two sentences:
I have a spoolfile which is linked to tray 1 of my printer
I would need one copy of that spoolfile which should be printed out from
tray 2, and another one which goes to tray 3.
Some more explanation:
I have the problem that our standard application program on the AS400 is not
able to separate the copies we need into different trays of our Lexmark
Optra S printer without going deep into the source of the application.
The only option I have is to select the number of copies, but all into the
same tray with one type of paper.
We would like to have the origin version of the document out from tray
number 1, a second copy with a different colored paper out of tray number 2,
a third copy out of tray 3 and so on.
My idea was to copy the origin spool file, just after it was created, and
than to copy it into a new spoolfile which now could be printed out from the
next tray.
Now I learned from our specialist that print information file of the origin
spoolfile is also a part of the copied spoolfiles and that the number of
tray could no be changed easily or maybe by a simple CL-program
Is there a tool available, which could help me?
Thanks in advance,
Bernd
there are some things that you can change about a job in the spool file and some that you
can't. and i think the drawer selection may be one of those that you can't.
could your program run the application 3 times? the first run could select drawer 1, the
2nd run drawer 2, and the 3rd drawer 3.
nj
Bernd Tronsberg wrote:
>
> Hi everybody,
>
> Here my problem in two sentences:
>
> I have a spoolfile which is linked to tray 1 of my printer
> I would need one copy of that spoolfile which should be printed out from
> tray 2, and another one which goes to tray 3.
>
> Some more explanation:
>
> I have the problem that our standard application program on the AS400 is not
> able to separate the copies we need into different trays of our Lexmark
> Optra S printer without going deep into the source of the application.
>
> The only option I have is to select the number of copies, but all into the
> same tray with one type of paper.
>
> We would like to have the origin version of the document out from tray
> number 1, a second copy with a different colored paper out of tray number 2,
> a third copy out of tray 3 and so on.
>
> My idea was to copy the origin spool file, just after it was created, and
> than to copy it into a new spoolfile which now could be printed out from the
> next tray.
> Now I learned from our specialist that print information file of the origin
> spoolfile is also a part of the copied spoolfiles and that the number of
> tray could no be changed easily or maybe by a simple CL-program
>
> Is there a tool available, which could help me?
>
> Thanks in advance,
> Bernd
--
David C. Anderson
http://home.att.net/~dc.anderson
** if you think they are out to get you, you are probably right. **
*** it is not are you paranoid, but are you paranoid enough.**
Some doc I read <SC41-5713> says:
On the AS/400 system, offset stacking of printed output is used. As the
job finishes, the paper tray moves, offsetting the stack of paper to
make it easier to distinguish between finished jobs. Because of this,
the data stream that is created on the AS/400 system contains the
control to indicate that offset stacking should be used. If the spooled
file is sent to a system that does not support offset stacking, an error
message may be issued.
From this I would infer that specifying a *DEVD <one which supports
stacking to allow separate trays> as the target of the print/spool
should effect the desired results? BTW could you tell me <I have no
clue ;-)> what is the difference between the tray, bin, and drawer?
Regards, Chuck
-- Comments provided "as is" with no warranties of any kind whatsoever.
Bernd Tronsberg wrote:
> Hi everybody,
>
> Here my problem in two sentences:
>
> I have a spoolfile which is linked to tray 1 of my printer
> I would need one copy of that spoolfile which should be printed out from
> tray 2, and another one which goes to tray 3.
>
> Some more explanation:
>
> I have the problem that our standard application program on the AS400 is not
> able to separate the copies we need into different trays of our Lexmark
> Optra S printer without going deep into the source of the application.
>
> The only option I have is to select the number of copies, but all into the
> same tray with one type of paper.
>
> We would like to have the origin version of the document out from tray
> number 1, a second copy with a different colored paper out of tray number 2,
> a third copy out of tray 3 and so on.
>
> My idea was to copy the origin spool file, just after it was created, and
> than to copy it into a new spoolfile which now could be printed out from the
> next tray.
> Now I learned from our specialist that print information file of the origin
> spoolfile is also a part of the copied spoolfiles and that the number of
> tray could no be changed easily or maybe by a simple CL-program
>
> Is there a tool available, which could help me?
>
> Thanks in advance,
> Bernd
--
\begindata{text,537673800}
\textdsversion{12}
\template{messages}
\bold{Rodney A Johnson, } \italic{(ro...@ibm.us.com)}
Technical Team Lead for AS/400 Spool
Dept GJC
IBM Rochester, Minnesota
t/l 553-7925\
\enddata{text,537673800}
Are you saying that the output bin is stored somewhere besides the spooled file attributes
area?
Gary Guthrie
Unfortunately, I'm at a loss as to how to send one copy, run CHGSPLFA, send
the second copy, run CHGSPLFA, and then send the third copy..
Good luck.
--
Charles Wilt
Miami Luken, Inc.
Springboro, OH. 45066
e-mail: charle...@worldnet.no.spam.att.net
--remove the .no.spam
Rodney Johnson <rjoh...@rchland.ibm.com> wrote in article
<362DFC1D...@rchland.ibm.com>...
> The way I read the original post, he wants to use a different source drawer
> for each copy. And you can change the source drawer with the CHGSPLFA with
> the DRAWER parameter.
>
> Unfortunately, I'm at a loss as to how to send one copy, run CHGSPLFA, send
> the second copy, run CHGSPLFA, and then send the third copy..
>
> Good luck.
> --
> Charles Wilt
> Miami Luken, Inc.
> Springboro, OH. 45066
> e-mail: charle...@worldnet.no.spam.att.net
> --remove the .no.spam
>
For spooled files created using a printer file with a device type of *SCS,
nothing is stored in the datastream for either the source drawer or output bin
so it can normally be changed . The only time it cannot be changed for this is
if the DDS DRAWER keyword is used in the file (and thus the drawer is put into
the datastream). For spooled files created with a device type of *AFPDS, the
source drawer and output bin from the printer file are put into the Medium
Modification Control of the AFPDS (MODCA) datastream. Thus, they are not
changeable with CHGSPLFA.
I'm still curious what Bin, Tray, and Drawers are... Anyone?
Regards, Chuck
All comments provided "as is" with no warranties of any kind whatsoever.
I mention this because mention of CHGSPLF keeps popping up as though that's the only way
to change information about spooled files.
Spooled file APIs won't really "change" the existing spooled, rather they can create a new
spooled file with the changed data. It sounds like the sort of thing the questioner is
looking for - create a single spooled file and then duplicate it with slightly different
attributes.
Gary Guthrie
Editor, The RPG Source
Technical Editor, NEWS/400 magazine
A tray is a drawer is not a bin!
Source drawer (often referred to as tray) is the "hopper" from which paper is fed to the
printer.
Bin is the output bin on printers that support them. This is where the printer puts the
paper after the page has been printed.
By Golly, I think he's got it! :)
Gary
> > <<SNIP>> source drawer and output bin from the printer file are put into the
> > Medium
> > Modification Control of the AFPDS (MODCA) datastream. Thus, they are not
> > changeable with CHGSPLFA.
>
> I'm still curious what Bin, Tray, and Drawers are... Anyone?
OK, here goes it ...
In the days before 30" (76cm) Flat Panel displays with 600 dpi resolution,
we had an IO device (or should I say source-sink from the paper's point of view)
called a printer.
You put the paper in a "Tray" or "Drawer" and in some highly advanced
models it would then go straight into a "Bin".
;)
John Gojnich
> Unless I'm terribly mistaken, spooled file APIs can indeed change the output bin for
> spooled files.
>
> I mention this because mention of CHGSPLF keeps popping up as though that's the only way
> to change information about spooled files.
>
> Spooled file APIs won't really "change" the existing spooled, rather they can create a new
> spooled file with the changed data. It sounds like the sort of thing the questioner is
> looking for - create a single spooled file and then duplicate it with slightly different
> attributes.
>
The point I was trying to make was that for SCS files (as long as they don't use the drawer
keyword), the spool apis could be used to create a new file that could have a different
source drawer or output bin. For AFPDS files, the user would have to parse the datastream in
order to change these attributes as they are imbedded in the inline formdef that is generated
into the spooled file when it is created.
--
Kevin Vette
AS/400 Spool/Print
IBM Rochester, Minnesota
Internet: vette @ us.ibm.com
Comments provided "as is" - no warranties provided
--
Charles Wilt
Miami Luken, Inc.
Springboro, OH. 45066
e-mail: charle...@worldnet.no.spam.att.net
--remove the .no.spam
Kevin Vette <kjv...@worldnet.att.net> wrote in article
<362E409F...@worldnet.att.net>...
>
> For spooled files created using a printer file with a device type of
*SCS,
> nothing is stored in the datastream for either the source drawer or
output bin
> so it can normally be changed . The only time it cannot be changed for
this is
> if the DDS DRAWER keyword is used in the file (and thus the drawer is put
into
> the datastream). For spooled files created with a device type of *AFPDS,
the
I don't have printers to test this thought, but you might be able to create
additional *devds for the same physical printer, specifying different
workstation customizing objects for each. The WSCSTs could perform drawer/bin
swapping. You could send the same spoolfile to three different outqs, but each
would give a different print result on the same physical printer through
different logical printer definitions.
Tom Liotta
In article <6v2vme$enk$1...@news01.btx.dtag.de>,
BTron...@t-online.de (Bernd Tronsberg) wrote:
> Hi everybody,
>
> Here my problem in two sentences:
>
> I have a spoolfile which is linked to tray 1 of my printer
> I would need one copy of that spoolfile which should be printed out from
> tray 2, and another one which goes to tray 3.
>
> Some more explanation:
>
> I have the problem that our standard application program on the AS400 is not
> able to separate the copies we need into different trays of our Lexmark
> Optra S printer without going deep into the source of the application.
>
> The only option I have is to select the number of copies, but all into the
> same tray with one type of paper.
>
> We would like to have the origin version of the document out from tray
> number 1, a second copy with a different colored paper out of tray number 2,
> a third copy out of tray 3 and so on.
>
> My idea was to copy the origin spool file, just after it was created, and
> than to copy it into a new spoolfile which now could be printed out from the
> next tray.
> Now I learned from our specialist that print information file of the origin
> spoolfile is also a part of the copied spoolfiles and that the number of
> tray could no be changed easily or maybe by a simple CL-program
>
> Is there a tool available, which could help me?
>
> Thanks in advance,
> Bernd
>
>
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own