You are on page 1of 8

Printing from SAP ECC 6.

0 using the Upload Process


I am using the upload method to upload an existing SAP ITF file or and ASCII file into SAP.
The easiest method of creating a SAP ITF formatted file is to use Zebra Designer for mySAP Business
Suite and to export the file.
This requires the full version of Zebra Designer for mySAP or the export feature will not be available.

In SAP use /nSO10 to go to the Standard Text entry dialog box.

Enter the Text Name required I am using SGTEST11


Ensure you are using Language EN (English)
Select Create.

This will display the Change Standard text screen.


Select Text from the menu bar at the top of the screen.

th

Rev 1- 9 March 2012

Printing from SAP Upload Process.doc

Page 1 of 8

Select Upload

The Upload Format dialog box should be displayed.


The formats that we use are ITF (SAP formatted file) or ASCII (ZPL formatted file)
To Use ITF

Select ITF, Then the Green tick to OK.

The Import ITF File dialog box will be displayed and will default to the SapWorkDir location,
to change the location and browse for your file select the icon on the right of the box.

Once the file has been located select Open

The filename will be listed in the box and select the green tick to OK

th

Rev 1- 9 March 2012

Printing from SAP Upload Process.doc

Page 2 of 8

The file content will now been imported into SAP and should display showing the correct
characters, all the SAP script will be hidden but it will show the NEW-PAGE as highlighted
grey.

Once you have checked the file is correct select the Disk Save icon at the top of the screen.
To Use ASCII

Select ASCII, Then the Green tick to OK.

The Import ITF File dialog box will be displayed and will default to the SapWorkDir location,
to change the location and browse for your file select the icon on the right of the box.
th

Rev 1- 9 March 2012

Printing from SAP Upload Process.doc

Page 3 of 8

Once the file has been located select Open.

The filename will be listed in the box.

You will notice there is a Code Page box (Default 4110).

Please Note
Code Page 4110 is also known more commonly as UTF-8 encoding in SAP.
IBM reference to it as 1208 and Microsoft reference to it as 65001.
http://en.wikipedia.org/wiki/Code_page

To import the file select the Green tick.

The file content will now been imported into SAP and should display showing the correct
characters, all the SAP script will be visible as it will be treated like normal text.

th

Rev 1- 9 March 2012

Printing from SAP Upload Process.doc

Page 4 of 8

If you imported a standard ZPL file (not SAP script) it would look like this:

This is a valid file and will work even without any SAP Script

Test Printing Process

The printer must already be setup in the SAP Print Spooler. (/nSPAD)
I have already setup the following:
Output Device (standard printer) Name is UF2
Device Type driver being used - ZLB_ZEBU
Access Method G: Front End Printing with Control Tech
(If using Access Method - G this will display the printer choice at print time, like in Windows)
(If using Access Method F this will automatically print to the current default printer as long
as the Host printer setting is set to __DEFAULT )

Please Note:
The ZLB_ZEBU device type driver should be used on your output device (Printer), If you are not
using this UTF-8 capable driver then the international characters will not print correctly (or at all).

Continuing from uploading file section.

When you are displaying the uploaded file you can select the Printer Icon to open the
printing dialog box.

th

Rev 1- 9 March 2012

Printing from SAP Upload Process.doc

Page 5 of 8

Select the Output Device (Printer) to use I am using UF2


Select the Print immediately check box
Select the Print button

If using Access Method F this will print your label.

If using Access Method G the printer choice dialog box will be displayed
Select the model and select OK to print your label.

th

Rev 1- 9 March 2012

Printing from SAP Upload Process.doc

Page 6 of 8

The code examples and output are attached for your reference and testing
SGTEST13
^XA
^CW1,E:ANMDS.TTF^FS
^CI28
^FO30,30^A1N,50,50
^FD ZEBRA Technologies ^FS
^XZ

SGTEST11, SGTEST12
(Depending on the characters and program used, you may have characters that look incorrect)
/:NEW-PAGE
/ ^XA
/ ^CW1,E:ANMDS.TTF^FS
/ ^CI28
/ ^FO30,30^A1N,30,30
/ ^FDoZEBRA Technologies ^FS
/ ^XZ
/:NEW-PAGE
/ ^XA
/ ^CW1,E:ANMDS.TTF^FS
/ ^CI28
/ ^FO30,30^A1N,30,30
/
FH_^FD_E4_BD_A0_E5_A5_BD_E5_90_97_EF_BC_9F_5a_45_42_52_41_20_54_65_63_68_6E_6F_6
C_6F_67_69_65_73_20_E6_96_91_E9_A9_AC_^FS
/ ^XZ

This shows the correct Chinese characters on the top label printed by using Hex double-byte
encoding, it also shows the international characters displayed are also printed.

th

Rev 1- 9 March 2012

Printing from SAP Upload Process.doc

Page 7 of 8

Another useful Chinese test file


/:NEW-PAGE
/ ^FX[Format]^FS
/ ^XA
/ ^MMT
/ ^PW900
/ ^LL0600
/ ^LS0
/ ^CW1,E:ANMDS.TTF^FS
/ ^CI28^FT179,363^A1N,62,60^FD TESTING^FS
/ ^CI0^FT100,100^A0N,50,50^FDTESTING^FS
/ ^ISR:Chinese_.ZPL^FS
/ ^XZ
/:NEW-PAGE
/ ^FX[Recall]^FS
/ ^XA
/ ^ILR:Chinese_.ZPL
/ ^CW1,E:ANMDS.TTF^FS
/ ^CI28^FT123,197^A1N,92,92^FD&ID_01&^FS
/ ^PQ1,0,1,Y
/ ^XZ
/ ^FX End of job

Please Note:
If you notice international characters are not being displayed correctly, make sure the font being
used is in the printer and that the characters were correctly uploaded into SAP.
If not using a UTF-8 file the character encoding may be lost and a common cause of this problem.

th

Rev 1- 9 March 2012

Printing from SAP Upload Process.doc

Page 8 of 8

You might also like