• 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
    ProData

    Simple.  Reliable.  Powerful. 

    IBM i software to help you navigate your universe!

    Use these tools to get where you are going:

    DBU to easily, yet securely, access the data on your IBM i or remote system.
    RDB Connect for powerful record level access to remote data using RPG, CL or COBOL.

    SQL/Pro and Audit offer reliable SQL data processing, tracking and reporting.

    RDR retrieves those records which were deleted in error.

    And more!

    Join our DBUniverse of loyal, happy customers and experience your destination…

    Do IT with DBU!

    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

  • Fortra Issues 20th State of IBM i Security Report
  • FNTS Launches Managed Services for Power Servers in IBM Cloud
  • Total LTO Shipped Capacity Up Slightly in 2022
  • Four Hundred Monitor, May 24
  • Update On Critical Security Vulnerability In PowerVM
  • Critical Security Vulnerability In PowerVM Hypervisor
  • IBM Power: Hosted On-Premises Or In The Cloud?
  • Guru: Watch Out For This Pitfall When Working With Integer Columns
  • As I See It: Bob-the-Bot
  • IBM i PTF Guide, Volume 25, Number 21

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 © 2023 IT Jungle