HELP!! Failed to print text file on HP laster printer!!

HELP!! Failed to print text file on HP laster printer!!

Post by d843915 » Tue, 03 Dec 1996 04:00:00



G'day all,
  I had setup the /etc/printcap on SunOS4.1.3 for the HP lasterjet 5MP.
  Although the ps files are printed well, the text file can't be printed
  well. It seemed that the printer miss the LF and CR.

  Can anyone setup a filter for it?

  Thank for your reply in advance.
Best regards,
  Lepidus.

 
 
 

HELP!! Failed to print text file on HP laster printer!!

Post by olivier messian » Wed, 04 Dec 1996 04:00:00


I guess you used both sb and sh in your printcap. That does not work. I
think it's a bug.
Remove one fo them

--
-------------------------------------------------------------------------------
MESSIANT Olivier


Tel     +33 (0)1 42 13 69 57
Fax     +33 (0)1 42 13 69 66
pager   +33 (0)6 51 01 21 84
-------------------------------------------------------------------------------

 
 
 

HELP!! Failed to print text file on HP laster printer!!

Post by George Galle » Wed, 04 Dec 1996 04:00:00


if you cant find a filter send the ESC code that will make the printer
send a LF/CR when it receives a LF. Not sure what the code is, my book
isn't with me. I'll post the Code sequence later the afternoon if needed.
Its will be a PCL5 code.

George



Quote:> G'day all,
>   I had setup the /etc/printcap on SunOS4.1.3 for the HP lasterjet 5MP.
>   Although the ps files are printed well, the text file can't be printed
>   well. It seemed that the printer miss the LF and CR.

>   Can anyone setup a filter for it?

>   Thank for your reply in advance.
> Best regards,
>   Lepidus.

 
 
 

HELP!! Failed to print text file on HP laster printer!!

Post by George Galle » Wed, 04 Dec 1996 04:00:00


OK, the PCL5 codes are as follows:

ESC & k 0 G will make CR=CR, LF=LF, FF=FF
ESC & k 1 G will make CR=CR+LF, LF=LF, FF=FF
ESC & k 2 G will make CR=CR, LF=CR+LF, FF=CR+FF
ESC & k 3 G will make CR=CR+LF, LF=CR+LF, FF=CR+FF

So if you can't find a filter "or" UNIX2DOS and don't want to fiddle
around, send the appropriate code to the printer and let it do all
the conversions for you!!!

George Gallen



> if you cant find a filter send the ESC code that will make the printer
> send a LF/CR when it receives a LF. Not sure what the code is, my book
> isn't with me. I'll post the Code sequence later the afternoon if needed.
> Its will be a PCL5 code.

> George



> > G'day all,
> >   I had setup the /etc/printcap on SunOS4.1.3 for the HP lasterjet 5MP.
> >   Although the ps files are printed well, the text file can't be
printed
> >   well. It seemed that the printer miss the LF and CR.

> >   Can anyone setup a filter for it?

> >   Thank for your reply in advance.
> > Best regards,
> >   Lepidus.

 
 
 

1. How to Setup Sun Sparc10 with HP laster printer?!!

Hi all,
  After consulting, I bought a parallel cable from Sun company. But I have
  trouble in setting the parameter "lp" in /etc/printcap. And how to construct
  the print device file?

  The printer is HP lasterjet 5MP and the OS of my workstation is SunOS4.1.3.

  Thank for your reply in advance.

Best regards,
   Lepidus.

2. Kernel 2.1.125 and SCSI Card

3. HELP Printing Text Files to HP LaserJest 4 M Plus (postscript)

4. /etc/rc.config.d/cron

5. printing text to a rm|:raw hp laser jet printer

6. Networking Consultant Wanted

7. lp text file to hp printer

8. PROBLEM REPLACING OPENSERVER 5.0.4 LICENSES

9. Urgent: Printer setup for ascii text on an HP printer ...

10. Printing text files on a sparc printer with specific tab width

11. Urgent: Printer setup for ascii text on an HP printer ...

12. Solaris only can print text file to printer??

13. printer - print text file issue