Custom paper is often required in SAP printing and development. The specific steps are as follows:
1. Run the command "s3's,-> click" full management "-> click" device type"
2. Click "page format"
3. Two page formats are added, for example:
4. Click "format type" to go to the "format list" screen, click "change", and then click "add" to create the following screen (relationship between format and page)
Save and put it back. 5. Click "device type" to go to the device type list (establish the relationship between the format and the device)
Click "cnsapwin MS windows driver via saplpd" Device
6. Click "format" to go to the format list. Click "add" to add "zht01" format, as shown in the following figure.
Enter the following control in "Print initialization"Code
# Cnsapwin sapscript spool form
# Select formlength from the Windows printmanager! # Change wincharset to 134 (gb2312) ------------------ font set
/Ew134;
# Set Font Name (simsun)
/Efsimsun;
# Set Orientation (landscape)
/EPL ------------- vertical
# Set Font Size (6 points)
/Es180x --------------- font size
# Set Vertical spacing (8lpi)
/El8. 7 ; ------- Interval between words
# Set Horizontal spacing (24cpi)
/Ec16. 0 ; --------- Interline Interval
# Set Top/left Margin ( 1 . 0 cm/1.5) -------- left and right margins
/Emt567;
/Eml850;Enter the following control code in "reset after exit"
# No control codes! At the end of the page, enter the following control code
# Formfeed
/F enter the following control code in "end of line" # newline
/N operation completed. Save it. Set the output device. SAP settings are complete. The printer then sets the corresponding size of the paper. All settings are complete. For more information about font settings, see sap's cascading fonts Configuration Guide (SAP Web Application Server 6.20/SAP NetWeaver 2004/SAP NetWeaver 2004 S) --sap_cascadingfontconfigguide.pdf