Q: HP Printer Utilities for HP Jetdirect and TCP/IP?

Q: HP Printer Utilities for HP Jetdirect and TCP/IP?

Post by Jürgen Sau » Sat, 21 Oct 1995 04:00:00



Hallo world!
Is anybody out there who knows about linux utilies for controlling
a HP4Mplus or HP4 via the HP Jetdirect interface ?
Following problems appear:

        - misformed printouts of ascii raw text. The LF->LF/CR
          translation fails like this i.e.:
          dfug ruieg ierubnh\n  
                             krgrj iurbnh iuerbn iubn\n
                                                      ktrsbnh utobn.

        - unessessary trailer pages are printed by the printer or
          the jetdirect interface card, it looks like:
User: root
Host: server
Class: server
Job: .bash_profile

The printer is connected via a rm=hp4m entry in /etc/printcap, so
common lpr printerfiltering won't work.
Here is the printcap entry:
tcp:\
         :rm=hp4m:\
         :sd=/usr/spool/lpd/tcp:\
         :mx#0:\
         :lf=/var/spool/lpd/tcp/hp-log:\

Printing postscript through this queue tcp wortks fine. (no filtering
nessesary, :-)). But the unwanted trailer page appears. :-(

HP offers printing controll utilities for unix machines, but this
soft ist a) not free b) only for sun and hpux.

Do you have any suggestions ?
I had heard the clue is in naming the printqueue or and the printerhostname
in a special way. I couldn't figure it out till now. :-((

Any help  will be appreciated.

Greetings
        Juergen Sauer

--
=*Schneckenpost*SlowMail=+=======*Telefon=====+==*eMails*FastMail==========


28790 Schwanewede/Germany  FAX  +49 4209 5217   CI$: 100013,1564

 
 
 

Q: HP Printer Utilities for HP Jetdirect and TCP/IP?

Post by Jürgen Sau » Sat, 21 Oct 1995 04:00:00


Hallo world!
Is anybody out there who knows about linux utilies for controlling
a HP4Mplus or HP4 via the HP Jetdirect interface ?
Following problems appear:

        - misformed printouts of ascii raw text. The LF->LF/CR
          translation fails like this i.e.:
          dfug ruieg ierubnh\n  
                             krgrj iurbnh iuerbn iubn\n
                                                      ktrsbnh utobn.

        - unessessary trailer pages are printed by the printer or
          the jetdirect interface card, it looks like:
User: root
Host: server
Class: server
Job: .bash_profile

The printer is connected via a rm=hp4m entry in /etc/printcap, so
common lpr printerfiltering won't work.
Here is the printcap entry:
tcp:\
         :rm=hp4m:\
         :sd=/usr/spool/lpd/tcp:\
         :mx#0:\
         :lf=/var/spool/lpd/tcp/hp-log:\

Printing postscript through this queue tcp wortks fine. (no filtering
nessesary, :-)). But the unwanted trailer page appears. :-(

HP offers printing controll utilities for unix machines, but this
soft ist a) not free b) only for sun and hpux.

Do you have any suggestions ?
I had heard the clue is in naming the printqueue or and the printerhostname
in a special way. I couldn't figure it out till now. :-((

Any help  will be appreciated.

Greetings
        Juergen Sauer

--
=*Schneckenpost*SlowMail=+=======*Telefon=====+==*eMails*FastMail==========


28790 Schwanewede/Germany  FAX  +49 4209 5217   CI$: 100013,1564

 
 
 

Q: HP Printer Utilities for HP Jetdirect and TCP/IP?

Post by Christopher B. Brow » Sun, 22 Oct 1995 04:00:00




>Hallo world!
>Is anybody out there who knows about linux utilies for controlling
>a HP4Mplus or HP4 via the HP Jetdirect interface ?
>Following problems appear:

>    - misformed printouts of ascii raw text. The LF->LF/CR
>      translation fails like this i.e.:
>      dfug ruieg ierubnh\n  
>                         krgrj iurbnh iuerbn iubn\n
>                                                      ktrsbnh utobn.

If you create a queue for "ascii text" that uses:
  :rp=text:
instead of whatever the other rp parameter is, that should clear
this up.

Quote:>    - unessessary trailer pages are printed by the printer or
>      the jetdirect interface card, it looks like:
>User: root
>Host: server
>Class: server
>Job: .bash_profile

