Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Ernest LaBonte <labonte!@!zk3.dec.com>
Subject: Re: Help with print filters
Date: 1998/12/10	[thread overview]
Message-ID: <74on8e$30p$1@lead.zk3.dec.com> (raw)
In-Reply-To: 74mfoj$gs2$1@nnrp1.dejanews.com

gabriel_ronin@my-dejanews.com wrote:

> Does anyone know where I can find an example print filter that is not
> compiled?  I am trying to locate one that describes how I would set options
> for printing compressed and changing the cpi.  Or, if this is not handled by
> the print filter can someone inform as to what file or options control print
> characterists.
>
> TIA,
>
> Shawn Russell
>
> -----------== Posted via Deja News, The Discussion Network ==----------
> http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own

To provide a printing solution it really helps to know the OS Version,
printer type, connection method, and an idea what you are trying to
accomplish.

The commands to set font size and character pitch are not the same for
all printers. Up front there is PostScript and non-PostScript printer
languages. HP, Epson, Canon non-PostScript languages are different.
You really need to provide the make and model of the printer otherwise
you will get answers based on assumptions.

The commands to set up a printer is provided by the print filter.
However as Juergen Schroeder noted print filters are not used in a
remote print environment. Tcp/ip socket printing has been available
since V4.0a which most printer network cards support.  Most likely you
will be able to change a remote printing environment to tcp/ip and use
print filters. If you are using a serial/parallel connection this
paragraph is provided as an fyi.

Using print filters.  Most printer configurations use an output and
input filter. The output filter handles the banner page. For now use
an existing filter. The input filter handles printing features such as
font, pitch, duplex, tray selection and all that other fun stuff.

You can create a filter from scratch using shell scripts or C code. In
V4.0d a new filter was provided called pcfof.  It uses a Printer
Control File. This is a text file containing the printer commands to
setup the printer and select features. These files reside in
/usr/lbin/pcf.  It might be easier to edit a text file than creating a
filter from scratch. Again without detailed info this may not apply.





  parent reply	other threads:[~1998-12-10  5:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-09  5:00 Help with print filters gabriel_ronin
1998-12-10  5:00 ` Walker Haddock`
1998-12-10  5:00 ` Juergen Schroeder
1998-12-10  5:00 ` Ernest LaBonte [this message]
1998-12-10  5:00   ` Juergen Schroeder
1998-12-10  5:00     ` Ernest LaBonte
read-only archive

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