HP LaserJet 5SI paper feeder problem
The following problem occurs on HP LaserJet 5SI printers (used device type is HPLJ4 or HPLJ5SI) when printing ABAP/4 lists (format types X_...) or SAPscript layout other than DINA4 or LETTER sets with a page format:
The printer does not change automatically to one of the (maximum of 3) other paper trays if paper is taken from tray 1 ("Multipurpose tray") and this paper is used up, but a message is sent to the display: "Please insert DINA4 paper in tray 1" or "Please insert LETTER paper in tray 1"
Other new HP or non-HP printers can also get affected due to this problem which features intelligent paper feed systems.
Following are the reason:
When compared with other HP laser printers (for example, 4SI), the tray selection procedure on the HP LaserJet 5SI is extremely complicated. To clarify the description of the so-called "paper types" the manufacturers printer manual should be consulted first. Set the "paper type" for all paper trays to "Plain" (that is, normal paper) to access all of the paper trays via R/3. On the printer control panel this must be set and saved.
The standard setting on the printer is an inappropriate default paper size which in addition could be the cause for the problem (that is, American printers have DINA4 whereas European printers have the LETTER setting). In Europe LaserJet 5SI printers are there that were set internally as the default paper size to "LETTER". When changing the paper tray automatically this setting causes the above-mentioned problem. Unfortunately, via the control panel the setting cannot be made!
The following commands must be sent to the printer in order to change the internal default paper size to DINA4. By means of a hex editor a file with the commands listed below can be created for example or in the R/3 device type definition as part of the printer initialization can be entered of the format type. By e in the following description the character ESCAPE (hex 1B) is expressed, by r or n. e%-12345X@PJLrn the characters CARRIAGE RETURN (hex 0D) and NEWLINE (hex 0A) are expressed.
@PJL DEFAULT PAPER=A4rn
@PJL ENTER LANGUAGE=PCLrn
After switching the printer on and off the settings for the default paper size remains effective that is changed by these commands. Instead replace the second line of the file with the following line if you want to convert to LETTER:
@PJL DEFAULT PAPER=LETTERrn
Read here Printing bar codes with SAPscript