Devtype 259951.compressed

User Manual: 259951.compressed

Open the PDF directly: View PDF PDF.
Page Count: 22

DownloadDevtype 259951.compressed
Open PDF In BrowserView PDF
SAP Printing Application Note-YPTP7PG1
Printronix Device Type YPTP7PG1
The YPTP7PG1 device type was designed by Printronix specifically for the P7xxx/P8xxx Line
Matrix printers, and is compliant with all requirements for SAP R/3 compatible Device Types
as defined in the SAP Printer Supplier Agreement. Once installed in the SAP system, the device
type can be assigned to any number of P7xxx/P8xxx printers by the SAP System Administrator.
The device type functions entirely within the SAP R/3 software system. It allows SAP users to
print SAP Smart Forms documents conveniently from their SAP system, without the need to
program or understand the printer's native PGL/IGP graphics language.
The PGL/IGP option needs to be enabled on the printer. If the printer does not have it, customer
can purchase that option as a field kit and install it on the printer. For more information on the
Printronix PGL/IGP graphics language, please refer to the online manuals at the Printronix web
site www.printronix.com.
The Printronix Printer Vendor Wizard Note is number 1135107. Please visit this SAP Note to
obtain more information and any new updates.
Features:
The YPTP7PG1 device type supports the available default factory printer fonts, both in bold and
italics print. Certain bar codes are also supported, which are listed in SAP note 1135107.
Graphical elements such as lines, boxes and logos are supported. Logos can be kept and
maintained on the BDS system (Business Document Service) via transaction SE78. Refer to
Appendix 2 for more information on graphics.
Limitations:
The following SAP features are not supported: List printing, SAPscript Layout Set generated
output, printing of specialty symbols, Adobe forms.
SAP Versions:
These drivers are compatible with the following SAP systems:
SAP_BASIS 6.20 Support Package 64 and higher
SAP_BASIS 6.40 Support Package 22 and higher
SAP_BASIS 7.00 Support Package 16 and higher
SAP_BASIS 7.10 standard
SAP_BASIS 7.11 and higher
Please refer to SAP Note 1097563 for more information on releases.

In the SAP system, a Device Type stores the information needed to generate a device specific,
output-ready data stream. For printing devices, this includes such things as controls for font
selection and formatting, character set selection, page size, bar code definitions, graphic object
rendering and more. Please refer to online help “SAP Printing Guide (BC-CCM-PRN)” on SAP
Help Portal for details.

Page 1 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
The SAP system provides a list of “out-of-the-box” device types. Others such as the Printronix
YPTP7PG1 device type is provided by individual vendors for support and maintenance. This
document describes how to install and use these device types. Familiarity with the SAP System
Administration screens (SPAD) will be required. Working knowledge of SAP Smart Forms is
also required.
Appendix 1 provides step-by-step installation instructions for these Device Types.

DEVICE TYPE COMPONENTS
The YPTP7PG1 device type has the following logical components:
DEVICE TYPE AND ABAP LABEL PRINTER PDL DRIVER
These are the two main components that make up the complete device type. They make possible
the conversion of the SAP generic output format of Smart Forms (SAPGOF) to the printer
specific commands that are sent to the printer. The device type uses the properties and attributes
resident in the definition to translate Smart Forms output format into a data stream that can be
understood and printed by the physical printer. The ABAP PDL driver (Page Description
Language), in conjunction with the device type settings, does the translation from SAPGOF
format to the native printer commands.
Further information on SAPGOF can be found from SAP provided documents and
specifications.
The various components of the device types are listed below.
CHARACTER SET
The Device Type use character set 4131, which is for UTF-8 printing.
PRINT CONTROLS
Certain print controls are set up in the device types. These are standard print tokens which
represent strings of printer commands. The printer commands can be tweaked to affect or
enhance the output, but care should be taken when doing this as it may result in errors during
output.
FORMATS
This component determines how the output will appear on the paper and primarily specifies
paper sizes, such as INCH4 and INCH6. It allows Smart Forms output to construct a layout in
portrait or landscape orientation in the printable area of the page. Supported formats include
INCH2, INCH4, INCH5, INCH6, INCH7 and INCH8.
DEVICE INITIALIZATION
This component is a group of commands used to configure the output device for the
requirements of the specific document in the print request. These configuration escape
sequences, containing information such as CPI, LPI and fonts, are sent to the printer prior the
initiation of an output data stream for the document. Device initialization is not used with device
typeYPTP7PG1.

