While Qshell is a valuable tool in the iSeries professional's toolbox, some features it has are hard to discover. For example, instructions on how to print Qshell output to an iSeries printer are hidden in an obscure page in the InfoCenter. To send the output of a Qshell command to an output queue, use the Rfile command. Entered by itself, the following command 'echo Hello iSeries' will echo to the screen the words 'Hello iSeries'. We will redirect that to a printer file via Rfile echo Hello iSeries | Rfile -wbQ -c 'ovrprtf file(qprint) outq(outqname) splfname(qshprt) hold(*yes)' qprint
The InfoCenter has an example on how to send ASCII files and Qshell output to remote printers
Monday, April 03, 2006
Subscribe to:
Post Comments (Atom)
Popular Posts
- AS400 Job Scheduler
- Recover or reset QSECOFR passwords
- Make a Home made, open source mp3 Player
- UDATE and *DATE in AS400 RPG
- Sending and receiving email on i5/os - QtmmSendMail
- A free fully functional database is yours with Microsoft's SQL Server Express
- AS400 API - QCMDEXC - Execute Command
- API Example - Deleting Old Spooled Files
- AS400 Jobs: Do you have a job at the moment?
- 3 fires up high-speed Super 3G network, News at CNET.co.uk
No comments:
Post a Comment