Browse Prior Art Database

Performing Automatic Print Orientation on VTAM Application Output for TCP/IP Printing

IP.com Disclosure Number: IPCOM000015285D
Original Publication Date: 2001-Dec-31
Included in the Prior Art Database: 2003-Jun-20
Document File: 5 page(s) / 76K

Publishing Venue

IBM

Abstract

Disclosed is an automatic print orientation feature that can be used when converting VTAM* print data to a format that is suitable for LAN printing. This feature is provided by the NetSpool* component of Infoprint* Server for z/OS*. Customers who generate print output from VTAM applications (such as CICS* and IMS*) have been migrating their printing from coaxially-attached printers to LAN attached printers using the NetSpool and IP PrintWay* components of Infoprint Server for z/OS or similar software products. Most coaxially-attached VTAM SCS cut sheet printers (such as the IBM Infoprint 32) have an automatic print orientation (APO) function that that switches between portrait and landscape printing. LAN attached ASCII printers do not have this function, so the APO function is lost as a result of migration. Customers must provide additional printer and VTAM definitions to handle separation of applications that need to print in portrait or landscape orientations. To provide the needed text orientation switching for VTAM applications when printing to LAN attached printers, NetSpool has provided an automatic print orientation feature that converts the SCS data to the PCL* 5 data stream, inserting printer controls to switch between portrait and landscape printing on a page-by-page basis before the data arrives at the printer. The APO feature can be extended to other data streams in the future. NetSpool is able to perform text orientation changes for applications that output SCS data streams via LU Type 1 VTAM sessions. It uses formatting and processing information in both the Infoprint Server inventory and SCS data stream controls generated by the VTAM applications. By comparing logical line and page lengths derived from the inventory attributes and SCS data stream controls, NetSpool is able to determine the appropriate orientation and output PCL commands to change the orientation if needed. No change is required to the VTAM application to provide special controls.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 37% of the total text.

Page 1 of 5

  Performing Automatic Print Orientation on VTAM Application Output for TCP/IP Printing

Disclosed is an automatic print orientation feature that can be used when converting VTAM* print data to a format that is suitable for LAN printing. This feature is provided by the NetSpool* component of Infoprint* Server for z/OS*.

Customers who generate print output from VTAM applications (such as CICS* and IMS*) have been migrating their printing from coaxially-attached printers to LAN attached printers using the NetSpool and IP PrintWay* components of Infoprint Server for z/OS or similar software products. Most coaxially-attached VTAM SCS cut sheet printers (such as the IBM Infoprint 32) have an automatic print orientation (APO) function that that switches between portrait and landscape printing. LAN attached ASCII printers do not have this function, so the APO function is lost as a result of migration. Customers must provide additional printer and VTAM definitions to handle separation of applications that need to print in portrait or landscape orientations.

To provide the needed text orientation switching for VTAM applications when printing to LAN attached printers, NetSpool has provided an automatic print orientation feature that converts the SCS data to the PCL* 5 data stream, inserting printer controls to switch between portrait and landscape printing on a page-by-page basis before the data arrives at the printer. The APO feature can be extended to other data streams in the future.

NetSpool is able to perform text orientation changes for applications that output SCS data streams via LU Type 1 VTAM sessions. It uses formatting and processing information in both the Infoprint Server inventory and SCS data stream controls generated by the VTAM applications. By comparing logical line and page lengths derived from the inventory attributes and SCS data stream controls, NetSpool is able to determine the appropriate orientation and output PCL commands to change the orientation if needed. No change is required to the VTAM application to provide special controls.

When PCL formatting and the APO options are selected in an Infoprint Server printer definition, NetSpool sets the orientation of the printed text to either portrait or landscape, based on current logical line and page length parameters. If the orientation is changed to landscape and the line length is still too long for the width of the page, the line and print density are increased to allow the text to fit on the page.

The NetSpool implementation of APO is somewhat similar to the APO feature used on IBM printers that support SCS data streams. However, NetSpool operates independently of the printer and formats the data before it is sent to the printer. It also can provide separate print formatting options and parameters for each VTAM

1

Page 2 of 5

application that sends data to it. Thus NetSpool's APO feature is more flexible and has some distinct advantages over the hardware implementatio...