INPRT.DOC File (c) Hewlett-Packard Company, 1990 OVERVIEW -------- The INPRT application reads infrared (IR) printer output from different Hewlett-Packard calculators into the HP 48 stack. INPRT assumes that the incoming bytes would print with the Roman 8 character set on an HP 82240 printer, and it remaps these bytes to the HP 48 character set (ISO 8859 Latin 1). PROCEDURE --------- These are the steps for transferring IR printer output to the HP 48: 1. Transfer the INPRT file from your computer to the HP 48. (Use binary if you're transferring INPRT from the HP 48.) The {INPRT} menu label will show up in your HP 48 VAR menu. (If your calculator has a double- spaced print mode, set it to single-spaced print.) 2. Line up the calculators. (See "Alignment Instructions" below.) [Note: Do not remove the HP 48SX's port cover; I/R transfer actually works better with the port cover in place. -jkh-] 3. Press {INPRT} on the HP 48. (INPRT terminates in 10 seconds if no IR output is received.) 4. Execute the print command on the other calculator. 5. Repeat steps 2 through 4 as needed to transfer additional output. RESULTS ------- When the transfer is complete, the HP 48 returns the received data to the stack in the form of a string to level 2 and a flag to level 1. If the flag is 0, uncorrectable transfer errors were detected; if the flag is 1, there still may be missing bytes. The 1 means that each byte that was detected was received correctly. You should still check the received data since there may be a linefeed in strings, names, expressions, etc. more than 24 characters long. If the flag is 0, each byte that was not correctable is a gray blot (character number 127) in the level 2 string. ALIGNMENT INSTRUCTIONS ---------------------- The calculators should be no more than 0.5 inches (1.3 cm) apart for the transmission. Also, other alignment issues apply to several calculators: o For the HP 41: The IR printer module should be in one of the top ports, and the shiny "IR cone" in the center of the module should be aligned between the E and T of HEWLETT on the HP 48's Hewlett-Packard logo. o For the HP 27S, HP 17B, and HP 42S: The calculator must be raised 0.3 inches (0.75 cm). The center of the LED (which is located at the top end of the calculator in line between the E and W of HEWLETT) should be aligned between the E and T of HEWLETT on the HP 48's Hewlett-Packard logo. o For the HP 28, HP 18C, and HP 19B: Just line up the calculator's LED between the E and T of HEWLETT on the HP 48's Hewlett-Packard logo.