Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* No CR when printing to HP2100TN
@ 2000-08-16  4:00 avdbank
  2000-08-16  4:00 ` Ian Parker
  2000-08-16  4:00 ` Steffen Neumann
  0 siblings, 2 replies; 4+ messages in thread
From: avdbank @ 2000-08-16  4:00 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No CR when printing to HP2100TN
  2000-08-16  4:00 No CR when printing to HP2100TN avdbank
  2000-08-16  4:00 ` Ian Parker
@ 2000-08-16  4:00 ` Steffen Neumann
  1 sibling, 0 replies; 4+ messages in thread
From: Steffen Neumann @ 2000-08-16  4:00 UTC (permalink / raw)


man stty:


stty(1)                                                               stty(1)



NAME

  stty - Sets terminal characteristics

SYNOPSIS

  stty [-a|-g] [-f special-device]

  stty [-f special-device] [argument...]

[...]

  inlcr (-inlcr)
      Maps (does not map) newline to carriage-return on input.


So long,
Steffen


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.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No CR when printing to HP2100TN
  2000-08-16  4:00 No CR when printing to HP2100TN avdbank
@ 2000-08-16  4:00 ` Ian Parker
  2000-08-18  4:00   ` Bryan Mills
  2000-08-16  4:00 ` Steffen Neumann
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Parker @ 2000-08-16  4:00 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: No CR when printing to HP2100TN
  2000-08-16  4:00 ` Ian Parker
@ 2000-08-18  4:00   ` Bryan Mills
  0 siblings, 0 replies; 4+ messages in thread
From: Bryan Mills @ 2000-08-18  4:00 UTC (permalink / raw)


Ian Parker wrote:
> 
> 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


Or try using raw1 instead of text1(raw2 instead of raw2...)  If it is hp
printer with internal jd card then it is just raw or text.

Bryan



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-08-18  4:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-16  4:00 No CR when printing to HP2100TN avdbank
2000-08-16  4:00 ` Ian Parker
2000-08-18  4:00   ` Bryan Mills
2000-08-16  4:00 ` Steffen Neumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox