Gsk Spool Printer Admin

85
Xerox SAP R/3 Device Types User and Installation Guide Version 1.0 March 29, 2001 THE DOCUMENT COMPANY XEROX

description

Spool Printer Admin

Transcript of Gsk Spool Printer Admin

Page 1: Gsk Spool Printer Admin

Xerox SAP R/3 Device Types

User and Installation Guide

Version 1.0

March 29, 2001

THE DOCUMENT COMPANY

XEROX

Page 2: Gsk Spool Printer Admin

Xerox Corporation101 Continental BoulevardEl Segundo, CA 90245Copyright © Xerox Corporation 2001. All rights reserved.XEROX®, The Document Company® and the stylized X are trademarks of XEROX CORPORATION.Copyright claimed includes all forms and matters of copyrightable material and information now allowedby statutory or judicial law or hereinafter granted, including without limitation, material generated from thesoftware programs which are displayed on the screen such as icons, screen displays, looks, etc.Product and service names profiled herein are trademarks of Xerox Corporation.Other company trademarks are also acknowledged, including:SAP® is a registered trademark of SAP Aktiengesellschaft, Systems, Applications and Products in DataProcessing, Neurottstrasse 16, 69190 Walldorf, Germany.Adobe and PostScript are trademarks of Adobe System, Incorporated.DEC is a trademark of Digital Equipment Corporation.HP products mentioned in this publication are trademarks of International Business MachinesCorporation.Microsoft, MS-DOS, and Windows are trademarks of Microsoft Corporation.SunOS is a trademark of Sun Microsystems, Incorporated.UNIX is a trademark of UNIX Systems Laboratories, Inc. a wholly owned subsidiary of Novell, Inc.Novell and NetWare are trademarks of Novell, Inc.Any other named products profiled herein are trademarks of their respective companies.

Publication date March 2001Printed in the United States of AmericaThis document was created in Microsoft Windows NT using Microsoft Word 97Created by Michael Dubos and Tracey ButlerChanges are periodically made to this document.Changes, technical inaccuracies, and typographical errors will be corrected in subsequent editions.

Page 3: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES – USER GUIDE PAGE - I

Table of Contents

INTRODUCTION.....................................................................................................................................................................................................I

Printing ..............................................................................................................................................................................................................iDevice Types...................................................................................................................................................................................................iOutput Device ................................................................................................................................................................................................ii

PURPOSE OF THIS DOCUMENT..............................................................................................................................................................................IISCOPE....................................................................................................................................................................................................................IIREQUIREMENTS FOR INSTALLING THE XEROX DEVICE TYPES IN SAP ............................................................................................................IVREQUIREMENTS FOR DEFINING THE XEROX PRINTER IN SAP...........................................................................................................................IVREFERENCES..........................................................................................................................................................................................................VKEY TERMS............................................................................................................................................................................................................VCUSTOMER SUPPORT............................................................................................................................................................................................V

1. SAP R/3 PRINTING PROCESS ..............................................................................................................................................................1

R/3 PRINTING ........................................................................................................................................................................................................ 1Creating Print Data.......................................................................................................................................................................................2Spool Work Process ...................................................................................................................................................................................2Communication to the Host Spool System...........................................................................................................................................2Device Type + Output Device = Device Description..........................................................................................................................3SAPscript printing.........................................................................................................................................................................................5List printing .....................................................................................................................................................................................................5Spool Request ...............................................................................................................................................................................................6Output Request .............................................................................................................................................................................................7

DEVICE FORMAT.................................................................................................................................................................................................... 9FONTS .................................................................................................................................................................................................................... 9THE OUTPUT CONTROLLER .................................................................................................................................................................................. 9POSTSCRIPT FONTS........................................................................................................................................................................................... 11BARCODES........................................................................................................................................................................................................... 12

2. ACCESS METHODS .................................................................................................................................................................................13

LOCAL PRINTING ................................................................................................................................................................................................. 16REMOTE PRINTING............................................................................................................................................................................................... 16PRINTER DEFINITIONS .......................................................................................................................................................................................... 16

Using Printers via LP/LPR .......................................................................................................................................................................19Installing Printers on a UNIX Front-end...............................................................................................................................................20

3. XEROX SAP R/3 DEVICE TYPES ........................................................................................................................................................22

XEROX/SAP ARCHITECTURE ............................................................................................................................................................................. 22COPYING XEROX SAP R/3 DEFAULT DEVICE TYPE(S).................................................................................................................................. 24DOWNLOAD THE XEROX PRINTER DEVICE TYPE(S) FROM THE XEROX WEB SITE......................................................................................... 24CREATING XEROX DEVICE TYPES WITH PSPRO CONFIGURATOR TOOL ....................................................................................................... 26IMPORTING A XEROX DEVICE TYPE.................................................................................................................................................................... 28CREATE AN OUTPUT DEVICE............................................................................................................................................................................... 30

Assign the imported device type to the output device.....................................................................................................................34ASSIGNING A NEW DEVICE TYPE TO AN EXISTING OUTPUT DEVICE ................................................................................................................. 35SAPSCRIPT EDITING AND PRINTING.................................................................................................................................................................. 39

Text Elements..............................................................................................................................................................................................39Layout Sets...................................................................................................................................................................................................40

LIST PRINTING...................................................................................................................................................................................................... 41

4. DEVICE TYPE FORMATS.......................................................................................................................................................................42

Page 4: Gsk Spool Printer Admin

FORMATS............................................................................................................................................................................................................. 42PAGE FORMATS .................................................................................................................................................................................................. 43DEVICE FORMATS................................................................................................................................................................................................ 44SAPSCRIPT FORMATS ....................................................................................................................................................................................... 44

Creating a SAPscript Page Format .....................................................................................................................................................45Creating a SAPscript Format ..................................................................................................................................................................46Adding a SAPscript Format to a Device Type ...................................................................................................................................47Copy SAPscript Format Actions ............................................................................................................................................................49

LIST FORMATS ..................................................................................................................................................................................................... 50Creating a List Page Format ...................................................................................................................................................................50Creating a List Format...............................................................................................................................................................................51Adding a List Format to a Device Type................................................................................................................................................54Copy List Format Actions .........................................................................................................................................................................56

DEVICE FORMATS ............................................................................................................................................................................................... 57Default Actions ............................................................................................................................................................................................60Adding Printer Initialization Commands to Xerox Printers .............................................................................................................60Adding Special PostScript Commands ................................................................................................................................................60Modifying Printer Initializations for NPS ..............................................................................................................................................63

APPENDIX A – HINTS AND TIPS.................................................................................................................................................................66

DOCUSP AND NPS DIFFERENCES................................................................................................................................................................... 66NPS MIX PLEX ................................................................................................................................................................................................... 69

Simulated mixed plex (for release 1.6x and prior).............................................................................................................................69True mixed plex (for release 7.x)............................................................................................................................................................69

DP/DT65............................................................................................................................................................................................................. 70Cover, Banner, and Error Pages ............................................................................................................................................................70

DP180EPS ........................................................................................................................................................................................................ 70Stock Name .................................................................................................................................................................................................70

APPENDIX B – STANDARD PAPER SIZE CONVERSION TABLES.................................................................................................71

Page 5: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES – USER GUIDE PAGE - III

Table of figures

Figure 1.0 SAP R/3 Device Description.......................................................................................................................................................... 3

Figure 1.1 SAP R/3 Device type and Output device................................................................................................................................... 4

Figure 1.2 SAP R/3 spool system.................................................................................................................................................................... 6

Figure 1.3 R/3 Output System........................................................................................................................................................................... 7

Figure 1.4 SAP R/3 output requests................................................................................................................................................................ 8

Figure 2.0 Add printer wizard ........................................................................................................................................................................... 17

Figure 2.1 Select printer .................................................................................................................................................................................... 17

Figure 2.2 SAP R/3 Output Device—HostSpoolAccMethod for frontend printing ............................................................................ 18

Figure 2.3 SAP R/3 Output device HostSpoolAccMethod for LP/LPR................................................................................................ 19

Figure 2.4 SAP R/3 Output device—HostSpoolAccMethod for Unix printing.................................................................................... 21

Figure 3.0 ABAP Editor: Initial Screen.......................................................................................................................................................... 28

Figure 3.1 SAPscript Export to Dataset /SAPscript Import from Dataset screen ........................................................................... 29

Figure 3.2 Import Confirmation Message...................................................................................................................................................... 30

Figure 3.3 Spool Administration: Initial Screen ......................................................................................................................................... 31

Figure 3.4 Spool Administration: List of Output Devices........................................................................................................................ 32

Figure 3.6 Spool Administration: Host Spool Access Method .............................................................................................................. 35

Figure 3.8 Spool Administration: List of Output Devices........................................................................................................................ 37

Figure 3.9 Spool Administration: Create Output Device.......................................................................................................................... 38

Figure 3.10 Standard Text: Request screen................................................................................................................................................ 39

Figure 4.0 R/3 format (types)........................................................................................................................................................................... 42

Figure 4.1 Insert a Device Format in Xerox PSpro..................................................................................................................................... 44

Figure 4.2 Spool Administration: Copy Page Format from DINA5........................................................................................................ 45

Figure 4.3 Format screen.................................................................................................................................................................................. 47

Figure 4.4 Formats for a device type ............................................................................................................................................................. 48

Figure 4.5 Create Format screen.................................................................................................................................................................... 48

Figure 4.6 Maintain Format screen for Device Type screen ................................................................................................................... 49

Figure 4.7 Spool Administration: Copy Page Format from ANY ........................................................................................................... 51

Figure 4.8 List of formats................................................................................................................................................................................... 52

Figure 4.9 Copy/Create Format screen......................................................................................................................................................... 53

Figure 4.10 List of formats for a device type................................................................................................................................................ 54

Figure 4.11 Pop-up window............................................................................................................................................................................... 55

Figure 4.12 Formats for Device Type ZDP65 after creating device format.......................................................................................... 55

Figure 4.13 Copying actions from existing format to new device format............................................................................................. 56

Figure 4.14 Copy Format screen .................................................................................................................................................................... 57

Figure 4.15 Format maintenance screen of the LETTER device format of a PostScript device.................................................. 61

Figure 4.16 Printer initialization editor screen for LETTER for a PostScript device type............................................................... 62

Figure 4.17 Printer initialization editor screen for X_65_80 of PostScript device type.................................................................... 63

Figure 4.18 Format maintenance screen of the LETTER device format of a Postscript device................................................... 64

Figure 4.19 Printer initialization editor screen for LETTER for a PostScript device type............................................................... 65

Page 6: Gsk Spool Printer Admin
Page 7: Gsk Spool Printer Admin

INTRODUCTION

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE I

Introduction

In the computer industry, change is constant.

Just when you thought you knew everything about mainframe, midrange,and desktop computers, network topology, protocols and operatingsystems, along comes a company that spins your head around.

SAP (pronounced S-A-P) has defined enterprise computing, andinvented a new vocabulary to describe its product and the processes theproduct uses to get information from one place to another.

Printing

Understanding SAP terminology is part of the learning process. Forexample, from the Xerox point of view “Printing a document” refers to alaser printer making marks on paper. From the SAP point of view,“Printing a document” refers to an internal process—creating anelectronic file in a proprietary R/3 format that can be viewed on line. R/3was designed as a “paperless” solution; therefore, output is an optionalstep in the printing process.

In SAP terms, the most sophisticated laser printing system is just anotheroutput device on the network.

All output devices must have two files in the R/3 system:

§ Device Type

§ Output Device

Device Types

A Device Type in SAP R/3 is very similar to a printer driver. SAP includesa set of device types with their R/3 software. The set includes standardPostScript and PCL device types, as well as device types for mostprinter manufacturers’ devices. The standard set does not, however,include device types for Xerox DocuPrint and DocuTech printers.

SAP provides instructions for modifying the device types included withthe software, but modification requires PostScript programmingknowledge and familiarity with Xerox products. To make the Xeroxanalyst’s job easier and to enable the SAP R/3 customer requirementsfor printing to Xerox DocuPrint and DocuTech devices, theXerox A&PM Team in El Segundo pre-configured Xerox SAP R/3Devices Types and validated them through lab tests. The Xerox SAP R/3Devices Types can be downloaded from the Xerox web site, thenuploaded to a customer’s R/3 system without modification.

Page 8: Gsk Spool Printer Admin

INTRODUCTION

PAGE II XEROX SAP R/3 DEVICE TYPES USER GUIDE

Output Device

An Output Device is a printer definition that includes the name of theprinter, its IP address and the spool server serving it. The Output Devicemust have a device type assigned to it. Instructions for doing both areincluded in this document.

Purpose of this document

The purpose of this document is to inform and teach Xerox analysts howto enable the following Xerox printers in a SAP R/3 environment by usingthe Xerox SAP R/3 Device Types:

§ Xerox DocuPrint 65, DocuPrint 75, DocuPrint 92C , DocuPrint 96,DocuPrint 4635, DocuPrint 180, DocuPrint 4850, DocuPrint 4890,DocuPrint 100 EPS, DocuPrint 115 EPS, DocuPrint 135 EPS,DocuPrint 155 EPS, DocuPrint 180 EPS,

§ Xerox DocuTech 65, DocuTech 75, DocuTech 135, DocuTech 180,DocuTech 6100, DocuTech 6115, DocuTech 6135, DocuTech 6155

Scope

During the planning stage of this document, as with any technicaldocument, the question of scope predominates. How much informationshould be included? Which problems should it address? And the bigquestion always becomes: where to stop, because as with any technicaldocumentation, it could go on forever.

The decision was made to limit the discussion to SAP R/3 device typesand the role they play in printing from R/3. If you are interested in learningmore about the entire R/3 system, there are many books on the marketabout the product and how it works. One of the best is the SAP R/3Handbook by Jose Antonio Hernandez, which is not a handbook at all buta 1,000-page detailed description of the R/3 software and the benefitsthat makes it so desirable to global organizations.

This document includes:

§ A brief overview of the SAP R/3 printing process and the importanceof device types in the R/3 system

§ Instructions for downloading Xerox SAP R/3 Device Types from theXerox web site and importing them into a customer’s R/3 system

§ Instructions for defining an Output Device in SAP R/3.

§ Instructions for modifying Xerox printer formats in SAP R/3

Page 9: Gsk Spool Printer Admin

INTRODUCTION

XEROX SAP R/3 DEVICE TYPES – USER GUIDE PAGE III

§ Instructions for modifying Xerox printer initialization formats.

This document is not intended to be a teaching guide on SAP R/3 spooladministration or device initialization. It is a guide for setting up a Xeroxprinter in an R/3 environment.

Page 10: Gsk Spool Printer Admin

INTRODUCTION

PAGE IV XEROX SAP R/3 DEVICE TYPES USER GUIDE

Requirements for Installing the Xerox Device Types in SAP

The Xerox SAP R/3 Device Types must be loaded from a MicrosoftWindows NT workstation or server. The Device Types were created in anNT environment using the Xerox PSpro Device Type Configurator tool.

Instructions in this document assume that the person loading the devicetypes has a working knowledge of SAP administration and is familiar withABAP/4, SAPscript, spool administration, and SAP printing.

Xerox analysts will, in most cases, work with the customer’s systemadministrator to enable the Xerox printers. The system administrator mayeven limit the analyst’s role to delivering the Xerox SAP R/3 DeviceTypes.

Requirements for Defining the Xerox Printer in SAP

After importing a Xerox SAP R/3 default device type or a device type thathas been created using the Xerox PSpro Device Type Configurator tool,the Xerox customer must define and associate an output device. Theperson responsible for defining the Xerox Printers should know how to:

§ Import a device type

§ Create an output device

§ Assign a device type to an output device

If a customer creates a new format using the PSpro Device TypeConfigurator Tool they should know how to:

§ Create a page format in SAP R/3

§ Create a format in SAP R/3

If a customer wants to print using SAPscript they should know how to:

§ Create a SAPscript layout set

§ Associate a SAP page format to a layout set

§ Use the standard text editor in SAP

§ Associate a SAPscript layout to standard text

Page 11: Gsk Spool Printer Admin

INTRODUCTION

XEROX SAP R/3 DEVICE TYPES – USER GUIDE PAGE V

References

The following information is provided for reference on SAP and XeroxDevice Types:

§ www.sap.com – SAP America

§ xww.txc.world.xerox.com/index.asp - Xerox SAP Device TypeInformation

§ xww.txc.world.xerox.com/index.asp - Xerox Enterprise ResourcePlanning (ERP) Third-Party Enabler Guide

Key Terms

ABAP Advanced Business Application Programming language

ERP Enterprise Resource Planning

Forms Page layout definitions for text

ITF Interchange Text Format

Layout set Predefined page layout

OTF Output Text Format

SAP Systems, Applications and Products in Data Processing

SAPLPD SAP Line Printer Daemon

SAPscript SAP’s text editor

Transaction Code used to access SAP R/3 dialogs

Customer Support

There is no contractual agreement between Xerox and SAP for thissolution. Therefore, no formal contact information can be provided toXerox support personnel in regards to contacting SAP. However, SAPAdministrators at the Customer site can go to SAP via their supportagreements for assistance.

For general information on SAP, visit the following Web Site:http://www.sap.com.

Xerox Corporation

US

Telephone: (800) 821-2797Hours of operation: 24 hrs.

Page 12: Gsk Spool Printer Admin

INTRODUCTION

PAGE VI XEROX SAP R/3 DEVICE TYPES USER GUIDE

Canada

Telephone: (800) 939-3769Hours of operation: 24 hrs

Page 13: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 1

1. SAP R/3 Printing Process

SAP (pronounced S-A-P) is a German-based company that hasdeveloped two software packages, R/2 and R/3. R/2 runs on amainframe. R/3 runs on UNIX, Windows NT, IBM OS/400, and IBMOS/390 client/server operating system platforms.

R/3 is an ERP (Enterprise Resource Planning) product, which integratesan organization’s business processes from financial and humanresources to manufacturing, sales, and distribution. Users across anorganization use R/3 to manage data associated with their role in thebusiness process. From within each R/3 application, the user has theability to print to an R/3-configured printer.

SAP provides a spooling and printing system within the R/3 application toenable a uniform interface for all printing functions, independent of systemplatforms. The internal spool system can generate a print–ready outputstream for a variety of supported printers. When a user selects [Print],R/3 prepares the job as a device-dependent print job. That job is thentranslated into the language for the specified print driver and then handedoff to the host printing system (e.g., UNIX, Novell, Windows NT).

R/3 Printing

R/3 maps a host-based printing system (e.g. UNIX, or Novell) to the R/3print spooler. Device Types allows users to print and to use printerfeatures without introducing device dependencies into the R/3 printingsystem.

A job printed in the SAP system goes through the following steps.

1. Select device type

2. Create print data

3. SAP spool work process

4. Communication to host spool system

Page 14: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

PAGE 2 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Creating Print Data

The print data source in R/3 may be an ABAP/4 program (List Output), oran R/3 application (such as a program editor, the SAPscript textprocessing system, or the R/3 presentation graphics system). Any ofthese agents can print a document and generate a spool request (seeSpool Work Process below).

Spool Work Process

Every printer or other defined output device requires an associated spoolwork process. The spool work process handles all spool requests for aspecific device. The SAP spool work process runs on an applicationserver that formats the data into an output request. Once the conversionis completed, the spool work process sends the output request to thehost spool system. When sending to a UNIX (LP based) system, thespool work process forwards the print job directly to the UNIX spooler forprinting. On Windows NT based systems, the SAP spool work processforwards the job to the SAPLPD daemon running on a Windows NTclient. The SAPLPD daemon then submits the job to a Windows NT printqueue.

Communication to the Host Spool System

The host spool system or the print manager is responsible for the last linkin the communication between the R/3 System and the printer. The R/3System does not directly drive printers, rather it passes print data to thehost spool system or print manager. The host system print manager isresponsible for passing the data to the output device (e.g., printer).

Page 15: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 3

Device Type + Output Device = Device Description

A Device Type is an ASCII file that, along with an Output Device file,provides essential information for printing from R/3. A DeviceDescription is an R/3 logical object that includes an OUTPUT DEVICEand a DEVICE TYPE, as illustrated (Figure 1.0) below.

Figure 1.0 SAP R/3 Device Description

Device Type – A typical R/3 device type contains the same informationas a printer driver in a Microsoft Windows system: it provides informationto the R/3 Spooling System about how to format a job for output and howto place text and objects on a page. Of the 310 pages of ASCII text that isthe DP65 Device Type, most of it maps internal R/3 print controls toPostScript commands.

Device types specify:

§ the R/3 character set to use for coding characters for output (ASCII,extended ASCII, EBCDIC, country sets that include special characterssuch as umlaut, etc.)

§ the SAPscript OTF print driver the R/3 spool system should use toformat output

§ device format information such as page size and orientation

§ device-specific commands (i.e. PCL escape sequences, PostScriptcommands) to substitute for R/3 print controls and device formatactions during the output process

§ specifies font metrics

Making a change to a device type puts the change into effect for alldevices that reference the device type. In a case where R/3 does notsupport a device type for a particular printer, the administrator mustcreate a new device type.

The SAP R/3 system includes a list of standard device types. Newdevice types are added with each new release.

Page 16: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

PAGE 4 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Output Device – Also called a Device Definition, identifies a printer orfax machine to the R/3 spool system. It includes:

§ addressing information

§ the R/3 name of the device

§ the name of the device in the host system (print server or other)

§ the routing method or how the R/3 spool system can transfer data tothe device.

