Mitch Gallman
Example:
eval Command='OVRDBF FILE(QSYSPRT) USRDTA(xxxx)'
eval Length = 128
call 'QCMDEXC'
parm Command 128
parm Length 15 5
Scott Klement <klem...@orion.ods.net> wrote in article
<32F8AA...@orion.ods.net>...
Heh... not only that, but I put "OVRDBF" instead of "OVRPRTF" in
my source. You'd be amazed how often I do that :)
Scott Klement <klem...@orion.ods.net> wrote in article
Mitch Gallman <ow...@voyageronline.net> escribió en artículo
<01bc1377$34afbe60$157683d0@pc89>...
You need to declare the printer file as user controlled in the F-spec,
perform the override within the RPG (via a call to QCMDEXC), then you
can open the printer file with an OPEN opcode. The default, if you don't
do any of that, is the name of the program.
--
Francis Lapeyre flap...@communique.net
--------------------------------------------------------
Opinions are my own. Otherwise, they are someone else's.
--------------------------------------------------------