Page 2 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
Printronix SAP Device Types: Bar Code and Font Support for
P7xxx/P8xxx
Printronix device type YPTP7PG1 provides SAP system users the ability to print Smart Forms
documents utilizing the bar codes and fonts that are resident and standard in the P7xxx/P8xxx
Line Matrix Printers.
When the device type has been specified in the printer definition, the printer’s bar codes and
fonts are made immediately available for use by SAP Smart Forms developers. All available bar
codes are automatically mapped to the equivalent device-specific escape sequences that represent
the bar codes in the output device.
Note: When a form is designed in SAP using Smart Forms, we suggest that the programmer
examine the actual printout (hard copy) of the form on the target printer rather than view the
print preview mode of the document in SAP. The placement of different types of bar codes can
only be finalized with a visual inspection of the actual output.
Certain fonts and graphical images may also differ slightly in appearance from the preview mode
versus the printed hard copy.
Refer to SAP Note 1135107 for information on supported bar codes and fonts.

Minimum
Printer
Software

Application
Type

Printer
Model

Smart Forms

P7000
P8000

any version

Smart Forms,
Interactive
Forms,
SAPscript

P7000HD
P8000HD

any version

SAPscript,
ABAP

P7000
P8000

Device
Type
YPTP7PG1

POST2

any version

(built into
SAP)
YPTP7000

Current
Device Type
P/N
Device Type:
374183 v1.00C
App Note:
259951 v1.00A
Device Type:
POST2 (built in)
App Note:
256561 v1.00A
Device Type:
369856 v1.00A
App Note:
259952 v1.00A

Output
Language
to Printer
PGL

PostScript

LP+
Superset,
P‐Series

Page Title and URL on
www.printronix.com
P7000/P8000 SAP Software Solutions
https://printronix.com/support/drivers/#softwar
e‐solutions
OpenPrint P7000HD/P8000HD SAP Software
Solutions
P7000/P8000 SAP Software Solutions
https://printronix.com/support/drivers/#softwar
e‐solutions

“SAP” is a registered trademark of SAP Aktiengesellschaft, Systems, Applications and Products
in Data Processing, Neurottstrasse 16, 69190 Walldorf, Germany.

Page 3 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
Appendix 1
Installation, use and maintenance of the Printronix
Device Type: YPTP7PG1
Briefly, the steps for installation and use of the device type are outlined here:
•

Test the printer outside SAP R/3 to verify its printing operation, network connection and
printer resident settings.

•

Import the Printronix device type/s using the Transport Management System (TMS) and
SA38 utility.

•

Create an Output Device for the SAP spooling system. This makes a logical connection
between the Device Type and the physical device (printer).

•

Print a test document from the application screen. Specify the output device name in the
Print dialog screen. Many Smart Forms forms can be tested directly from the Smart Forms
transaction with the built in test feature.

The following procedures provide details of these steps.
Preliminary Printer Verification Stage:
Printing Non-SAP documents in Non-SAP environment
This is to confirm that the host OS/printer attachment works properly outside of SAP. This
enhances the assurance that the host operating system and the printer are correctly configured
prior to creating the Printronix printer as an OUTPUT DEVICE to the SAP R/3 internal spool
system.
SAP R/3 documentation strongly advises that the printer should be thoroughly pre-tested in
printing Non-SAP documents in the host OS system without SAP. Typically, the host OS could
be any one of these platforms: UNIX systems, Windows or Windows NT, AS/400, or IBM
mainframe platforms.
After the "Printer's Requirements" above are satisfied, generate a few printouts to the Printronix
printers from any non-SAP applications such as MS Word or any ASCII text editor. If no
printouts were generated, check all connections to and from the printers. If all else failed, contact
Printronix Support Group to resolve it. Do not proceed any further!

Page 4 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
PROCEDURE ONE:
Install the YPTP7PG1 Device Type to an existing SAP R/3 System
1. Set the printer emulation to P-Series from the printer's panel. The printer emulation should
already be set in P-Series mode when powered ON. Next, print the printer’s configuration
from the printer’s panel to make sure that the firmware is loaded correctly and the FlashRAM and DRAM installed memory satisfied the printer’s memory requirement. Refer to the
printer documentation for more details.
2. Save the current printer’s configuration so that settings are retained whenever printer is
turned off. The saved settings will load into the printer's memory when it is powered on.
Refer to the User’s Reference Manual of the Printronix printer for a complete procedure on
how to accomplish step 1 and 2. Manuals can be found on the Printronix web site at
www.printronix.com in the Support section.
3. Double-click the self-extracting device type file 374183.exe you have just downloaded from
the Printronix DEVICE TYPE DOWNLOAD PAGE. Note the path where this file is saved
because you will be asked to specify the path during the import process of the device type
Run the executable to extract the files. The package consists of 3 files:
K000nnn.PVD and R000nnn.PVD -> ABAP PDL control and data files, where nnn is an SAPassigned sequence number.
YPTP7PG1.PRI -> Device Type file

These 3 files need to be saved in a directory on your local system where they can be obtained
when importing into SAP.

Page 5 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
4. Start the SAP R/3 front-end client GUI. Log into the central instance of SAP Server
with administrator rights. Type in your User name and Password. Press the  key to
continue to the next screen. The next few steps involve installing the device type files (.PRI file).
More information relating to this procedure can be found on SAP Note 6427.

SAP R/3 System Screen
5. Start the Program Execution transaction SA38 by entering /nSA38 in the command line text
box located just below the menu bar of the SAP R/3 System screen and press . The
screen should look very much like the illustration below.

ABAP/4 Execute Program Screen (see SAP Note 6427 for more details)
6. The next series of steps outline the import procedure of the device type definition file to the
SAP R/3 printing system.
Using transaction SA38( “ABAP/4: Execute Program”), key in RSTXSCRP in the Program text
entry box then click execute button to launch the device type definition import program.
Page 6 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
This program can also be accessed from transaction SPAD via the menu Utilities -> For device
types -> Export/Import.
7. At the next window titled “ SAPscript Export to Dataset / SAPscript Import from Dataset ”
shown below, select Device type option, key in YPTP7PG1 for Object name text field, enter
IMPORT for Mode (EXPORT/IMPORT) option, select appropriate Control Parameters for File
Operation depending on file location From/On Frontend, and key in YPTP7PG1.PRI in
the File name entry field. When all fields are entered correctly, click on the execute button (F8)
to start the import process. Ignore all other options.

SAPscript Import from Dataset Screen
8. An “Open” dialogue box should be displayed. Navigate to where the extracted file was placed
from step 3 above and select the file. Click the Open button.
9. When the import process is finished, an update message will be displayed in the current active
window.

Page 7 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
PROCEDURE TWO:
Importing of the transport files containing the ABAP PDL Driver
NOTE: Please read SAP Note 1103422 before commencing with these instructions.
1. After the import, SAP will place the 2 transport files, K000338.PVD and R000338.PVD (actual
names may differ slightly), into their respective locations for importing into SAP.
K000338.PVD is copied to the control directory and R000338.PVD is copied to the data directory.
To illustrate, K000nnn.PVD (where nnn is an SAP-assigned sequence number) will be copied to the
cofiles subdirectory:

Page 8 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
R000nnn.PVD (where nnn is any number) is copied to the data directory:

2. Importing the files is carried out with transaction STMS. The files (normally 1 data file and
one control file) need to be imported into a development system.
Page 9 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1

STMS Initial Screen
3. Click on Overview -> Imports (F5). On the next screen select the system to import into by
double clicking on it or clicking on it then pressing F2.

4. Click on the transport file shown, then click on Extras -> Other Requests -> Add

Page 10 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
5. The import queue is shown. Click the green check button.

6. A confirmation prompt will appear. Click ‘Yes’ to continue.

Page 11 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
7. On the scheduling prompt, select ‘Immediate’, then click the green check button.

8. An additional prompt appears. Click the ‘Yes’ button to execute the import.
The print driver is now ready to use.

Page 12 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
PROCEDURE THREE:
Verify the import of the YPTP7PG1 DEVICE TYPE in the SAP R/3
System
1. Start the Spool Administration transaction program SPAD by enter /nSPAD in the command
line text box located just below the menu bar of the current active window of SAP R/3
system. Press the  key or click on the check box adjacent to the command line text
box entry.
2. At the “ Spool Administration Initial Screen ”, select Device type option so that the radio
button is ON and then click the
3.

button.

Scroll down the “ List of Device Types ” screen and locate the device type that you imported.
If it is not listed, then repeat PROCEDURE ONE again.

Creating the Output Device
Each output device can only be tied to one single output device at a time. The procedure below
show the steps involved in creating the output device and linking it to the device type.
1. From the current active SAP R/3 system window enter the “ System Administration” screen
by keying in /nSPAD at the command line text box entry located just below the menu bar .
2. At the “ Spool Administration : Initial Screen” type in new printer name, then click on
Display
. The following screen will show an empty list.

Page 13 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
3. Click on the Change
4. Click on the create

icon.
icon to create the new output device.

5. Click on the Device Type pull down arrow and select the applicable device type that you wish
to use.

6. Fill in the remaining fields. Most importantly, these fields shown below:
Device Class: Standard printer (it should default to this value).
Spool Server:: The name of the SAP Spooler Server.

Page 14 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
Host Spool Access Method: This depends on how the printer is set up and the printer host
system. Press F1 on this field for more information.
Host Printer: The name of the printer where it is defined in the host operating system.
Destination Host: The host machine where the printer is installed.
Location: Administrative information field, typically to describe the physical location of
the printer.
Message: Administrative information field for SAP administrator to display the message
to users.
7. When all the fields are correctly entered with appropriate entries, save the output device
definition by selecting from the menu bar Output device  Save or the save icon .
The Printronix printer is now ready for Smart Forms output printing.

