10.12.10

SAP Note 12362 - Known errors in standard printer definitions

Symptom:

Errors occur when you print using the SAP standard device types (for printer list, see Note 8928). These errors can be corrected by correcting the device type.

Other terms

Device types, printers

Reason and Prerequisites

The problem is caused by errors in the R/3 device type.

Solution

Generally, the SAP original device types should NOT be modified. Instead, copy the originals to a name starting with Z.. (see Note 3166). Then implement the correction (see below) to the copied device type Z... and use the copied device type Z... instead of the SAP original as device type of the output device (under "Output devices" in the Spool Administration transaction SPAD). For example: An error in DECLN07 is described. DECLN07 is then copied to ZDECLN07, the error is corrected in ZDECLN07, and device type ZDECLN07 is used (instead of DECLN07) for output device LP02.

List of discovered errors:

Device type DECLN07 ***********************************************
IMPORTANT: IMPORTANT: The problem described below occurs only when printer type DECLN07 is used for the DEC LN03 printer, rather than for the DECLN07 or the DECLaser 1100 (not supported in the standard system). The DEC LN03 does not know the command that is to be changed.
Incorrect command for setting portrait/landscape format. Effect: In X_65_132, X_44_120, X_58_170, printing is in portrait mode instead of landscape. The error has no effect in X_65_80, X_90_120.

  • Affected releases: 2.0x, 2.1x, 2.2x
  • Corrected in: 3.0A

Correction:
Transaction SPAD, "Device formats". In the "Printer initialization" action for X_65_132, X_44_120, and X_58_170, you must correct the following:

Incorrect (for use only in LN07, not for use in LN03):

# Select landscape page format
\0x9B\0x32\0x7A

Correct:

# Select landscape page format
\0x9B\0x37\0x20\0x4A

For the formats X_65_80 and X_90_120, the relevant
command for portrait format must be corrected:

Incorrect (for use only in LN07, not for use in LN03):

# Select portrait page format
\0x9B\0x30\0x7A

Correct:

# Select portrait page format
\0x9B\0x36\0x20\0x4A

Device type HP256X **************************************************
For character set 1126 for HP256X, many characters are missing and/or it has an incorrect Hex code:
287 (Udieresis, Ü) must have the Hex code DB
319 (icircumflex) D1
322 (igrave) D9
284 (Thorn) F0
354 (thorn) F1
267 (Eth) E3
315 (eth) E4
262 (Ccedilla) B4
270 (Iacute) E5
274 (Igrave) E6

  • Affected releases: 2.0x, 2.1x, 2.2A-C
  • Corrected in: 3.0A, 2.2D

Correction:
Transaction SPAD "Character Sets". Call "edit" for character set 1126. Then, for example, look for character number 287: Enter DB instead of EE in field X1. Do the same for the other missing or incorrectly defined characters. Then save the character set.
The device type HP256X must not be copied to Z..... The correction noted above must be corrected after each release upgrade until the correction is part of the program itself in a later release!

Device type HP256X **************************************************
Format X_65_132 is printed with 16.6 cpi, although several printers of the HP256x series can perform the pitch 12 cpi, which is more suitable for this format.

  • Affected releases: 2.2x, 3.0A-F, 3.1G
  • Corrected in: 3.1H

Device type POSTSCPT *************************************************
The line spacing in the format X_58_170 of the POSTSCPT device type is set too large, only approximately 52 lines instead of 58 lines fit on the page.

  • Affected releases: 2.2A, 2.2B, 2.2C
  • Corrected in: 3.0A, 2.2D

Correction:
Transaction SPAD, "Device formats". In the action "Printer initialization" for X_58_170, the following lines must be corrected:

Incorrect:

# line spacing
/linesize 9.000 def\n

Correct:

# line spacing
/linesize 7,500 def\n

Device type HPLJIIID *************************************************
Character widths for numbers 0,1,2...9 in the print fonts TIMES 060, 080, 100, 120, 140, 160 (normal, bold, italic and bold italic) are incorrect. The incorrect value 428 or 505 must be replaced with the value 500.

  • Affected releases: 2.0x, 2.1x, 2.2x
  • Corrected in: 3.0A

Device type COMPU960 ***********************************
Printing with COURIER 120 normal or COURIER 120 bold may not print with 10 char/inch as required, but with a different pitch. Reason: In the print controls SF001 and SF002, the command sequence for setting 10 char/inch printing is missing.

  • Affected releases: 2.0x, 2.1x, 2.2x
  • Corrected in: 3.0A

Correction:
Create a client-specific copy of the affected printer type (for example, ZCOMPU96). For more information, see Note 3166. Do not change the original!! Transaction SPAD, Choose "Print controls for device type," device type ZCOMP.. Define the two print controls SF001 and SF002 as follows:
PrCtl V H D
SF001 1 X 1B501B57021B46
SF002 1 X 1B501B57021B45
Save print controls.

Device type COMPU960 ***********************************
In character set 1119 for COMPU960, many characters for framing lists have incorrect Hex codes:
Character 461 must have hex code 49
471 D1
472 2D
473 2D
474 2D
475 5F

  • Affected releases: 2.1A-L, 2.2A-F
  • Corrected in: 3.0C, 2.1M, 2.2G

