• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Print PC Documents to iSeries Printers

    August 2, 2006 Hey, Ted

    I have access through the Internet to a client’s iSeries machine, which has a Hewlett-Packard LaserJet printer attached to it. Is it possible for me to print a PC document (for example, a Word processing document or a spreadsheet) to the LaserJet?

    –Jim

    Here’s how I’ve done just that from my Windows XP machine. First, create an ASCII printer file on the iSeries. Place the name and library of the LaserJet’s output queue in the OUTQ parameter.

    CRTPRTF FILE(QGPL/LASERJET)                 
            DEVTYPE(*USERASCII)                 
            TEXT('Print PC documents to Laserjet')
            OUTQ(outqlib/outqname)
    

    Second, install the proper printer driver on your PC. Create the printer as a

    …

    Read more
  • Find Messages That Contain a Text String

    August 2, 2006 Hey, IT Jungle Forums

    I’m trying to create a utility that will display all messages in a message file that contain a search string in the message description. For example, if we specify the search string as “invalid,” the utility should list all messages in the message file that contain the word invalid.

    –Deepa

    This question was posted on the IT Jungle Web Forums. I suggested Deepa use Qshell’s grep utility to do the search. The following Qshell command scans message file XUSRMSGF to find the messages that contain the word “date” in any case.

    system "DSPMSGD RANGE(*FIRST *LAST) MSGF(XUSRMSGF) 
    DETAIL(*BASIC)" |
    …

    Read more
  • Admin Alert: Running Green-Screen Commands from OpsNav, Part 1

    August 2, 2006 Joe Hertvik

    Because their operating systems are grounded in 5250 green-screen commands, i5, iSeries, and AS/400 machines have always had problems gaining acceptance in a graphical world. IBM responded to this issue years ago by creating the iSeries Navigator program (OpsNav), a graphical interface for the i5/OS operating system. However, Windows users still occasionally need to run text-based 5250 commands. To solve that problem, IBM added a Run Command facility to OpsNav.

    Run Command is a somewhat valuable OpsNav feature that allows you to graphically enter and send batch i5/OS commands to an i5 partition for execution. This article is the first

    …

    Read more

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • POWERUp 2025 –Your Source For IBM i 7.6 Information
  • Maxava Consulting Services Does More Than HA/DR Project Management – A Lot More
  • Guru: Creating An SQL Stored Procedure That Returns A Result Set
  • As I See It: At Any Cost
  • IBM i PTF Guide, Volume 27, Number 19
  • IBM Unveils Manzan, A New Open Source Event Monitor For IBM i
  • Say Goodbye To Downtime: Update Your Database Without Taking Your Business Offline
  • i-Rays Brings Observability To IBM i Performance Problems
  • Another Non-TR “Technology Refresh” Happens With IBM i TR6
  • IBM i PTF Guide, Volume 27, Number 18

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2025 IT Jungle