Reassign an existing “Output Device” in SAP for the Printronix printer
To change an existing output device to use another device type, use transaction SPAD to perform
this. Enter the output device name, click ‘Display’ and you will enter the initial settings screen.
If you’re not sure of the device name, leave the field blank and click ‘Display’. This will present
you with a list of output devices to choose from.
Go into change mode by clicking the ‘Change’ icon
the ‘Save’
icon.

, select a new device type, then click on

The printer should now be ready for SAP document printing.

Page 15 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
PROCEDURE FOUR:
Using the Printronix DEVICE TYPE
Device type YPTP7PG1 can only be used with Smart Forms generated output. Smart Forms can
be accessed using transaction code ‘SMARTFORMS’.
Designing forms using Smart Forms is beyond the scope of this document. A good place to start
is the online SAP help (BC-SRV-SCR).
More information on Smart Form information sources can be found in SAP Note 526824.

Smart Forms Initial Screen

Page 16 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
PROCEDURE FIVE:
Maintenance
In the event that it becomes necessary to support a device type, it is advisable to export the
device type from the user system so that it can be analyzed to see what customer modifications,
if any, have been made. Device type export is detailed below.

1) At the SAP Easy Access screen, enter transaction SA38
2) At the ABAP: Program Execution screen, Enter program RSTXSCRP
3) At the “SAPscript Export to Dataset / SAPscript Import from Dataset” screen:
• Select the “Device Type” radio button
• Enter the name of the device type to be exported in the “Object Name” field
• Leave other fields at their default value
• Enter (F8) to execute.

Device Type Export
4) A “save as” dialogue box should be displayed. Enter the name you wish to call the device
type (e.g. devicetype.pri) and press Save. The file will be saved in the location specified..
Page 17 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
5) If your download is being performed on a remote system via a WTS login, then transfer
to your local desktop as follows:
1.
2.
3.
4.

Go to Start -> Run
Type \\client\c$ or \\client\d$
Select the access level you need.
Drag the desired files to the new window displaying your
local client folder.

Page 18 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
Appendix 2
Installing and using logos with the device types.
Graphic images can be stored and administered centrally in the SAP BDS(Business Document
Service). Transaction SE78 provides a mechanism to upload graphic images and store them in
SAP. Source graphic image formats can be in Bitmap format (.BMP) or Tagged Image Format
(.TIF or .TIFF).

Graphics Administration initial screen

Importing graphic images into SAP
The procedure below lists the steps required to import a logo or graphic into SAP for use in
Smartforms.
1. Go to transaction SE38 (type /nSE78).
2. In the left section of the screen, expend the section called ‘Graphics General Graphics’.
3. Double-click on BMAP Bitmap Graphics.

Page 19 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
4. On the right hand side, type a name for your graphic image. This is the name that the system
will use to identify your logo. Select ‘Black and White Bitmap Image’.
(Color images can be used, but image quality may suffer. A ‘dot’ pattern is used to represent
color images). It is recommended to use black and white images.

5. Click on the menu Graphic -> Import (F5).

Page 20 of 22

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
6. Locate the source file for the logo. In the File name selection, click on the pull-down arrow
to browse for a file. The file can be in bitmap or TIF format.

7. Once the file is located, click on it, then click the ‘Open’ button. Next click the ‘Continue’
button. A message will confirm that the file was imported.
8. The image can be viewed by clicking on the ‘Print Preview’ button
will display in the space provided.

Page 21 of 22

. An image of the logo

259951-001
Rev A

SAP Printing Application Note-YPTP7PG1
9. The image attributes can be displayed changed. Click on the ‘Graphic Information’ (F6)
button

. To change any of the attributes, click on the ‘Attributes’ button.

NOTE: It may take several iterations to size the logo correctly for it to appear as desired on the
output. Of particular importance is the printer resolution.
To control the size of the image, the resolution can be changed in the Smart Forms Graphic
object. The image will be scaled according to the resolution of the device type. For YPTP7PG1,
the resolution is scaled down to 120 DPI. Image quality may suffer if the graphic is scaled too
much from its original size.

Smart Forms – setting the graphic resolution

Page 22 of 22

259951-001
Rev A



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : Yes
Author                          : Duc Tran
Company                         : PRINTRONIX
Create Date                     : 2016:09:06 09:52:39-07:00
Creator                         : Acrobat PDFMaker 11 for Word
Source Modified                 : D:20160906165230
Subject                         : 
Title                           : devtype.doc
Modify Date                     : 2016:09:26 18:01:23Z
Producer                        : 3-Heights(TM) PDF Optimization Shell 4.7.19.0 (http://www.pdf-tools.com)
Page Count                      : 22
Tagged PDF                      : Yes
Page Layout                     : OneColumn
EXIF Metadata provided by EXIF.tools

Navigation menu