Correction:
Transaction SPAD "Character Sets". Call "edit" for character set 1119. Then, for example, look for character number 461: Enter 49 in Field X1 instead of 7C. Do the same for the other characters. Then save the character set.
Device type COMPU960 must not be copied to Z..... The correction noted above must be corrected after each release upgrade until the correction is part of the program itself in a later release!

Device type KYOF1000, KYOF1200, KYOFS150 *****************************
You cannot change the line spacing with the ABAP command PRINT-CONTROL, since no LIxxx print controls are maintained. We added print controls LI004, LI006, LI008, LI010 for setting 4,6,8 or 10 lines per inch.

  • Affected releases: 2.0x, 2.1x, 2.2x
  • Corrected in: 3.0A

Correction:
Create a client-specific copy of the affected printer type (for example, ZKYOF100). For more information, see Note 3166. Do not change the original!! Transaction SPAD, Choose "Print controls for Device type", printer type ZKYOF.. Add the following print controls:
PrCtl V H D
LI004 5 SLPI 4
LI006 5 SLPI 6
LI008 5 SLPI 8
LI010 5 SLPI 10
Save print controls.

Device types MT600, MT600GER, MT600NDA ***************************
These device types were assigned character sets that did not contain OCR-A special characters (hook, fork, chair). All three device types were provided with printer character sets that contain the three special characters:
MT600 - Character set 1122
MT600GER - Character set 1136
MT600NDA - Character set 1120

  • Affected releases: 2.0x, 2.1A-L, 2.2A-F
  • Corrected in: 3.0C, 2.2G, 2.1M

Device type KYOFS150 *****************************************
The print controls COLxx (COL0N, COL0H, and so on) contain an incorrect command ("Exit,E;") at the end. It is incorrect because it suppresses the line feed when the print control is at the end of a line. In all print controls COL,
EXIT,E;
is replaced with
EXIT;

  • Affected releases: 3.0A, 3.0B, 3.0C
  • Corrected in: 3.0D

Device type HPLJ4 **************************************************
Font LNPRINT 085 is printed incorrectly. Instead of font Line printer 8.5 normal, Courier 8 point normal is displayed.
Reason: Printcontrol SF300 is defined incorrectly.

  • Affected releases: 3.0A-D
  • Corrected in: 3.0E

Correction: For all three device types, you can carry out the correction according to the following description:
Create a customer-specific copy of the affected printer (for example, ZHPLJ4). For more information, see Note 3166. Do not change the original! Use Transaction SPAD, "Print control for device type", and choose ZHPLJ4. Now for ZHPLJ4, change the replacement text of print control SF300 to the following values:

1B28304E1B2873307031362E363768382E3576307330623054

Save print controls.

Device type SNIZD13 **************************************************
IMPORTANT: The problem described below occurs only for newer models of ZD13. The version of ZD13 tested by SAP in 1994 did not have this problem.
Incorrect command for deactivating the expanded font. Effect: When you print with SAPscript, the printer "hangs".

  • Affected releases: 2.x, 3.x, 4.0A, 4.0B
  • Corrected in: 4.0C

Correction:
Transaction SPAD, "Device types", "Formats" for SNIZD13. In the action "Printer initialization" for DINA4, LETTER, INCH12 (all SAPscript formats, see Note 3102) change the following:

Problematic:

# cancel expanded mode
\e\0x5B\0x3B\0x20\0x42

Correct:

# cancel expanded mode
\e\0x5B\0x31\0x30\0x30\0x3B\0x31\0x30\0x30\0x20\0x42

Device type HPLJ5 **************************************************
Activated "PostScript" flag for format X_65_132 leads to incorrect printout of the characters
) ( \
(parentheses and backslash) in ABAP list printing with X_65_132.

  • Affected releases: 4.6A, 4.6B, 4.6C, 4.6D.
  • Corrected in: 5.0A

Correction:
Transaction SPAD, "Device types", display "Formats" for HPLJ5. The checkbox "Postscript formats" must not be activated in the attributes of format X_65_132 for HPLJ5!

Device type POSTSCPT (POST2) *****************************************
Not all special characters required for character set ISO 8859-1 (Latin-1) are defined in the PostScript encoding vector (character set coding) of the SAP cover page (defined by TITLE action of the format X_PAPER). For this reason, you cannot print a French "eacute" on the cover page. This also affects device type POST2, because it adopts the cover page definition of POSTSCPT.

  • Affected releases: 3.x, 4.0x, 4.5x, 4.6x
  • Corrected in: 5.0A

Device types HP1200, HP2200, HP2550, HP2500, HP3200, HP4100, HP8150, HP9000
Activated "PostScript" flag for format X_65_132 leads to incorrect printout of the characters
) ( \
(parentheses and backslash) in ABAP list printing with X_65_132.

  • Affected releases: 6.20
  • Corrected in: 6.30

Correction:
Call Transaction SPAD, "Device types", "Formats" for HPxxx. In the attributes for format X_65_132 for HPxxx, the checkbox "Postscript format" must not be activated!

Device type I2HP4

  • Missing characters in the Adobe Font Metric (AFM) metrics lead to their replacement with # for the PDF conversion.
  • Missing format X_65_200
Solution: Import the device type from the attachment to this note using the report RSTXSCRP in the package SPOO.

No comments:

Post a Comment