UPDATE : Trying to configure an HP41000 printer with escape sequences in the text file

From: Daniel Clar (Daniel.Clar@supelec.fr)
Date: Fri May 16 2003 - 08:49:03 EDT


The original posting was :
>
> Hello Managers,
>
> I'm have an application running on one of my Tru64 boxes which generates
> text files to print with escape sequences at the beginning and at the end
> of
> the files.
>
> Till now the files were sent to a printer on an OpenVMS system where the
> file was processed by DCPS.
>
> I'm trying to avoid this transfer and to send the file directly to the
> printer.
>
> I've used printconfig and modified slightly the lines in the printcap and
> I'm able to print the test and other text files.
>
> But when I send one of my file with escape sequences I've only page with
> squares.
>
> Is there a way to process correctly these files ?
>
> Thank you for your help.

Thank you to :

Davis, Alan [Davis@tessco.com]

Check out the PCF subsystem : man pcfof

Toni Harbaugh-Blackford [harbaugh@ncifcrf.gov]

There is a utility 'lpspr' that will do this. But it is only part of the
LPS printer control
software package that *used* to be available from digital. I don't know if
it is still available
from HP or not.

You can install the package and just put in fake entries for the printer.
You can't just
copy lpspr out of the installation package by itself, however, because lpspr
looks for
some of the printer configuration files that are placed in /etc by the
installation script.

'lpspr' is the ONLY program that I have found that will do what you want.

ur@minet.uni-jena.de

As I understand this, the LPD or the "queueing mechanics" cuts
off an ESC sequence a print job may have at the beginning.
I couldn't see this with network print server (via LPD) but
think this is a behaviour if the printer is connected to /dev/lp0
(with "default" settings). Without the horrible hack I couldn't
get all binaries to be printed. Event with no :if:, :of: and :xf:
printcap entry parameters at all the leading ESC didn't get through.
I thing there's a good reason for that - but my head is to small to
see this ;-)

-------------------------------------

I've looked at pcfof and it's working with an old ln17ps printer but it
doesn't recognize all the escape sequences.

So do I have to build by myself a hplj4100dtn_a4.pcf file or does it exist
somewhere?

Thank you

Daniel



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:19 EDT