Wasn't aware of that one. Being a host print function, as you know, it returned the "Function key not allowed" message. Adding the PRINT keyword to the display, though, allowed the host print function to work.


* Jerry C. Adams
*IBM System i5/iSeries Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
615.995.7024
fax
615.995.1201
email
jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Burns, Bryan wrote:
Try CTRL - PAUSE for a host print in iSeries Access. It's very handy!
Bryan

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Jerry Adams
Sent: Wednesday, April 18, 2007 10:30 AM
To: Midrange Systems Technical Discussion
Subject: Re: Function keys not allowed


You need the PRINT keyword in your display file's DDS. This can be assigned at either the File or Record level.


That being said, this seems to only apply to dumb terminals (twinax). I ran a test on a display that did not have the PRINT keyword. On an iSeries Access session, IA printed the screen (using the Print key, not the menu option). The same panel on a twinax device returned the "Function key not allowed."


* Jerry C. Adams
*IBM System i5/iSeries Programmer/Analyst
B&W Wholesale Distributors, Inc.* *
voice
615.995.7024
fax
615.995.1201
email
jerry@xxxxxxxxxxxxxxx <mailto:jerry@xxxxxxxxxxxxxxx>



Burns, Bryan wrote:
There's something that controls whether function keys are allowed in a program
and I forgot what it is, looked for it and can't find it. It's a simple yes
or no. Do you know what it is?

Some of our custom programs return a "Function key not allowed" when using the
print button on a dumb terminal keyboard and some programs perform the desired host
print. I want to enable host printing for all our programs.

Thanks in advance.

Bryan Burns
IBM Certified Specialist - iSeries System Command Operations V5R2



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.