Since formatting information is the same for all instances of a printermodel, a single device type can be shared among all such devices asillustrated (Figure 1.1) below. For example, if a customer installs threeXerox DocuPrint 65 printers, only one Xerox SAP R/3 Device Type isrequired, but each printer will have its own Output Device file.

Figure 1.1 SAP R/3 Device type and Output device

Page 17: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 5

SAPscript printing

SAPscript can be thought of as merging an electronic form with data. Itrequires a user to create “forms” or as SAP calls them, “SAPscript layoutsets” with either Form Painter, a drag-and-drop graphical WYSIWYGprocess, or with the SAPscript programming language.

Once the layout sets have been created, printing from SAPscript is a two-step process: 1) create a document that can be viewed on screen, then2) convert it to a document that can be output to a specific device. DeviceTypes are an integral part of both steps.

§ First, a user initiates a Spool Request from an R/3 application. ASpool Request “prints” a Spool Request Document, which is partiallyformatted, printer-specific data. Spool Request documents can beviewed on screen and cannot be changed.

§ Second, a user initiates an Output Request. The output requestgenerates a datastream, which is completely formatted for a specificdevice. The output request also routes the datastream to the device.The datastream cannot be viewed or changed.

§ The SAP R/3 Spooling System references a device type when it“prints a document” (Spool Request) and again when it creates theoutput datastream (Output Request).

Notes:

§ The Spool Request and Output Request can be generatedsimultaneously by using the “Print Immediately” option in R/3.

§ In some cases, only a Spool Request will be initiated. In others,multiple output datastreams will be created using the data from oneSpool Request.

List printing

List printing is similar to SYSOUT from a mainframe, or ASCII text printedfrom a text editor in DOS. It is data simply formatted in characters per lineand lines per page. The R/3 List format X_65_80 sets data into 65characters per line and 80 lines per page, for example.

Page 18: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

PAGE 6 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Spool Request

When a Spool Request is initiated, the R/3 application sends the requestto the R/3 Spool System as illustrated in Figure 1.2 below. There, theSAPscript Composer adds partial formatting information to the data byreferring to a Device Type.

Figure 1.2 SAP R/3 spool system

Data + SAPscript Layout Set + Device Type = R/3 OTFR/3 spoolrequests consist of the request record and the print data in a device-independent form. Spool requests are queued in the SAP spool systemuntil they are released, or until the spool work process has the resourcesto process the job.

The partially-formatted data is stored in an internal R/3 format—OTF(Output Text Format, the SAPscript page description language) in an R/3temporary database—TemSe (Temporary Sequential). OTF provides on-line viewing of the formatted spool request. Remember, R/3 wasdesigned as a “paperless” solution, therefore viewing on line is key.

Based on the information in the Device Type file, the OTF data is writtenfor a specific type of device (a PostScript printer, for example) and for aspecific format (page size and orientation, for example).

The Spool Request OTF document includes the following:

Text Filling Attributes—absolute character positioning, spacingbetween characters in non-proportional fonts (Times, Helvetica), line andpage boundaries. All of this information is supplied by the font metrics asdefined in the Device Type.

Page 19: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 7

Print Controls--R/3 tags for changing fonts, starting or stoppingunderlining, starting or stopping boldface, italics and so on.

Print controls are added to a datastream in three ways:

§ Embedded by the R/3 application when “printing a document” orcreating a Spool Request document

§ Inserted by the SAPscript OTF driver when “Printing a document” orcreating a Spool Request document

§ Inserted by users in SAPscript documents

The printer-specific information in the spool request document cannotbe changed.

Output Request

Once a Spool Request is stored in the TemSe, an Output Request canbe initiated. Xerox calls this process “Printing a Document.” Figure 1.3shows the R/3 screen for creating an output request.

Figure 1.3 R/3 Output System

Page 20: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

PAGE 8 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Several Output Requests can be created from one Spool Requestdocument or OTF file as illustrated in Figure 1.4. Output Requests mayhave different attributes, such as target printer or number of copies, butthe data must be output to a device with the device type attributes used tocreate the spool request.

Figure 1.4 SAP R/3 output requests

1. First, the R/3 Spool System changes the R/3 system character set tothe character set that printer will use, which is specified in the DeviceType.

2. Next, an OTF printer driver converts the OTF (Output Text Format)data to a device-specific format (in this case, PostScript).

The OTF Printer Driver processes data in the following order.

1. Replace Print Controls with Printer-Specific escape sequencesor PostScript commands for begin/end bold, italic, change font, etc.

2. Insert device-specific output commands Initialize printer, insertactions such as begin/end page, line, etc.

3. Finally, the driver refers to the Device Definition to:

4. Route data to the printer or a print server

5. Query the printer or server for job status

Page 21: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 9

Device Format

Equally important to the R/3 printing process are format specificationsboth within the R/3 system and as they relate to the printer. See Chapter4 “Device Type Formats” in this document for more information aboutformats and how to create them.

An R/3 “format” identifies a paper size by name (LETTER) or bycharacters/line and lines/page (132-character lines, 65 lines per page orX_65_132).

R/3 supports standard page sizes: LETTER, LEGAL, DINA4, etc. Adevice type specifies one of the formats defined in the R/3 spool systemand must include a compatible device format to support it.

Device Format A device format includes printer-specific escapesequences, printer commands, or actions such as printer initialization,line end, page end, etc. A device format configures a printer or otherdevice for a particular type of R/3 output. New device formats must becreated for each format used with a new device type. For example,LETTER and LEGAL device formats must be created for the DP65 toprint both page sizes on that printer.

Page Format A page format is R/3-specific. It specifies the logicaldimensions of the page or screen. SAPscript refers to the page formatfor filling text on a page and inserting line begin/end, page begin/endcommands.

Fonts

SAPscript maintains the font metrics for printing from SAPscript. The fontmetrics, or fonts, are identified by the R/3 spool device type. TheSAPscript maintenance function is available from the Spool menu in theR/3 System. Since fonts and font metrics are used "before" a SAPscriptdocument comes to the spool system (by the SAPscript composer).All metrics data for the standard SAPscript fonts is provided with the R/3System. You can also add new Adobe font metrics data using aSAPscript function.

The Output Controller

The Output Controller is an R/3 utility for managing spool and outputrequests. This utility provides output request status and print logs in theevent of formatting or printing problems.The output controller is also used to display the contents of spoolrequests in WYSIWYG format perform other standard operations such asPrint and Delete.

Page 22: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

PAGE 10 XEROX SAP R/3 DEVICE TYPES USER GUIDE

To analyze print problems, the print output stream can be dumped into theprint log that is created for the associated output request.Third-party SAP/R3 print enablers

When an electronic forms package such as JetForm or Formscape areused to format R/3 output, a device type called “Plain” is used. Output isstraight ASCII.

The 3rd party packages provided a WYSIWYG forms design function anda merge engine to insert variable data into the forms. These 3rd-partypackages either used their own Xerox print drivers or Xerox driversinstalled on Microsoft Windows or NT.

SAPscript is the R/3 page-formatting tool. Prior to release 4.0, printingdirectly from R/3 required SAPscript programming through a text editorand use of a default device type.

SAPscript 4.0 includes a WYSIWYG forms design tool called FormPainter.

There are two pdf documents on the SAP web sitehttp://www.sap.com/solutions/technology/im_conf.htm :

- SAP® Smart Forms

- SAPscript 4.

Page 23: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 11

PostScript Fonts

Normally, SAPscript only supports three font families: Helvetica, Times,and Courier as shown in Table 1.2 below.

There are two independent ways of using fonts within SAP R/3:

§ Send them to a printer

§ Display them on a screen

Although it might be easy to create printer fonts, screen fonts are anotherissue. With screen fonts, manipulating print controls, deviceinitializations, positioning, line and pagebreaks must be considered.

If additional fonts are required for SAP R/3 printing, the steps requiredwould be the following:

§ Identify the font family

§ Purchase the font (preferably Postscript Type 1)

§ Create SAP font metric from AFM file (not needed for OCR/MICR)

§ Create font in font table

§ Create print controls

Table 1.2 Supported Fonts

FontName

SmallestSize

Largest Size Possible Modes

Courier 6 points 72 points Normal, Bold, Italic, BoldItalic

Helvetica 6 points 72 points Normal, Bold, Italic, BoldItalic

Times 6 points 72 points Normal, Bold, Italic, BoldItalic

Page 24: Gsk Spool Printer Admin

SAP R/3 PRINTING PROCESS

PAGE 12 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Barcodes

Barcodes and OCR fonts are supported for Xerox SAP R/3 DeviceTypes with the Xerox SAP Intelligent Barcode Utility. The Xerox SAPIntelligent Barcode Utility allows barcode printing on any appropriatelyconfigured PostScript printer on a customer’s R/3 network.

Configuration of the printers requires the user-defined print controlcommands SBP and SBS, which have been included in the print controltables of the respective Xerox SAP R/3 Device Types.

The Xerox SAP Barcode Utility will work only with Xerox SAP R/3 DeviceTypes and barcode fonts from the Xerox Font Center. For moreinformation on how to order and load Barcode and OCR fonts refer to theXerox SAP R/3 Intelligent Barcode Utility Installation Guide.

The Xerox SAP R/3 Intelligent Barcode Utility currently supports thefollowing widely-used barcode symbologies.

§ Code 3 of 9§ Code 3 of 9 with check digit§ Code 3 of 9 extended (supports full ASCII table)§ Code 3 of 9 extended with check digit§ Interleaved 2 of 5§ Interleaved 2 of 5 with check digit§ Code 128 Auto Switch§ Code 128 A§ Code 128 B§ Code 128 C§ EAN 13§ EAN 8§ UPC version A§ UPC version E§ Modified Plessey (MSI) with out check digit§ Modified Plessey with modulus 10 check digit§ Modified Plessey with Modulus 11 check digit§ Modified Plessey with Modules 11 + Modulus 10 check digit§ Modifies Plessey with Modulus 10 + Modulus 10 check digit§ POSTNET with 5 digit code§ POSTNET with 9 digit code§ POSTNET Delivery Point Code§ Facing Identification Mark (FIM) code§ Codabar§ Postal Graphics§ OCR A§ OCR B§ Line draw

Page 25: Gsk Spool Printer Admin

ACCESS METHODS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 13

2. Access methods

This section describes the Access Methods available for printing and theprocedures for configuring local and remote printers for SAP R/3.

Access Method refers to the way the SAP spool work processcommunicates with the host spool server. The Access Method selecteddepends on the operating system of the host spooler (e.g., UNIX,Windows NT, etc.), and on whether Local Printing or Remote Printing isused.

The following table (Table 2.0) describes the SAP R/3 Access Methods.

Table 2.0 SAP R/3 printer access methods

AccessMethods

Description

C Direct operating system call to print manager; data is not storedtemporarily in the host file systemCommonly used for local printing when defining output devices,which are managed by Windows NT systems.The spool work process and the print manager, which drives theprinter, are running on the same server.This access method does not allow for requesting status informationfrom the SAP spool system to the Windows NT print manager.

