From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,cfb23dbf2f38df58 X-Google-Attributes: gidfa528,public From: Ian Parker Subject: Re: No CR when printing to HP2100TN Date: 2000/08/16 Message-ID: #1/1 X-Deja-AN: 659114848 References: <8ne0gd$gq8$1@nnrp1.deja.com> X-Complaints-To: abuse@gol.com X-Trace: nnrp.gol.com 966465245 203.216.43.154 (Thu, 17 Aug 2000 07:34:05 JST) Organization: Global Online Japan MIME-Version: 1.0 NNTP-Posting-Date: Thu, 17 Aug 2000 07:34:05 JST Newsgroups: comp.unix.tru64 In article <8ne0gd$gq8$1@nnrp1.deja.com>, avdbank@my-deja.com writes >Hi >I have set up a HP2100TN in Tru64 and when it prints it does a linefeed >but no cariage return at the end of a line. >I'm not very experienced in UNIX admin and would like to know where to >change the setting to do a CR. >Thank You > > >Sent via Deja.com http://www.deja.com/ >Before you buy. It sounds like the stair-stepping problem. The text below is from the HP web-site. I no longer have the URL. On modern HP printers, you simply make a change on the printer itself, not on UNIX. HP JetDirect Print Servers - Fixing Stair-stepping in UNIX (R) Print Jobs QUESTION: How do I fix printing that stair-steps off of the page when UNIX ASCII files are sent to a printer with an HP JetDirect device? ANSWER: Printing is done through an LPD queue, rather than a queue created by HP JetAdmin for UNIX. Configure a queue using the remote printer name "text." Send ASCII files to this queue. This requires creating a printcap file where the :rp= line is :rp=text:\. The remote printer name "text" appends a carriage return and line feed to the queue. DETAILS: This is not necessary on the HP LaserJet 4000, 5000, and 8000 printers. These printers can append a carriage return to a line feed by themselves: 1. From the printer's front control panel, press the Menu button until Printing Menu appears. 2. Press the Item button until APPEND CR TO LF appears. 3. Press the Select button for an asterisk to appear on the display. 4. Press the Go button. For other printers, follow the steps below. Configuring Text-Only Print Queues For BSD-Based Systems Edit the /etc/printcap file to include the following entries: printer_name|short_printer_name:\ :lp=:\ :rm=node_name:\ :rp=text:\ :lf=/usr/spool/lpd/error_log_filename:\ :sd=/usr/spool/lpd/printer_name: Where printer_name identifies the printer to the user, node_name identifies the printer on the network, and remote_printer_name_argument is the print queue designation. NOTE: To access the three ports on an HP JetDirect EX Plus3 external print server, choose the appropriate queue name: Port 1 = text1 Port 2 = text2 Port 3 = text3 NOTE: For more information on printcap, see the printcap man page. -- Ian Parker