• 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 local printer and tell Windows you’ll be printing to a file.

    Third, print your document to the LaserJet. (The usual method to select a Windows printer is to pull down a File menu and choose the Print option.) Windows will display a pop-up window into which you can key a file name. The convention is to use PRN as the extension.

    Next, crank up your FTP client and connect to the iSeries. Send the file to the iSeries printer file using a binary transfer.

    bin
    put c:temptesthp.prn qgpl/laserjet
    

    –Ted

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Tags:

    Sponsored by
    Raz-Lee Security

    Start your Road to Zero Trust!

    Firewall Network security, controlling Exit Points, Open DB’s and SSH. Rule Wizards and graphical BI.

    Request Demo

    Share this:

    • Reddit
    • Facebook
    • LinkedIn
    • Twitter
    • Email

    Sponsored Links

    T.L. Ashford:  BARCODE400 - the fastest way to create compliance labels directly from the iSeries
    Advanced Systems Concepts:  iSeries data access like nothing else with SEQUEL
    COMMON:  Join us at the Fall 2006 conference, September 17-21, in Miami Beach, Florida

    The Blogosphere Says the IRS Uses the iSeries to Manage Bill Gates’ Personal Taxes Bang for the Buck: Entry i5 Servers Versus the Competition

    Leave a Reply Cancel reply

Volume 6, Number 29 -- August 2, 2006
THIS ISSUE SPONSORED BY:

WorksRight Software
ProData Computer Services
COMMON

Table of Contents

  • Print PC Documents to iSeries Printers
  • Find Messages That Contain a Text String
  • Admin Alert: Running Green-Screen Commands from OpsNav, Part 1

Content archive

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

Recent Posts

  • Positive News From The Kyndryl Mainframe Modernization Report
  • NAViGATE, inPower 2025 On Tap for September 2025
  • Guru: WCA4i And Granite – Because You’ve Got Bigger Things To Build
  • As I See It: Digital Coup
  • IBM i PTF Guide, Volume 27, Number 37
  • AI Is Coming for ERP. How Will IBM i Respond?
  • The Power And Storage Price Wiggling Continues – Again
  • LaserVault Adds Multi-Path Support To ViTL
  • As I See It: Spacing Out
  • IBM i PTF Guide, Volume 27, Numbers 34, 35, And 36

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