I Archive Service. This access method is for defining an out putdevice to be used as an archiving system.Can define a printer as an archive service. In this case, whendocuments are sent to the SAP spool system, they can be directlytransferred to the archive system as well as the actual printer.The Spool system is only used as temporary storage for documentsto be archived. The SAPArchiveLink facility handles further processing.

L Print locally via lp/lpr with Signal.SAP spool work process will use a command (e.g., lp or lpr) totransfer the spool requests to the host spooler.Lp or lpr commands are operating system dependent.SAP spool work process and the host spool are running on the sameserver.This access method is not supported under Windows NT systems.

Page 26: Gsk Spool Printer Admin

ACCESS METHODS

PAGE 14 XEROX SAP R/3 DEVICE TYPES USER GUIDE

AccessMethods

Description

F Front-end-printing; allows output to be sent directly to the user’sworkstation.SAP passes the output request to the SAPLPD transfer programat the user’s PC or to the “line printing daemon” (lpd) at the user’sUNIX workstation.Unlike other Access Methods, front-end printing does not use thespool work process, instead, all spool processing is done in adialog work process. This can degrade overall performance, asthe dialog work process can not handle other requests until theoutput has been set to the front-end workstation.

P This method is used for defining Device pools.This method is available from release 3.0D onward.With this method, output requests can be sent to more than oneprinter at a time. Automatic print load balancing on severalprinters can be performed with this access method.To enable this method, the ABAP/4 report RSP00051 must berun.

U Print using LPDHOST via the Berkeley protocol. (RFC 1179)This access method is used for both Remote and PC printing,where, the SAP spool work process and the server connected tothe printer are running on different hosts.SAP spool work process will transfer the formatted data to thehost spooler through the network link.This method is not recommended for slow WAN connections,since it might slow the processing of other print requests.This method can be used for UNIX and OS/2 systems. It is alsopossible to use this method together with the SAPLPD programon Windows NT systems, although access method S is moreappropriate.

S Print on LPDHOST via SAP protocol. This access method is usedfor remote and printing in a Windows NT environment.It uses a special SAP communication protocol (SAPLPD) whichincludes data compression, transmission of the SAP title, etc.This access method is mainly used for printers which are definedusing the SAPWIN device type.

X This method is used for devices managed by the SAP spoolsystem and is handled by the SAP communication (SAPcomm)server, such as FAX, Telex, and EDI.

Page 27: Gsk Spool Printer Admin

ACCESS METHODS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 15

E External System Output Management.Printer is connected over an external OMS (Output ManagementSystem).

Page 28: Gsk Spool Printer Admin

ACCESS METHODS

PAGE 16 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Local Printing

In the context of SAP Output Management, Local Printing means that theSAP spool work process is running on the same server as the host spoolsystem. Local Printing does not define the location of the printer itself,which may be locally attached or connected remotely over a network.

Remote Printing

Remote Printing means that the SAP system that runs the spool workprocess and the host spool system are connected over a network. Again,the printer itself may be local or remote to the host spooler.

Printer Definitions

The following examples illustrate how to set up printers for SAP R/3printing. For more information on the types of Access Methods available,see Table 2.0 “SAP R/3 printer access methods.”

Installing Printers in Windows NT

Printers installed in Windows NT can be configured to print from a front-end computer and bypass the spool work process. This configurationcan degrade overall performance, as the dialog work process can nothandle other requests until the output has been sent to the front-endworkstation.

In Windows NT, printers are either configured automatically by theappropriate installation program that is delivered with the printer, ormanually. In order to install the printers manually, the drivers must beavailable.

1. From the Start Menu select Settings à Printers.

The Printer window opens showing installed printers.

2. Double click on Add printer.

The Add Printer wizard starts (Figure 2.0).

Page 29: Gsk Spool Printer Admin

ACCESS METHODS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 17

Figure 2.0 Add printer wizard

3. Select My Computer.

4. Click Next >.

The Add Printer Wizard displays the available ports (Figure 2.1).

In most cases, printers are connected through a network, which meansthe appropriate port must be defined. For a network printer that usesTCP/IP for example, the appropriate TCP/IP address must be specifiedunder Add Port.

5. Either double click LPR PORT in the Available Printer Ports menu orselect New Port.

6. In the Add LPR compatible printer screen add the IP Address andthe printer queue name.

7. Close the Printer Ports menu.

Figure 2.1 Select printer

8. Install the printer driver by selecting Next >.

Page 30: Gsk Spool Printer Admin

ACCESS METHODS

PAGE 18 XEROX SAP R/3 DEVICE TYPES USER GUIDE

9. Select Xerox as the printer manufacturer. For the Xerox DocuPrint65, select the Xerox DT/Print65 PS3 v1.1 printer driver.

10. Select Next >.

aNotes: If the printer has been defined on the network as a remote printer and isto be accessed by R/3, set the printer up as shared and type in a sharename.

To access the printer as the default for your system and SAP R/3, selectit as the default printer. R/3 uses the share name to address a remoteprinter.

To define and access this printer in SAP R/3, see instructions underDefine the Xerox printer as an R/3 output device in this manual. In theHostSpoolAccMethod tab use F: Printing on frontend computer as theHost spool access method and __DEFAULT in the Host printer field(Figure 2.2).

Figure 2.2 SAP R/3 Output Device—HostSpoolAccMethod for frontendprinting

Page 31: Gsk Spool Printer Admin

ACCESS METHODS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 19

Using Printers via LP/LPR

To Print locally via lp/lpr the SAP spool work process uses a command(e.g., lp or lpr) to transfer the spool requests to the host spooler. With thisconfiguration, the SAP spool work process and the host spool run on thesame server.

To define and access this printer in R/3, see Define the Xerox printer asan R/3 output device in this document, page:

1. On the R/3 Spool Administration: Output Device (Display) window,select the HostSpoolAccMethod tab (Figure 2.3).

2. Enter L: Print locally using LP/LPR as the Host spool accessmethod.

3. Enter the IP address:queue name (13.1.408.47:tahoep1, forexample) in the Host printer field.

Figure 2.3 SAP R/3 Output device HostSpoolAccMethod for LP/LPR

Page 32: Gsk Spool Printer Admin

ACCESS METHODS

PAGE 20 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Installing Printers on a UNIX Front-end

In a SUN Solaris environment, printers are configured manually. Thisaccess method can be used for both Remote and PC printing. The SAPR/3 spool work process will transfer the formatted data to the hostspooler through the network link.

This type of Front-end printing is suitable for large print jobs.

1. First you must define the printers IP address on the UNIX server.

2. Update the host table with this address and save (etc/hosts).

3. Next create a spool for the printer that you want to access. Thefollowing is an example of this procedure:

4. Open a Terminal window.

5. Define spool: lpadmin –p printername –s printername!queuename

6. Enable the printer: lp –d printername hosts.

To define and access this printer in SAP R/3, go to the section Definethe Xerox printer as an R/3 output device in this manual.

Under the HostSpoolAccMethod tab use U:print using Berkley protocolas the Host spool access method and the IP address (13.1.408.47) inthe Host printer field (Figure 2.4).

Page 33: Gsk Spool Printer Admin

ACCESS METHODS

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 21

Figure 2.4 SAP R/3 Output device—HostSpoolAccMethod for Unixprinting

Page 34: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES – USER GUIDE PAGE 22

3. Xerox SAP R/3 Device Types

In SAP R/3 a printer has two files associated with it:

§ Device Type

§ Output Device

This chapter explains how to:

§ Import the Xerox SAP R/3 default Device Types into the customer’sSAP system using the R/3 program RSTXSCRP

§ Create an Output Device in R/3

§ Assign a Device Type to an Output Device

The Xerox SAP R/3 default Device Type(s) can be downloaded from theXerox website or created with the Xerox PSpro configurator tool.

The Xerox SAP R/3 Device Type names MUST NOT BE CHANGED.

The Xerox SAP R/3 Device Types are compatible with SAP R/3application versions operating in all system environments.

Xerox SAP R/3 Device Types are ASCII text files, and vary in size. Oncethe files have been copied or created, they can be imported into thecustomer’s R/3 system without modification.

Importing Xerox SAP R/3 Device Types into SAP R/3 requiresassistance from the customer’s R/3 system administrator.

Xerox/SAP Architecture

The Xerox SAP R/3 Device Types provide functionality and featureintegration with the Xerox DocuPrint and DocuTech families of products.Although SAP provides support for many output devices, currently thissupport does not include Xerox DocuPrint and DocuTech devices. SAPprovides only PostScript and PCL printing support for these devices. TheXerox/SAP Solution allows SAP users to access the more advancedfeatures of the DocuPrint and DocuTech products in PostScript modeonly.The additional features offered by the DocuPrint printers are:§ Mix Plex printing

§ Duplexing

§ Stapling

§ Output Tray Selection

Page 35: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 23

§ Media Type Selection

§

The Xerox/SAP R/3 Solution provides device type text file(s) that can beimported into R/3 by the customer’s system administrator. The text filesenable Xerox DocuPrint and DocuTech extended features to thecustomer.

Page 36: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 24 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Copying Xerox SAP R/3 Default Device Type(s)

The Xerox SAP R/3 Device Types are available on the Xeroxwww.xerox.com/sap web site. That means they can be downloaded to aXerox employee’s laptop then transferred to the customer’s system viafloppy diskette or email.

Also, since the Xerox SAP R/3 Device Types can be accessible from theXerox external site they can be downloaded directly to the customer’s MSWindows NT workstation or server.

§ Download the Xerox Printer Device Type(s) from the Xerox web site

§ Logon to SAP R/3

§ Import the Xerox SAP R/3 Device Type(s) into the customer’s SAPR/3 system

§ Define the physical printer as an Output Device in SAP R/3.

§ OPTIONAL - Once the Xerox SAP R/3 Device Type(s) have beenimported into R/3, they can be modified to support new page formatsand additional features that were created using Xerox’s PSproDevice Type Configurator Tool.

Download the Xerox Printer Device Type(s) from the Xerox web site

1. Go to the Xerox external web page at:www.xerox.com/sap

2. Select SAP R/3 4.6C DP/DT Device Types

The following table (Table 3.0) lists the available Xerox DocuPrint andDocuTech SAP R/3 Device Types.

Table 3.0 Xerox SAP R/3 Device Types

Printer DeviceType

Description

DocuPrint 65 ZDP65 All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint 75 ZDP75 All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint 92C ZDP92C All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint 96 ZDP96 All trays set to Usletter,white,plain,75with Simplex Printing

Page 37: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 25

DocuPrint 180 ZDP180 All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint 4635 ZDP4635 All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint 4850 ZDP4850 All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint 4890 ZDP4890 All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint100EPS

ZDP100E All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint115EPS

ZDP115E All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint135EPS

ZDP135E All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint155EPS

ZDP155E All trays set to Usletter,white,plain,75with Simplex Printing