*If* the firmware on the JetDirect card is new enough (A.013 or
higher, if memory serves...) you should be able to telnet into
the card and set various parameters, including one for the
"banner page."

If it's not, then you'll have to have HP's software that only
runs correctly on Novell networks (HP support has not been consistent
about whether this is a fact or not; I haven't found software versions
that run over non-Novell networks thus far, and have no Novell network
to compare to.)

Quote:>The printer is connected via a rm=hp4m entry in /etc/printcap, so
>common lpr printerfiltering won't work.
>Here is the printcap entry:
>tcp:\
>     :rm=hp4m:\
>         :sd=/usr/spool/lpd/tcp:\
>         :mx#0:\
>         :lf=/var/spool/lpd/tcp/hp-log:\

>Printing postscript through this queue tcp wortks fine. (no filtering
>nessesary, :-)). But the unwanted trailer page appears. :-(

>HP offers printing controll utilities for unix machines, but this
>soft ist a) not free b) only for sun and hpux.

>Do you have any suggestions ?
>I had heard the clue is in naming the printqueue or and the printerhostname
>in a special way. I couldn't figure it out till now. :-((

:rp=text:
should help, but means you need to have *two* printcap entries that
include one specifically for text and one for non-text (e.g. PS/PCL).

I'd actually suggest having two entries:

a) A "Magicfilter" entry.  This one figures out what kind of stuff
you're printing, and filters it as needed.  It then passes it on
to the "real" print queue entry...

b) A "real" entry.  Your "tcp" queue should qualify nicely here.

Note that you cannot combine these into one entry, as lpd *ignores*
input/output filters when the printer is on a remote host.
--

 
 
 

Q: HP Printer Utilities for HP Jetdirect and TCP/IP?

Post by Steve Hsi » Sun, 22 Oct 1995 04:00:00


JS> Hallo world!  Is anybody out there who knows about linux utilies
JS> for controlling a HP4Mplus or HP4 via the HP Jetdirect interface ?
JS> Following problems appear:

JS>  - misformed printouts of ascii raw text. The LF->LF/CR
JS> translation fails like this i.e.: dfug ruieg ierubnh\n krgrj
JS> iurbnh iuerbn iubn\n ktrsbnh utobn.

If you are printing text, print to the remote print queue name of 'text'.

JS>  - unessessary trailer pages are printed by the printer or the
JS> jetdirect interface card, it looks like: User: root Host: server
JS> Class: server Job: .bash_profile

If you use lpr -h, then a banner page won't be printed out.  The
better way to turn this off is to telnet to your printer and turn the
bannerpage option off.  However, this is available on the newer
firware revisions.  If you have an old firmware, then you need to get
the software upgrade via ftp from HP (Assuming your printer has a
flash upgradable SIMM).  However, to run the software, you need either
Novell, or have the printer get its info from a BOOTP server.

JS> Do you have any suggestions ?  I had heard the clue is in naming
JS> the printqueue or and the printerhostname in a special way. I
JS> couldn't figure it out till now. :-((

Like I said, use 'text' for text, and 'raw' for everything else...

 
 
 

1. Solaris 2.5.1 / HP JetAdmin D3.15 / HP JetDirect / Non-HP-Printer

Hi,

I run the above configuration and it works almost fine. I've created a
model script as descipt in HPs Electronic Support Center. But I've still
some troubles:

1. lp appends no form feed to my printing.
2. I've still PJL commands in my printings.

Has anybody experiences with similar problems?

Thx Mue

--
    __  __
   / /_/ /  Frank Mueller                   Nordwest-Zeitung Oldenburg
  / ____/   Telefon (0441) 9988-7270                 IV / Organisation

2. Help needed to install Linux on Pentium Pro machine

3. HP JetDirect printer hangs when using TCP/IP and IPX protocols

4. Install instructions

5. lpr using TCP/IP & HP JetDirect Card

6. Refresh Rates

7. TCP/IP Printing Problem w/HP JetDirect Across Frame Relay WAN

8. line-in recording questions

9. HOW: HP JetDirect w' TCP/IP support?

10. SCO, MACS, TCP/IP AND HP PRINTERS

11. HP DeskJet/HP JetDirect/SuSE53 printing question...

12. Banner pages on HP LasesrJets (using HP's JetDirect software)

13. HP JetDirect On HP DesignJet 750C