In Windows, search for and open Add a printer or scanner. Click Add a printer or scanner, and then wait for Windows to locate available printers. If your printer is found, click it, and then click Add device to complete the driver installation. If your printer is not found, continue with these steps. In the Installation Incomplete window, select the Select printer port check box, click Manual Selection, and then select the appropriate port. Complete the installation. Click Complete or Finish. The procedure for installing the MP Drivers is complete.
Troubleshooting
Problem
Resolving The Problem
There are many ways in which a printer might be configured; it depends on the type of printer, the capabilities of the printer, and how the printer is attached. This document discusses the most common methods of configuring a printer on IBM i and the general requirements for each method. For more specific information on requirements, see the documents listed under each method.Pros and Cons of remote output queues, PJL, and SNMP Printer Configurations
This video shows the benefits and limitations of the three most popular printer configuration methods: Remote Output Queues (RMTOUTQs), *LAN 3812 PJL printer device descriptions, and *LAN 3812 SNMP printer device descriptions.
o | A Remote Output Queue (RMTOUTQ) |
o | A *LAN 3812 PJL device description |
o | A *LAN 3812 SNMP device description |
o | A *LAN 3812 IPP device description |
o | A *LAN *IPDS device description |
For information on ASCII printers from various manufacturers, in particular on whether they can be configured using a *LAN 3812 PJL device description, *LAN 3812 SNMP device description, *LAN 3812 IPP device description, or Remote Output Queue (RMTOUTQ), refer to these documents:
Information on Printers from Various Manufacturers
Printer Model Settings for Host Print Transform (HPT)
The requirements for all network-attached printers using TCP/IP are that the network adapter is compatible with the printer and it has a static TCP/IP address. The sections on the various options will list some additional requirements for that type of configuration.
1 | Remote Output Queue or SNDTCPSPLF and LPR Commands For more information on remote output queues, please refer to these documents: Configuring a Remote Output Queue (RMTOUTQ) Configuring a Remote Output Queue (RMTOUTQ) to a Label or Receipt Printer Configuring a Remote Output Queue (RMTOUTQ) to a Windows Print Queue Recommended Remote Printer Queue Values for Remote Output Queues (RMTOUTQs) Configuration Settings and Error Messages for Remote Output Queues (RMTOUTQs) Capabilities and Limitations of Remote Output Queues (RMTOUTQs) Creating a Dummy Device Description to Use with a Remote Output Queue (RMTOUTQ) Configuring a *LAN 3812 Device Description that Uses the LPR Print Driver (TSPLPRD) Exit Program TSPRWPR Remote Writer Page Range Support Exit Program Using Host Print Transform (HPT) with a Remote Output Queue (RMTOUTQ) |
2 | *LAN 3812 PJL Device Description The term PJL refers to the Printer Job Language protocol from HP. PJL allows for two-way communication with the printer when attached to the LAN using a print server that also supports bidirectional PJL. Support for the PJL print driver is largely dependent on the internal network interface card (NIC) or external print server used with the printer. If it is unclear whether the NIC, print server or printer supports PJL, contact the manufacturer. For more information on *LAN 3812 PJL device descriptions, refer to these documents: Configuring a *LAN 3812 PJL Device Description Recommended PJL Port Number Values for *LAN 3812 PJL Device Descriptions Configuration Settings and Error Messages for *LAN 3812 PJL Device Descriptions Using Host Print Transform (HPT) with a *LAN Device Description |
3 | *LAN 3812 SNMP Device Description The term SNMP refers to Simple Network Management Protocol. SNMP allows for two-way communication with the printer when attached to the LAN using a print server that also supports SNMP. Support for the SNMP print driver is largely dependent on the internal network interface card (NIC) or external print server used with the printer. If it is unclear whether the NIC, print server or printer supports SNMP, contact the manufacturer. For more information on *LAN 3812 SNMP device descriptions, refer to these documents: Configuring a *LAN 3812 SNMP Device Description Recommended SNMP Port Number Values for *LAN 3812 SNMP Device Descriptions Configuration Settings and Error Messages for *LAN 3812 SNMP Device Descriptions Using Host Print Transform (HPT) with a *LAN Device Description |
4 | *LAN 3812 IPP Device Description The term IPP refers to the Internet Print Protocol. IPP allows for two-way communication with the printer when attached to the LAN using a print server that also supports IPP. Support for the IPP Print Driver is largely dependent on the internal network interface card (NIC) or external print server used with the printer. If it is unclear whether the NIC, print server or printer supports IPP, contact the manufacturer. For more information on *LAN 3812 IPP device descriptions, refer to these documents: Configuring a *LAN 3812 IPP Device Description Recommended Remote Location (RMTLOCNAME) Values for *LAN 3812 IPP Device Descriptions Configuration Settings and Error Messages for *LAN 3812 IPP Device Descriptions Using Host Print Transform (HPT) with a *LAN Device Description |
5 | *LAN *IPDS Device Description The term IPDS refers to the Intelligent Printer Data Stream. IPDS allows for two-way communication with the printer when attached to the LAN, provided the printer has the IPDS feature installed and using an internal print server that allows the IPDS data stream to pass through to the printer. IBM Print Services Facility (PSF/400) is required for network-attached IPDS printers. For more information on *LAN *IPDS device descriptions, refer to these documents: Configuring a *LAN IPDS Device Description Recommended IPDS Port Number Values for *LAN IPDS Device Descriptions Configuration Settings and Error Messages for *LAN IPDS Device Descriptions |
If Your Printer Is Attached to the Network and Using the Lexlink Protocol
The requirement for this configuration is that the printer is attached to a Lexmark network adapter that can use the Lexlink protocol, such as the Lexmark MarkNet XLE or the MarkNet Pro, or that it is a Lexmark printer with an internal Lexmark network card. The Lexlink protocol cannot be routed across networks, so the router would need to be configured to bridge the Lexlink protocol.
For information on configuring *LAN 3812 Lexlink device descriptions, refer to this document:
Configuring a *LAN 3812 LEXLINK Device Description
If Your Printer Is Attached to the Network and Using SNA
The requirements for printing using SNA are that a communications line, controller, and device description are configured for APPC or APPN support. Also, the IBM-supplied subsystems QSNADS and QSYSWRK, the Mail Server Framework job QMSF, and the Object Distribution job QNFTP all must be active. For additional assistance configuring or troubleshooting SNA, contact our communications team.
For information on configuration communicating over SNADS, refer to these documents:
Printer Passthrough or Remote Output Queues
Creating a Dummy Device Description to Use with a Remote Output Queue (RMTOUTQ)
Configuring SNADS and Setting Up SNA Distribution Services
An emulation program must be run on the PC to allow the IBM i system to print to it. This emulation program can be IBM i Access Client Solutions (ACS) or some other emulation program that can create a printer session and configure a device on the IBM i system. The type of emulation program used might have its own special requirements, so refer to the documentation for the program.
For information on printing on a PC running ACS, refer to these documents:
IBM i Access Client Solutions (ACS): Configuring a Printer Session
Capabilities and Limitations of Printing when Using iSeries Access for Windows
If You Are Printing from a PC to a Printer on an IBM i System
Depending upon the version of System i Access for Windows (also known as iSeries Access for Windows or Client Access/400 in earlier versions), the printer can be installed on the PC as a network printer or it can be set up under IBM AS/400 NetServer or IBM iSeries NetServer. Refer to the documentation for the version of Client Access or iSeries Access for the requirements.
For information on configuring an NetServer print share, refer to these documents:
Creating IBM i NetServer Print Shares
Adding a Printer that Uses an IBM i NetServer Print Share
Configuring Windows 95/98/NT/2000/XP/7 to Fax PC Output Using FAX/400 and IBM iSeries NetServer
For information on configuring an IBM i NetServer print share for use with Facsimile Support/400 (FAX/400), please refer to the following document:
Configuring Windows 95/98/NT/2000/XP/7 to Fax PC Output Using FAX/400 and IBM iSeries NetServer
If You Are Converting Spooled Files to PDF instead of Printing them to a Printer
The IBM Infoprint Server for iSeries product (5722IP1) that can be used to convert spooled files to Adobe Acrobat PDF format and optionally send the PDF file in an email, store the PDF file in a stream file in the Integrated File System (IFS), store the PDF file is a *USERASCII spooled file, or a combination of these.
For information on configuring a *LAN IPDS device description and PSF Configuration (PSFCFG) object that uses Infoprint Server to convert spooled files to PDF, refer to these documents:
Configuring a *LAN IPDS Device Description for E-Mail Function of InfoPrint Server
Configuring an Infoprint Server *IPDS Device Description
For more information on Infoprint Server, refer to the following document which summarizes all of the reference materials available for this product:
Finding Additional Information for Infoprint Server and PDF Mapping Exit Programs
- Recommended PTF Levels
There are no required PTFs for most of the options to configure a printer on an IBM i system. However, getting the Recommended Fixes for Print will typically help avoid issues.
Document Information
Modified date:
26 January 2021
This page gives specific instructions on setting up Node-RED in a Microsoft Windows environment. The instructions are specific to Windows 10 but should also work for Windows 7 and Windows Server from 2008R2. It is not advisable to use versions prior to Windows 7 or Windows Server 2008R2 due to lack of current support.
Quick Start
1. Install Node.js
Download the latest 12.x LTS version of Node.js from the official Node.js home page. It will offer you the best version for your system.
Run the downloaded MSI file. Installing Node.js requires local administrator rights; if you are not a localadministrator, you will be prompted for an administrator password on install. Accept the defaults when installing. After installation completes, close any open command prompts and re-open to ensure new environment variablesare picked up.
Once installed, open a command prompt and run the following command to ensure Node.js and npm are installed correctly.
Using Powershell: node --version; npm --version
Using cmd: node --version && npm --version
You should receive back output that looks similar to:
2. Install Node-RED
Installing Node-RED as a global module adds the command node-red
to your system path. Execute the following at the command prompt:
3. Run Node-RED
Once installed, you are ready to run Node-RED.
Alternative Installations on Windows
In this section, we provide you with information on alternative ways to install Node.js, npm and the Windows Build Tools needed to install some Nodes for Node-RED on Windows.
Standard installations of Node.js on Windows require local administrator rights. Download the appropriate version from the official Node.js home page. It will offer you the best version. While you can use either 32 bit or 64 bit versions on 64 bit Windows, it is recommended to use the 64bit version of Node. If for some reason, you need a different installation, you can use the Downloads Page.
There are two potentially useful alternatives to installing Node.js with the MSI installer.
Using the Chocolatey package manager
Chocolatey is a package manager for Windows similar to APT or yum on Linux and brew on the Macintosh platforms. If you are already using Chocolatey, you may want to use this tool to install Node.js (e.g. using the
nodejs-lts
package). Note however, that many packages have uncertain management and that these packages may use different folder locations than those mentioned above.Using a Node version manager
Using a Node.js version manager such as nvm-windows can be very helpful if you are doing Node.js development and need to test against different versions. Keep in mind that you will need to reinstall global packages and may need to re-install local packages when when you switch the version of Node you are using.
npm on Windows
When you install Node.js, you are also installing the npm package manager. You may see some instructions on the web that recommend installing later releases of npm than the one that comes with the Node.js release. This is not recommended as it is too easy to later end up with an incompatible version. Node.js releases are very regular and that is sufficient to keep npm updated.
Sharing Node-RED between Users
Node.js is installed into the Program Files
folder as you would expect. However, if you install a global package like Node-RED using npm -g
, it is installed into the $env:APPDATAnpm
folder (%APPDATA%npm
using cmd) for the current user. This is less than helpful if you are installing on a PC with multiple user logins or on a server and installing using an admin login rather than the login of the user that will run Node applications like Node-RED.
%APPDATA%
translates to, you can simply type it into the address bar of the Windows File Explorer. Alternatively, in PowerShell, type the command cd $Env:APPDATA
(cd %APPDATA%
using cmd).To fix this, either give permissions to the folder to other users and make sure that the folder is included in their path
user environment variable.
Alternatively, change the global file location to somewhere accessible by other users. Make sure that you use the user that will be running Node-RED to make these changes. For example, to change the location to $env:ALLUSERSPROFILEnpmglobal
using PowerShell:
You will then want to change the npm cache folder as well:
If using the above changes, you can add the new prefix folder to the PATH System variable and remove the old folder from the user’s Path variable. To change the PATH Environment variable, type environment
into the start menu or Cortana and choose Edit Environment Variables.
For each of the users running Node-RED, check that the above settings for the other users are correct.
Install Printer Ibm 9068-a03 Di Windows 7 64-bit
Installing Node.js Windows Build Tools
Many Node.js modules used by Node-RED or installed nodes have binary components that will need compiling before they will work on Windows. To enable npm to compile binaries on the Windows platform, install the windows-build-tools module using the command prompt as an Administrator:
If you wish to have the built-in Python v2.7 install exposed for use, use the command:
Notes:- Not all Node.js modules will work under Windows, check the install output carefully for any errors.
- During the install some errors may be reported by the
node-gyp
command. These are typically non-fatal errors and are related to optional dependenciesthat require a compiler in order to build them. Node-RED will work without theseoptional dependencies. If you get fatal errors, first check that you installed thewindows-build-tools
module and that you have closed and opened your command prompt window.
Install Printer Ibm 9068-a03 Di Windows 7 Download
Running on Windows
Once installed, the simple way to run Node-RED is to use the node-red
command in a command prompt:If you have installed Node-RED as a global npm package, you can use the node-red command:
This will output the Node-RED log to the terminal. You must keep the terminal open in order to keep Node-RED running.
Note that running Node-RED will create a new folder in your %HOMEPATH%
folder called .node-red
. This is your userDir
folder, think of it as the home folder for Node-RED configuration for the current user. You will often see this referred to as ~/.node-red
in documentation. ~
is shorthand for the user home folder on Unix-like systems. You can use the same reference if using PowerShell as your command line as recommended. If you are using the older cmd
shell, that won’t work.
You can now create your first flow.
Using PM2
If you are using Windows to develop Node-RED flows or nodes, you may find it helpful to use PM2 to run Node-RED. This can be configured to automatically restart when files change, always keep Node-RED running and manage log output.
Run Node-RED on Startup
If you want to use Windows as a production platform for Node-RED, you will want to have a Windows Task Scheduler job set up. To do so:
- Go to the start menu and type “task scheduler” and click on the result.
- Click on “Create Task…” in the right-hand menu. Follow the steps to create a new task.
Make sure that you use the user login that you’ve used to set up and do the initial run of Node-RED. You can use an “At startup” trigger to always run Node-RED at system startup. Use the Action “Start a program” with details set to C:Users<user>AppDataRoamingnpmnode-red.cmd
(replacing <user>
with your actual user name).
You may wish to make sure that it only starts if the network is available. You may also wish to restart if the job fails. Perhaps restarting every minute but only 3 times - if it won’t start by then, the error is fatal and will need some other intervention. You can check for failures by looking in the event log. If you want to access to the logs when running this way, you should amend the node-red.cmd file to redirect std and error outputs to a file (creating an alternative startup file would be better so that it isn’t overwritten on updates).