DocuPrint180EPS

ZDP180E All trays set to Usletter,white,plain,75with Simplex Printing

DocuTech 65 ZDT65 All trays set to Usletter,white,plain,75with Simplex Printing

DocuTech 75 ZDT75 All trays set to Usletter,white,plain,75with Simplex Printing

DocuTech 135 ZDT135 All trays set to Usletter,white,plain,75with Simplex Printing

DocuTech 6100 ZDT6100 All trays set to Usletter,white,plain,75with Simplex Printing

DocuTech 6115 ZDT6115 All trays set to Usletter,white,plain,75with Simplex Printing

DocuTech 6135 ZDT6135 All trays set to Usletter,white,plain,75with Simplex Printing

DocuTech 6155 ZDT6155 All trays set to Usletter,white,plain,75with Simplex Printing

DocuTech 6180 ZDT6180 All trays set to Usletter,white,plain,75with Simplex Printing

3. Double-click on the appropriate device type and save it to your harddisk or floppy diskette. It will be saved as a self-extracting zip file.(.exe)

Page 38: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 26 XEROX SAP R/3 DEVICE TYPES USER GUIDE

4. If not at a customer site - Copy it to a floppy diskette or email it to yourcustomer. Insert the floppy diskette into the customer’s MS WindowsNT workstation or server. Copy the .exe to the customer’s hard disk.

5. Extract the file by double-clicking on it. The Xerox SAP R/3 DeviceType .pri files extract to about 1MB each. DO NOT RENAME THEFILE!!!

6. Import the Xerox device type.

SAP delivers a set of device types with the R/3 software and adheres toa strict naming convention. Changing the name of the Xerox SAP R/3Device Type file might cause the import program to overwrite anotherdevice type in the customer’s system.

Creating Xerox Device Types with PSpro Configurator Tool

The PSpro Device Type Configurator tool is a SAP R/3 device typegenerator. It is a GUI software tool that enables users to generate userdefined R/3 device types that contain special format types and SAPscriptprint controls. The device type is the interface between the output device and the logicalcomponents, which contain the full printer characteristics and attributes.In short, these SAP R/3 device types define the specific properties of aprinting system’s configuration. Use the Xerox PSpro Device Type Configurator User and InstallationGuide for instructions on installing and using PSpro. The Xerox PSpro Device Type Configurator tool provides the followingfeatures: Supported Environment• SAP R/3 Release 4.6C Compatible Environments• SAP R/3 Release 3.x and 4.x Device Type Customers• Enterprise SAP System Administrators• Xerox Analysts Supported Printers• DocuPrint: 65, 75, 96, 180, 100EPS, 115EPS, 135EPS, 155EPS,

180EPS, 4635, 4850, 4890, 92C• DocuTech: 65, 75, 6100, 6115, 135, 6135, 6155, 6180 Supported DocuPrint and DocuTech Features• Simplex, Duplex, Tumble Printing - Print single or double sided

documents

Page 39: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 27

• Orientation – Portrait or Landscape• Mix Plex Printing - Print single and double sided documents in true

mix plex mode• Paper Tray Pull Location – Provide the ability to pull paper stock from

up to 99 different trays. Print applications with varied paper stock(size, color, type, weight)

• Media size – All Standard Paper Sizes supported including custom.• Finishing – Provides stapling options• Paper Output Tray Location• Multiple paper tray resources - Assign paper resource options to fit

customer environment Software and Documentation• Xerox PSpro Device Type Configurator User and Installation Guide

Page 40: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 28 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Importing a Xerox Device Type

The import can be performed from a SAPGUI front end or from an R/3server. The system administrator must set permissions correctly toenable the R/3 transaction SE38.

1. From the customer’s Microsoft Windows workstation or server, logonto SAP R/3.

2. The R/3 Easy Access (main) screen displays.

3. In the transaction window at the top left of the screen, enter transactionnumber SE38.

4. Press Enter

The ABAP Editor: Initial Screen displays. (Figure 3.0)

Figure 3.0 ABAP Editor: Initial Screen

5. Type RSTXSCRP in the Program field. (RSTXSCRP is the R/3ABAP import program.)

6. Select the Execute icon (F8).

The SAPscript Export to Dataset / SAPscript Import from Datasetscreen displays. (Figure 3.1)

Page 41: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 29

Figure 3.1 SAPscript Export to Dataset /SAPscript Import from Datasetscreen

From the SAPscript Export to Dataset/SAPscript Import from Datasetscreen (Figure 3.1):

1. Select Device Type.

2. Enter the Xerox SAP R/3 Device Type name in the Object namefield.

Note: This name must match the name of the device type downloadedfrom the Xerox web site. (in this case it was ZDP65Z for the DocuPrint65).

3. Enter IMPORT in the Mode EXPORT/IMPORT field.

4. Select From/on frontend.

5. Enter the path, file name and extension in the Dataset name field.

aNote: If you created or have your device type in your C:/temp directory and thedevice type has an extension of .pri you do not have to change the valuein the Dataset name field. The default value of C:\temp\********&&&&will look for the device type name of what was entered in the Objectname field with an extension of .pri in the C:/temp directory on yourfrontend.

Page 42: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 30 XEROX SAP R/3 DEVICE TYPES USER GUIDE

6. Select the Execute icon (F8).

aNote: A Create Object Directory Entry may display. If so, enter the developmentclass and save. Next, a Prompt for Local Workbench request displays.Select Continue.

An Import from Local File window displays to confirm the selections.

7. Make sure Data format is ASC for ASCII.

8. Press Enter or click on Transfer.

When the import is completed, a message screen displays the results ofthe Import. (Figure 3.2)

Figure 3.2 Import Confirmation Message

Create an output device

An output device has to be created in R/3 to define the physical printer.Information about the printer’s device attributes host spool attributes mustbe filled out.

1. Enter /nspad in the transaction window at the top of the screen.

The Spool Administration: Initial Screen displays (Figure 3.3).

Page 43: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 31

Figure 3.3 Spool Administration: Initial Screen

2. Select Output devices.

Page 44: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 32 XEROX SAP R/3 DEVICE TYPES USER GUIDE

A list of existing output devices displays (Figure 3.4).

Figure 3.4 Spool Administration: List of Output Devices

3. Select the Change icon (F8).

4. Select the Create icon (Shift + F1) which displays after selectingChange.

The Spool Administration: Create Output Device screen displays(Figure 3.5)

Page 45: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 33

Figure 3.5 Spool Administration: Create Output Device

In R/3, Output Device defines the physical printer. The file includesinformation about the physical printer such as name, IP address and itshost spool attributes.

§ Enter the name of the printer in the Output device field at the top ofthe screen. The Output device name is whatever the customer wishesto name the printer within their organization. (ex. DP65 - Tahoep1, orGazelle, or Xerox DP65 Third Floor)

§ Enter up to a 4-character name in the Short Name field (ex. DP65).The Short name can be used as a nickname for your printer.

Page 46: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 34 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Assign the imported device type to the output device

Under the Device Attributes tab (Figure 3.5):

§ Select the imported Xerox SAP R/3 Device Type from the pull-downlist. The list includes the device types that were delivered with the R/3software plus all device types that have been imported into thecustomer’s system.

§ Enter the name of the R/3 spool server that will serve the printer in theSpool server field. The customer’s system administrator will providethe name.

§ Device Class should be set to Standard printer.

The next three device attribute fields are OPTIONAL.

§ Authorization group. Refer to the customer’s system administratorfor the contents of this field.

§ Model. Enter the type of printer if the customer wishes to include thisinformation. (ex. DocuPrint 65).

§ Location. Enter the physical location of the printer. (ex. El SegundoA&E building)

The device attributes for the printer’s output device has been selected.

Now, set the host spool access method.

§ Select the Host SpoolAccMethod tab about halfway up the screen.

§ The Host Spool settings display (Figure 3.6).

Page 47: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 35

Figure 3.6 Spool Administration: Host Spool Access Method

§ The Host Spool Access Method field has a pull-down list. Select theaccess method that applies to the installed Xerox printer. Most Xeroxprinters will be installed using option L. Refer to the Chapter 2 called“Access Methods” for a description of all access methods.

§ Enter the Xerox printer’s IP address in the Host printer field. Be sureto include the lp command if the printer will use the LP/LPR method.(ex. 13.1.207.46:lp)

§ Select Save (Ctrl+S).

The printer is now configured.

Assigning a new device type to an existing output device

To assign a new device type to an output device:

Page 48: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 36 XEROX SAP R/3 DEVICE TYPES USER GUIDE

1. From the Spool Administration: Initial Screen (transaction /nspad )displays (Figure 3.7) select Output devices.

Figure 3.7 Spool Administration: Initial Screen

A list of existing output devices displays (Figure 3.8).

Page 49: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 37

Figure 3.8 Spool Administration: List of Output Devices

2. Double-click the output device to modify the configuration.

The Spool Administration: Create Output Device screen displays(Figure 3.9)

Page 50: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 38 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Figure 3.9 Spool Administration: Create Output Device

3. Under the Device attributes tab, select the device type from the pull-down list.

4. Save (CRTL+S).

Page 51: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 39

SAPscript Editing and Printing

SAPscript is the editor used to create text documents in SAP. The text iscreated by the SAPscript editor. A layout set defines how the textelements are formatted for the output. SAPscript can be looked at as acombination of layout sets and text elements used to create printeddocuments.One way for a layout set to be used is by a standard text. A standard textcan be created to call a layout set or text can reside within the layout set.A layout set can also be called from an ABAP program. The ABAPprogram tells the layout set which part of a form to print.

Text Elements

The following describes how to access a text document for editing,viewing, and printing.1. Enter transaction /nSO10

The standard Text: Request screen appears (Figure 3.10)

Figure 3.10 Standard Text: Request screen

2. Enter the name and go to step 6. If you do not know the text name goto the next step.

Page 52: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 40 XEROX SAP R/3 DEVICE TYPES USER GUIDE

3. Select the Text name pull-down tab or F4

4. Select the execute button (F8)

5. A list of jobs is displayed. Scroll and double click on the text name.

To edit the text, perform the following:

6. Click on the “Change” button

7. To edit the text file select the Goto => Change Editor option on thetop menu bar.

8. To associate a form (layout set) with a text file go to the top menu barand select Format=>Change form. Form the change form menuselect the form that will be used with your text file. Note that the formmust be created first using transaction SE71.

For further information on SAPscript text editing please reference theSAP documentation.

9. After you have made your changes, save the changes (Ctrl+S).

To print the text perform the following:

10. Select the printer icon (Ctrl+P)

11. The print: standard text screen will appear. Enter your outputdevice name and select the “Print” or “Print Preview” button.

Layout Sets

The following describes how to access a layout set for editing, viewing,and printing.1. Enter transaction /nSE71.2. Enter the name of the form and go to step 6. If you do not know the

text name go to the next step.3. Select the Text name pull-down tab or F44. Select the “Cross-Applications Component” and click on the

