When used with Webulator/400, Net Print/400 provides a series of easy to use commands to identify, transform, and transmit the AS/400 print stream to the requester's browser. With the aid of the plug-in, the user can select the printer, and the number of copies to print. After the report is printed, the user can continue with their Webulator/400 session. The user can also pass through to a separate AS/400 and print reports from there provided the pass through system has Net Print/400 installed.
Net Print/400 also ships with a series of sample Net.Data macros and AS/400 programs that allow you to fully customize the interface for selecting the AS/400 reports for Internet printing. For example, using the scripting interface, you can easily identify a single output queue whose reports, would be available to Internet users. Because it is written in a Net.Data macro, you have full control over the look and feel of the script's output so that you can add such features as standard mastheads and navigation to the output of the script. Net Print/400 can also utilize the SSL functionality of the server to send reports securely.
Flow of a Net Print/400 Session
A - Webulator/400 Environment
B - CGI Environment
Customizing Net Print/400
WRKSPLFNP command can be bypassed in favor of calling the
SNDSPLFNP command directly allowing you to set the selection interface yourself. The
SNDSPLFNP command can also be called from other AS/400 applications, just like any other AS/400 command.
The supplied CGI interface uses a Net.Data macro. The customer can modify the macro, or write their own CGI using any other supported CGI language. The important issue is that the correct parameters get passed to the program
NETPRTIB. (See Chapter 5, "Creating a URL to print a spooled file").
More detail and examples on both of these methods are given in Chapter 4, "Configuration of CGI Environments" and chapter 5.
PTF'sWBL200017, and WBL200018 for Webulator/400 to be able to transmit a spooled file to the browser. For instructions on downloading and installing PTF's, visit the I/NET website at:
You must have the Net Print/400 plugin and Netprint Viewer.exe installed on your PC in the location required by the browser you are using in order to print spooled files. (Refer to Chapter 6, "The Net Print/400 Browser configuration," for more information)
Spooled file Authorities
A spooled file is a special type of object on the system. You cannot directly grant and revoke authority to view and manipulate a spooled file. The authority to a spooled file is controlled by several parameters on the output queue that holds the spooled file.
When you create a spooled file, you are the owner of that file. You can always view and manipulate any spooled files you own, regardless of how the authority for the output queue is defined. You must have
*READ authority to add new entries to an output queue. If your authority to an output queue is removed, you can still access any entries you own on that queue using the Work with Spooled Files using Net Print/400 (
WRKSPLFNP) command. The security parameters for an output queue are specified using the Create Output Queue (
CRTOUTQ) command or the Change Output Queue (
CHGOUTQ) command. You can display the security parameters for an output queue using the Work with Output Queue Description (
Note: A user with
*SPLCTL special authority can perform all functions on all entries, regardless of how the output queue is defined. Some parameters on the output queue allow a user with
*JOBCTL special authority to view the contents of entries on the output queue.
For CGI and Net.Data sessions
The user profile executing the CGI programs and macros must have spooled file authorities.
For interactive Webulator/400 sessions
The user profile used to sign onto the Webulator/400 session must have spooled file authorities.
Other Authority Considerations
Certain options include the use of an AS/400 device description, or Workstation Customizing Object (WSCST). If it is desired to excercise these options, you must have authority to use their associated objects as well.
For more information about authorities, please refer to: AS/400e Series Security - Reference Version 4 (Document Number SC41-5302).
Copyright © I/NET All rights reserved.