“Unclassified Forms”5. A list of forms is displayed. Scroll and double click a form nameTo edit the text, perform the following:6. The Form Painter: Request screen is now display with the form

name. Click on the “Change” button.7. You can now make changes to a form. For further information on

SAPscript form editing please reference the SAP documentation.After you have made your changes, save the changes (Ctrl+S). Whenfinished making changes, save (Ctrl+S) the form.

Page 53: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 41

8. In order to be accessible, the form now must be activated. Select theForm => Activate from the top menu bar.

To test print a form, perform the following:9. Select Utilities => Test Print on the top menu bar.

10. The SAPscript: Test Print Forms screen will appear. Enter youroutput device name and select the “Print” or “Print Preview” button.

List Printing

There are two ways that List printing is handled by the SAP system.If the list output is being printed as it is being generated, both PRINT-CONTROL and FORMAT print controls are used.If a list is printed directly from the display screen then only the FORMATprint control are used. List output is generated by ABAP reports and isnot formatted using SAPscript.The following is an example of printing list output directly from the displayscreen:1. From the main menu enter transaction SPAD (Spool/Output

Administration => Spool administration)2. Select the “Output Devices” button. A List of output devices will be

displayed.

3. Click on the Printer Icon (Ctrl+P). The Print Screen List will nowbe displayed.

4. Enter your output device name. You might be asked for the formatinformation. Select the “Continue” button.

Page 54: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 42 XEROX SAP R/3 DEVICE TYPES USER GUIDE

4. Device Type Formats

This chapter explains briefly the concepts of format actions i.e., printerinitializations, formats, and device formats. The following sections willprovide some information on Formats, Page formats, Creation of SAPScripts Formats and List Formats. For more information on this you mayrefer to your SAP Documentation.

In order to enable additional device formats that was created with PSproyou will need to add page formats and format types to the SAP R/3system.

You can add unlimited number of device formats to your Xerox devicetype for printing with the features required for that format. The followingsections explain how to add new device formats for both list and SAPscript formats.

Formats

A format identifies a paper size or output layout that is supported by theR/3 System. It identifies the device-type format required for configuring anoutput device for a particular type of output. For example, LETTER,DINA4, X_65_132 etc.

R/3 formats in SAP R/3 are composed of two related objects: Deviceformats and Page formats (Figure 4.0). Used together, these formatsdetermine how text should be printed on a particular paper size or in aparticular form. You would need to specify all three formats to define anew paper size.

Figure 4.0 R/3 format (types)

Page 55: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 43

Page formats

An R/3 page format specifies the physical page dimensions of an outputpage. The line width and page lengths are used by SAPscript and Listprinting for specifying the printable area on a page.

Page formats define a page size or output layout supported by the R/3system.

Device formats define the print attributes specific to the output device.

Page 56: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 44 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Device formats

A device format specifies a format for a particular device type and isassociated with a set of device specific commands, called actions, with aformat. These commands, “actions”, are needed to specify printer operationssuch as the configuration of the printer.

A device format can be added to a device type in Xerox PSpro underSAPscript Device Initializations (Figure 4.1) or List Device Initializations.

Figure 4.1 Insert a Device Format in Xerox PSpro

A device format includes device-specific commands for implementingand accessing printer functions.

For example: If the device format SLETTER is added to device typeZDP65 in PSpro to implement stapling on a letter-sized job, PSpro wouldinsert the PostScript commands for stapling into the ZDP65 device type.Page format SLETTER and format SLETTER must then be added in R/3.

aNote: If PSpro was not used to create a new device format, then the printcontrols would also have to manually be created.

SAPscript Formats

Examples of standard SAPscript formats are DINA4, EXECUTIVE, LEGAL,LETTER, INCH12, INCH11, INCH8, INCH7, INCH6, and INCH4.

aNote: If new device formats for the Xerox DocuPrints and DocuTechs are createdin Xerox PSpro that are not supported by the SAP R/3 system, then a Formatand Page Format must be created.

Page 57: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 45

Creating a SAPscript Page Format

When you define a new format for SAPscript, the names of the format andpage format can be the same. For example: if a page format is calledZDINA4, then the corresponding format can also be called ZDINA4.However, you can create a unique page format name that can be defined toa format type.

After adding a new device format (using Xerox PSpro or manually) that is notsupported by the SAP R/3 system, create a new SAPscript page format inR/3. The following instructions apply to SAPscript page formats.

• From the R/3 menu select Tools>CCMS. Spool >Spooladministration (transaction SPAD).

• Select Full Administration.

• Select the Device Types tab and select Page Formats.

A list of page formats displays.

• Select the pencil icon (Change F8).

• Copy a new page format from an existing page format.

• Select an existing format from the list of page formats.

• From the menu bar, Select Page Formats>Create using template (F5).

The screen displayed should be similar to Figure 4.2.

Figure 4.2 Spool Administration: Copy Page Format from DINA5

Page 58: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 46 XEROX SAP R/3 DEVICE TYPES USER GUIDE

• Select portrait or landscape as the orientation (you can create bothorientations by repeating these steps)

The paper size fields should have the same values as the copied frompage format. If you are creating a new or custom paper size, you canrefer to Appendix B for paper size conversion values.

• Save the page format by selecting the floppy icon or Ctrl+S.

The “Create Object Directory Entry” screen may be displayed. Enter thedevelopment class and save.

A page format has been created. The next task is to assign the pageformat to a format.

• Select the Back icon (F3) twice.

• The Spool Administration: Initial Screen displays.

Creating a SAPscript Format

The following section includes instructions for SAPscript formats

After adding a device format in Xerox PSpro and adding a page formatin R/3, add a SAPscript format (type) in R/3.

1. From the Spool Administration: Initial Screen (transaction SPAD),select Format types.

A list of formats displays.

2. Select a format to be copied.

3. From the top menu bar, Select Format>Create using template(F5).

The “Spool Administration: Copy Format from [Format Selected] “displays (Figure 4.3).

4. Enter the Format type name.

5. In the Type field select Format type for SAPscript.

6. Specify or select form the pull down, the page format created in“Creating a SAPscript page format”.

aNote: Remember, format name and page format can be the same.

7. Select orientation (if the page format includes both Portrait andLandscape, select both here also).

8. Select Save (Ctrl+S).

The “Create Object Directory Entry” screen may display. Enter thedevelopment class. Select Save (floppy icon or Ctrl+S).

Page 59: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 47

In the lower left-hand corner of the screen the message “Format saved”displays.

9. Select Back or F3 twice to return to the “Spool Administration: InitialScreen”.

Figure 4.3 Format screen

Adding a SAPscript Format to a Device Type describes how to add theSAPscript format to a device type.

Adding a SAPscript Format to a Device Type

After a SAPscript format has been created it must be added to the list offormats available for the device type.

When creating a device type using PSpro, the process of adding all theprinter initializations has been made simple and straight forward. All thatwould be required now is to import the new device type.

If further changes are required to modify printer initialization values thatare not supported by PSpro, then this continue with this section.

• Go to transaction SPAD and Select Device types.

A list of device types displays.

• Select the Xerox Device type.

Select Format.

A list of formats displays (Figure 4.4).

Page 60: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 48 XEROX SAP R/3 DEVICE TYPES USER GUIDE

aNote: In older versions of R/3 you may have to select device formats from initialscreen of SPAD.

Figure 4.4 Formats for a device type

• Select the create icon button (Shift+F1) to add the new format.

The Create Format screen displays (Figure 4.5).

Figure 4.5 Create Format screen

Page 61: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 49

• Enter the Format name, or select one from the pop-up screen (F4displays the list of formats).

• Press Enter.

The screen “Maintain Format for Device Type” displays (Figure 4.6).

Figure 4.6 Maintain Format screen for Device Type screen

“Copy SAPscript Format Actions” describes how to add device formatactions such as printer initialization, title page, end-of-line, end-of-page,etc.

Copy SAPscript Format Actions

It is easier to create format actions using the Xerox PSpro Device TypeConfigurator product than to create device actions from scratch. But ifyou need to modify or you want to add printer initialization values that arenote supported by the PSpro product, the following process can be used.

1. From the “Maintain Format for Device Type” screen select DeviceType formats > Copy format (F5) from the menu bar.

2. Enter the device type and format to be copied.

aNote: The destination device type can not be edited.

3. Press Enter.

Format copied from [device type name] and format [format name]displays in the lower left corner of the screen.

4. Select Save.

Page 62: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 50 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Saved displays in the lower left corner of the screen.

You can now go into the newly created Device format printer initializationscreen and modify it. However, this is not recommended unless you areknowledgeable of PostScript and printer initialization commands.

Additional special print features of Xerox printers can be added to thedevice type using the Xerox PSpro Device Type Configurator Tool.

List formats

Formats that begin with X are used for printing lists from R/3 ABAP andoutput from programming editors. For example, List format X_65_80prints 65 lines per page, 80 characters per line.

aNote: If new device formats for the Xerox DocuPrints and DocuTechs arecreated in Xerox PSpro that are not supported by the SAP R/3 system,then a Format and Page Format must be created.

Creating a List Page Format

For List printing, the Page format of ANY is normally used as the Pageformat. If a new page format is required then follow the steps described inthis section.

When you define a new format for List printing, the names of the formatand page format can be the same. For example: if a page format iscalled X_65_80, then the corresponding format can also be calledX_65_80. However, you can create a unique page format name that canbe defined to a format type.

After adding a new device format (using Xerox PSpro or manually) that isnot supported by the SAP R/3 system, create a new List page format inR/3. The following instructions apply to List page formats.

• From the R/3 menu select Tools>CCMS. Spool >Spooladministration (transaction SPAD).

• Select Full Administration.

• Select the Device Type tab and select Page Formats.

A list of page formats displays.

• Select the change icon (F8).

• Copy a new page format from an existing page format.

• Select an existing format from the list of page formats.

• From the menu bar, Select Page Formats>Create using template(F5).

Page 63: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 51

The screen displayed should be similar to Figure 4.7.

Figure 4.7 Spool Administration: Copy Page Format from ANY

• Select portrait or landscape as the orientation (you can create bothorientations by repeating these steps)

The paper size fields should have the same values as the copied frompage format. If you are creating a new or custom paper size, you canrefer to Appendix B for paper size conversion values.

• Save the page format by selecting the floppy icon or Ctrl+S.

The “Create Object Directory Entry” screen may be displayed. Enter thedevelopment class and save.

A page format has been created. The next task is to assign the pageformat to a format.

• Select the Back icon (F3) twice.

• The Spool Administration: Initial Screen displays.

Creating a List Format

The following section includes instructions for adding a List format.

Page 64: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 52 XEROX SAP R/3 DEVICE TYPES USER GUIDE

• Use the SPAD transaction to display the R/3 Spool Administration:Initial Screen.

• Select Format types.

A list of formats displays (Figure 4.8).

Figure 4.8 List of formats

• Create a new format or copy from an existing format. To copy from an

existing format select the change icon (F8).

• Select the format to be copied. From the menu bar, selectFormat>Create using template (F5).

The “Spool Administration: Copy Format from X_XX_XX” screendisplays (Figure 4.9).

Page 65: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 53

Figure 4.9 Copy/Create Format screen

• Enter the name of new format. For example X_65_80_D.

• Enter the page format as “Any”.

aNote: The number of lines and the number of columns may be modified.

• After filling all fields select Save.

The “Create Object Directory Entry” screen may be displayed. Enter thedevelopment class.

• Save the format.

The message Format X_XX_XX saved displays in the lower left handcorner of the screen.

In “Adding a List Format to a Device Type”, the List format is added to adevice type.

Page 66: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 54 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Adding a List Format to a Device Type

After a List format has been created it must be added to the list offormats available for the device type.

When creating a device type using PSpro, the process of adding all theprinter initializations has been made simple and straight forward. All thatwould be required now is to import the new device type.

If further changes are required to modify printer initialization values thatare not supported by PSpro, then this continue with this section.

• Use the SPAD transaction to display the Spool Administration: InitialScreen. Select Full Administration.

• Select Device types.

• Select the device type to which a list format will be added.

• Select Formats.

A list of formats displays (Figure 4.10).

aNote: In older versions of R/3, these instructions may not work. Please refer toyour R/3 documentation on how to create list formats.

Figure 4.10 List of formats for a device type

• Select the change icon (F8).

• Select the create icon (Shift + F1) to obtain a list of formats.

Page 67: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 55

A pop-up window displays (Figure 4.11).

Figure 4.11 Pop-up window

• Select F4 (or double click on the list icon in the format name field).

The list of formats displays.

• Select the new format created. For example X_65_80_D.

• Press Enter.

The “Spool Administration: Maintain Format for Device Type” screendisplays (Figure 4.12).

Figure 4.12 Formats for Device Type ZDP65 after creating deviceformat

• A new device format has been added to the device type. Formatactions such as Printer initializations, end of page etc. may be addedto the format.

Page 68: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 56 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Copy List Format Actions

It is easier to create format actions using the Xerox PSpro Device TypeConfigurator product than to create device actions from scratch. But ifyou need to modify or you want to add printer initialization values that arenote supported by the PSpro product, the following process can be used.

• From the “Maintain Format for Device Type” screen (Figure 4.13)select Device Type formats > Copy format (F5) from the menu bar.The format action can then be modified.

• Select the copy format button from the “Maintain Format for DeviceType” screen.

Figure 4.13 Copying actions from existing format to new device format

• Select the device type formats>Copy Format.

A Spool Administration: Copy Format screen displays (Figure 4.14).

• In the Copy From Device type field, enter the Device type thatcontains the List Format to be copied (For example ZDP65 andX_65_80_D).

Page 69: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 57

Figure 4.14 Copy Format screen

• Select Enter.

• A message “Format copied from Type XXXXXX and formatXXXXXX” will be displayed in the lower left-hand corner of thescreen.

• Select Save.

Saved displays in the lower left corner of the screen.

You can now go into the newly created Device format printer initializationscreen and modify it. However, this is not recommended unless you areknowledgeable of PostScript and printer initialization commands.

Additional special print features of Xerox printers can be added to thedevice type using the Xerox PSpro Device Type Configurator Tool.

Device Formats

Device Initializations or device formats associate a set of printer-specificinitialization commands with a format. The initialization escapesequences configure the output device and influence the physicalappearance of output.

This section gives an introduction of the associated set of printer-specificinitialization commands and how to access them for modification. Formore information, see the SAP printing guide on changing printerinitialization values.

The special characters in Device Initializations and Print controls areshown in Table 4.1

Character Meaning\e ESC (escape) symbol that is used by many printer

Page 70: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 58 XEROX SAP R/3 DEVICE TYPES USER GUIDE

manufacturers. It has the hexadecimal value 1B, decimal value27.

\0x Marks the following two characters as a hexadecimal number(one byte). If Convert flag is set in the output device definition,the character set of the hex characters is automaticallyconverted at output.

\0y Marks the following two characters as a hexadecimal number.The character set of the characters is never converted. Theyare passed to an output device in the representation of thecharacter set in which they were stored.

# Comment (first character in line). The line is not sent to theoutput device.

\n Newline (hexadecimal 0A)

\r Carriage return (hexadecimal 0D)

\f Form feed (hexadecimal 0C)

\s Space character (when required at the end of a line)(Hexadecimal 20)

Table 4.1 Special characters in device initializations

NOTE: The line ends on the printer escape sequences are not sent to theprinter. To start a new line in the printer output stream, you must enter \n or\r\n in the printer escape sequence.

The following table 4.2 and 4.3 shows the actions that are used in device-type formats that have been defined by SAP. You need only define theseactions in printer definitions that you add to the System.

You can also define other actions as needed. If they are defined, they willbe sent to the printer.

Title page: Sent before the INIT printer initialization. Sent only if notdeactivated by default or by the user who is printing.Use: Prints an identification sheet at the start of a printrequest.

Printerinitialization(INIT action):

Sent at the start of a print request after the title page actionhas been sent to the printer.Use: Configures the printer as required by the printrequest.Note: For list formats (X_* formats), you should use INITto specify the character set, page length, line leading,character pitch, and font. For SAP script formats, enterthe character set and page length. You do not need tospecify a font or the leading (lines per inch). The SAPscript printer drivers make these specificationsthemselves with print controls.

Reset: Sent at the end of a print request.Use: Reset a printer to a particular state, such as aparticular emulation.

Page 71: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 59

Note: Leave the action undefined or enter a comment ifyou do not wish to reset the printer. Ensure that theescape sequences you enter do not cause a line feed orotherwise change the print position. Otherwise, thefollowing print request may not print correctly.

End of page: Sent at the end of every page of a print request.Use: Used in printing lists and text from the programmingeditor to generate a form feed (new page). Should becoded as \r\f. Not used by any SAP script drivers. In printertypes that use SAP script drivers, this action must bedefined with a comment line (null operation).See the table below (Table 3.3) for a summary of therequirements for the end-of-page and end-of-line actions.

End of line. Sent at the end of lineUse: Used for list and editor output and for most SAPscript output to generate a new line (carriage return andline feed).Note: Not used by the SAP script STN2 driver: must bedefined with a comment line (null operation) in devicetypes that specify STN2.. In all device type formats for listand editor output and for the SAP script STND, HPL2, andPRES drivers, define end of line as \r\n. In formats for theSAP script POST driver (device type POSTSCPT), defineas \n.See the table below (table 3.3) for a summary of therequirements for the end-of-page and end-of-line actions.

Table 4.2 Actions of Device formats

For this type orformat

Define end of line as Define end of page as

X_* formats for editorand

\r\n \r\f list output

SAPscript STNDdriver

\r\n # (comment, nulloperation)

SAPscript STN2driver

# (comment, nulloperation)

# (comment, nulloperation)

SAPscript HPL2driver

\r\n # (comment, nulloperation)

SAPscript PRESdriver

\r\n # (comment, nulloperation)

SAPscript POSTdriver

\n # (comment, nulloperation)

Table 4.3 Initialization commands for end-of-page and end-of-lineactions

Page 72: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 60 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Default Actions

If a format does not contain a definition for the title page (in the device-type format), then the X_PAPER title page is printed as default.

The spool system uses default actions if two other actions -- end of pageor end of line -- are undefined. The default actions may result in printingof empty lines or pages in SAPscript print requests that use the STND orSTN2 drivers.

To avoid having the spool system use defaults for undefined actions,define each of these actions with at least a comment line in each device-type format that you define. SAP has defined these actions in allstandard SAPscript formats.

Adding Printer Initialization Commands to Xerox Printers

Depending on the Xerox printer model that you have, the printerinitialization commands should be entered into each ‘Printer Initializationaction’ of the device format that you have set up.

Adding Special PostScript Commands

To insert the PostScript statements in to Device formats of SAPscriptsand ABAP lists, you must insert after the following PostScript statementsfor all print features and device types. For print security insert thestatements after line 2.

Line 1: %!PS-\nLine 2: %%Creator: SAP R/3 rel. 3.0A\nLine 3: %%EndComments\n

• From SPAD transaction, select “Full Administration”. Select devicetypes tab and click on Device Types button. From the list of devicetypes choose your POSTSCRIPT device type (ex. ZDP65) and thenselect “Formats” button to get list of formats.

Page 73: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 61

• Select a particular format, for example the format for SAPscriptLETTER, and double click it. The screen as shown in Figure 4.15 willdisplay. This is the format maintenance screen, which displays the listof format actions that have been maintained for this device format.Only those actions that are highlight in green are active for this paperformat. By double clicking on one of the format actions, the nextscreen will appear.

Figure 4.15 Format maintenance screen of the LETTER device format of aPostScript device

• To edit the Printer initialization actions, select the pencil icon. Doubleclick on Printer initialization action. The screen as shown in figure4.16 is displayed. Here you can enter/modify your Postscriptcommands to get special print features for the DocuPrint andDocuTech printers.

Page 74: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 62 XEROX SAP R/3 DEVICE TYPES USER GUIDE

• Enter all Postscript statements after statement “%%EndComments\n”,but print security statements must be after second line or before the“%%EndComments\n” statement.

Figure 4.16 Printer initialization editor screen for LETTER for aPostScript device type

• To add special commands to Device formats of ABAP list selectformat (e.g. X_65_80) of your List PostScript device type, doubleclick the format. To edit the Printer initialization actions, select thepencil icon. Double click on Printer initialization action to get thescreen as shown in Figure 4.17.

• In this screen add PostScript statements for device formats for lists,which is similar to adding statements for SAPscript device formats.

Page 75: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 63

Figure 4.17 Printer initialization editor screen for X_65_80 of PostScriptdevice type

Modifying Printer Initializations for NPS

To delete the PostScript DSC (%%) statements in to Device formats ofSAPscripts and ABAP lists, you must locate the DSC statements afterthe following PostScript statements. For print security do not modify thestatements before line 2 and the %%EndComments \n statement.

Line 1: %!PS-\n

Line 2: %%Creator: SAP R/3 rel. 3.0A\n

Line 3: %%Title: ZDP4635 LETTER 19990819124500\n%%DocumentMedia: MEDIA01 612 792 75 White (plain)\n%%+ MEDIA02 612 792 75 Yellow (plain)\n%%+ MEDIA03 612 792 75 Blue (plain)\n

Page 76: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 64 XEROX SAP R/3 DEVICE TYPES USER GUIDE

%%+ MEDIA04 612 792 75 Green (plain)\n%%+ MEDIA05 612 792 75 Purple (plain)\n%%+ MEDIA06 612 792 75 Red (plain)\nLine 4: %%EndComments\n

• From SPAD transaction, select “Full Administration”. Select devicetypes tab and click on Device Types button. From the list of devicetypes choose your POSTSCRIPT device type (ex. ZDP4635) andthen select “Formats” button to get list of formats.

• Select a particular format, for example the format for SAPscriptLETTER, and double click it. The screen as shown in Figure 4.18 willdisplay. This is the format maintenance screen, which displays the listof format actions that have been maintained for this device format.Only those actions that are highlight in green are active for this paperformat. By double clicking on one of the format actions, the nextscreen will appear.

Figure 4.18 Format maintenance screen of the LETTER device format of aPostscript device

• To edit the Printer initialization actions, select the pencil icon. Doubleclick on Printer initialization action. The screen as shown in Figure4.19 is displayed. Here you can enter/modify your PostScript

Page 77: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 65

commands to get special print features for the DocuPrint andDocuTech printers.

• Highlight and delete the DSC (%%) PostScript statements that arenot required for the setup of the NPS printer. Only delete any DSCstatements before the “%%EndComments\n” statement and that arenot required for the printer. For example, if your printer only supports4 input feeder trays and you have defined 6 input feeder trays, deletethe last 2 %%+ MEDIA statements.

Figure 4.19 Printer initialization editor screen for LETTER for a PostScriptdevice type

Page 78: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 66 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Appendix A – Hints and Tips

DocuSP and NPS Differences

The following table describes the differences between DocuSP and NPS.

Table A1 DocuSP and DocuPrint NPS differences

DocuSP NPS

DocumentMedia not required DocumentMedia required

DUPLEX_off, TUMBLEDUPLEX_off speedimprovement with simplex because blank pages notimaged on back

DUPLEX_off – no speed difference, default settingin off state

OFFSET_on – cannot offset on page boundaries OFFSET_on – can offset on page boundaries

STAPLEDETAILS – DualPortrait additionallysupported

STAPLEDETAILS – not applicable

STAPLE_on with ENDOFSET or ENDOFRUN –only addresses internal stapling (external finisheruse SETOBIN). ENDOFSET / ENDOFRUN areequivalent. DocuSP 1.32 or later

STAPLE _on – must have multifeature enabled.Can offset on page. Must be coded in JDT orbeginning of data file. System must have stitchingmodule. Staple attribute set with each job i.eVirtual Printer

STARTOFSET – acts as a delimiter. Placecommand at beginning of first page of a set in thesubmitted data file

STARTOFSET – not applicable

TIFF files – applications that print TIFF files withFillOrder value of 2 will not print DP65 via remote

TIFF files FillOrder 2 supported

No support for background forms / cycle forms NPS printers support background forms and cycleforms

Can not use TELNET to change configuration Can use TELNET

Die-cut tabs and DocuColor 40 prints cannot be fedthrough the printer

Tabs, DocuColor 40 prints, and other order stocksare supported on the 96, 4635, and 180 NPS.

Document Finishing Architecture (DFA) is notsupported

DFA is not supported on the 4050, 4090, and4850. It is supported on the 96, 4890, 4635, 180.

DP65 offers a choice of:portrait staplelandscape stapledual portraitdual landscape

Similar finishing options on the DP4635 andDP6180 printers are:portrait staplelandscape stapledual staple

No Subset Finishing. Cannot identify runs and sets.For example, cannot do a job with subset finishingand offset the job by zip code

NPS can do runs and sets

Page 79: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 67

DP65 is a network-connected device, and currentlysupports and Ethernet 10/100 base T interface.There is no native Token Ring support, nor is therea channel connection to a mainframe. Third partyenablers are required to transfer job streams to theDP65 from a host mainframe.

Supports both Ethernet and Token Ring. Canaccept host data over the channel in a bi-modeconfiguration. Third party enablers can also beused

Client job submission software is similar, however:

DocuSP offers more robust job programming andpage-level programming capabilities,

Not all the lpr and lpd options are supported forTCP/IP

Client job submission software is similar and lprand lpd options are supported to TCP/IP

DP65 handles PostScript level 2, PCL5e, TIFF, andASCII forms. LCDS and other host data streamsmust be transformed into PostScript or PCL to printon the DP65 system.

The DP NPS handles PS level 2, PCL5e, andASCII formats. TIFF data can be encapsulated in aPS file. PCL5c is supported for highlight colormodels. LCDS and other host data streams mustbe transformed in OS or PCL to print on theDocuPrint NPS, or an LPS/NPS bi-modeconfiguration can be employed

DP65 uses and Adobe PS interpreter DP NPS uses a PostScript interpreter developedby Xerox PARC

No XGFnub support Supports XGFnub

DP65 comes with 126 standard fonts. Fonts can bedownloaded.

DP NPS comes with 51 PostScript Type 1 fontsand 45 PCL fonts. PostScript Type 0, Type 1, andType 3 fonts can be installed. Additional PCL fontscan also be installed. Fonts can be downloaded.

System normally prints 600X600. For PS jobs, thedefault is 1200x600 dpi, taking advantage of the fullcapabilities of the system. All other PDL andreprographic input prints at 600x600 dpi.

Models 4050/90 and 4850/90 print at 300x300 dpi.The 96 and 4635 print at 600x600 dpi. The 180prints at 600x2400 dpi. The 92C prints at 600x600dpi.

The maximum paper size is 12 x 18. Maximumimage size is 11.67 x 17.9

Maximum paper size for the 4050/90, 4850/90,and 92C is 8.5 x 14. For the 96, 4635, 180, max is14 x 17 or A3.

Side one / Side two registration is not as good asthat of the higher speed systems. Customers whoare sensitive to this requirement may not like thefront to back registration they get from this system.Testing is essential.

Excellent side one / side two registration

AFP IPDS supported via enablers DocuPrint NPS dual mode configuration canaccept IPDS data as well as PS, PCL, and ASCII

No MICR 96 and 4635 MICR available

No color support 4850/4890 and 92C HLC models available

DocuSP prints all jobs based on resources (suchas types of paper) that are available. This assuresthat the printer will keep printing, it does notguarantee that jobs will print in the order in which

DP NPS can print job either based on theresources which are available or in a FIFO manner.With FIFO, customers know that jobs are printedin the order in which they are received, but may

Page 80: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 68 XEROX SAP R/3 DEVICE TYPES USER GUIDE

they are received. No FIFO printing support. experience delays while the printer waits forresources, such as a particular type of paper.

Write Black technology. Background may be morenoticeable than in other Xerox products

Write White technology

Page 81: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 69

NPS Mix Plex

Simulated mixed plex (for release 1.6x and prior)

To create a simulated mixed plex application in release 1.6x (and earlierreleases), dynamic plex changes are included in the job’s PostScript orPCL code. In addition, the DocuPrint NPS plex attribute for the job has tobe set to duplex.In this case, the use of duplex for the value of the plex attribute has twoeffects: it behaves as an initial plex value, and it has the additional effectof allowing dynamic plex changes within the job’s code to take effect. Ifthe plex value is set to simplex or tumble duplex, that value overrides anyplex changes within the job.One drawback to the use of simulated mixed plex is that a padding pageis counted and charged as a page. In addition, the duplex paper path isused for all pages, even those that have the appearance of beingsimplex, or one-sided. Thus a job that has only a few pages printed onboth sides still prints at the speed of a duplex job, where pages aredelivered to the stacker at approximately half the speed of a simplex job.

True mixed plex (for release 7.x)

In the true mixed plex capability supported by release 7.x, dynamic plexchanges within the job can be used, but you can also use NPS documentattributes to achieve the plex changes.Moreover, pages that are intended to be one-sided are printed andcounted as simplex, while two-sided pages are printed and counted asduplex pages. The printer does not cycle down at plex changes, soswitching plex has only a small impact on throughput performance.One important change in the implementation of true mixed plex forrelease 7.x is that simulated mixed plex is not supported. This means thatthe duplex value for the plex attribute does not have the same function itdid earlier; this function has been replaced by the attributePlexChangesDynamic, discussed in the section “Specifying mixed plex inrelease 7.x”. By using this attribute, jobs that previously used simulatedmixed plex will continue to print with no outward changes to the plexbehavior. The only difference will be in how the printer tracks the changes,and in the accounting.

Page 82: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 70 XEROX SAP R/3 DEVICE TYPES USER GUIDE

DP/DT65

Cover, Banner, and Error Pages

When specifying a Cover page for SAPscript, the paper resources usedwill be the default settings for the printer.In order to print a banner or error page, the paper resources used will bethe default settings for the printer.

DP180EPS

Stock Name

When printing to a DP180EPS be sure that the Stock Names are set to“unspecified” for each tray. With the DP180EPS’s ability to print LCDS,the Stock Names may be set to MAIN or AUX for Trays 1 and 2 which willcause the printer to ask for the correct media resources to be loaded.

Page 83: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 71

Appendix B – Standard PaperSize Conversion Tables

The following tables show the standard U.S. and international sizes, withtheir equivalents in meters and inches.

Table B1 Standard United States cut-sheet sizes

Inches Millimeters

4 x 9 102 x 229

4.5 x 6 114 x 152

5.5 x 8.5 140 x 216

6 x 9 152 x 229

7 x 12 177 x 305

8.5 x 11 216 x 279

8.5 x 13 216 x 330

8.5 x 14 216 x 356

9 x 12 229 x 305

11 x 17 279 x 432

12 x 18 305 x 457

14 x 25 356 x 635

17 x 22 432 x 559

18 x 24 457 x 610

20 x 26 508 x 660

22.5 x 28.5 572 x 724

22.5 x 35 572 x 889

24 x 36 610 x 914

25 x 38 635 x 965

35.5 x 30.5 648 x 762

Page 84: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

PAGE 72 XEROX SAP R/3 DEVICE TYPES USER GUIDE

Table B2 Standard International cut-sheet sizes

Sheet Size Inches Millimeters

4A 66.22 x 93.62 1692 x 2377.95

2A 46.81 x 66.22 1189 x 1692

A0 33.11 x 46.91 841 x 1189

A1 23.39 x 33.11 594 x 841

A2 16.54 x 23.39 420 x 594

A3 11.69 x 16.54 297 x 420

A4 8.27 x 11.69 210 x 297

A5 5.83 x 8.27 148 x 210

A6 4.13 x 5.83 105 x 148

A7 2.91 x 4.18 74 x 105

A8 2.05 x 2.91 52 x 74

A9 1.46 x 2.05 37 x 52

A10 1.02 x 1.46 26 x 37

2B 55.67 x 78.74 1414 x 1500

B0 39.37 x 55.67 1000 x 1414

B1 27.83 x 39.37 707 x 1000

B2 19.68 x 27.83 500 x 707

B3 13.9 x 19.68 353 x 500

B4 9.84 x 13.9 250 x 353

B5 6.93 x 9.84 176 x 250

Page 85: Gsk Spool Printer Admin

XEROX SAP R/3 DEVICE TYPES

XEROX SAP R/3 DEVICE TYPES USER GUIDE PAGE 73