[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dj660c-filter and stepping



Hi Bob,

        I have installed gs-fonts as well. I don't know how to use dselect (and
apart from that there are a lot of questions being asked about dselect), I use dpkg
instead.
Dependency is not a problem for me since the Debian site manage the dependencies
very well and on installation the packages will remind me if I get something missed
out.
        Now I've tried ' man -t printcap | lpr '  it works well and also
' lpr Tutorial.ps ' (the tutorial file in /usr/doc/lprng-doc)
        All worked well.
        Thank you.
        Thank you very much.

        Alan


Bob Nielsen wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
>
> Alan,
>
> There is a bit more to it than typing 'gs something.ps'.  You should print
> practically everything using the magicfilter entry.  Just type 'lpr
> filename.ps'.
>
> gs-aladdin is a newer version than plain gs (it has a slightly more
> restrictive license).  It is pre-compiled in the Debian package.
>
> Did you also install gs-fonts?  If you use dselect or apt-get, you will
> avoid (or at least minimize) dependency problems.
>
> Bob
>
> On Thu, 19 Nov 1998, Alan Tam wrote:
>
> > Hi Bob,
> >
> >         My answer to your question is no and yes.
> >         No, I don't have gs installed by the time I learn the command. When I
> > read the
> > /etc/magicfilter/dj550c-filter I found 2 lines that goes with gs, then I know
> > for
> > PostScript printing it requires GhostScript. At first, I don't know what are
> > the difference between gs and gs-aladdin package. I downloaded 2 and installed
> > 2 by
> > typing gs the screen freezes at a white blank page. After I studied the dpkg
> > --info of these 2 packages I realized that they are in conflict to each other
> > from there I selected gs-aladdin instead of gs.
> >         Now I have gs (aladdin) installed, but doing ' gs  ' or ' gs
> > Tutorial.ps ' or
> > ' gs -sDEVICE=cdj550 Tutorial.ps ' I got
> > Unknown paper size:(A4).
> > Unrecoverable error: stack under flow in dup.
> > Unexpected interpreter error -17
> > Error object: dup(d84)name(0x818b1e8#508)
> > Execution stack at 0x818850c:
> > ....    ....    ....    ....        (numbers, offsets and codes same for the
> > above commands)
> > Dictionary stack at 0x8188434:
> > ....    ....    ....    ....        (numbers, offsets and codes same for the
> > above commands)
> >
> >         What's wrong with it ?
> >         I have Debian 2.0.34 with base installation on it (no Window Maker,
> > nor
> > X windows. Because I want to learn from the basic and am trying to
> > compile the kernel to suit my personal needs. But before that I need to read
> > the
> > docs about kernel compile by printing it on papers.)
> >         From the install.txt.gz file of gs-aladdin, it says ( in the Unix
> > section ) we
> > have to compile the source. Do I really have to do it ? Isn't all the
> > executables
> > in the package are ready to go ?
> >
> >         Thanks Bob
> >         Alan
> >
> > Bob Nielsen wrote:
> >
> > > Do you have gs (or preferably gs-aladdin) installed?  That is necessary
> > > for the man -t output to print, since -t converts it to PostScript.
> > >
> > > Keep at it and you will soon learn the Unix/Linux commands.  Most of us
> > > started from a DOS background.
> > >
> > > Bob
> > >
> > > On Wed, 18 Nov 1998, Alan Tam wrote:
> > >
> > > > Hi Bob,
> > > >
> > > >         Thank you for your info, but the command ' man -t printcap|lpr '
> > > > didn't work.
> > > > With your hint I tried ' man printcap|lpr ' it works. Printing perfectly
> > > > without any stepping at all.
> > > >
> > > >         Thanks anyway. Since I am new to Linux, I don't know the command
> > > > style in Unix/GNU/Linux. Now I know the symbol '|' means piping. In Dos
> > > > I usually use
> > > > 'type printcap > lpt1' and that will print to the printer.
> > > >
> > > >         Thank you.
> > > >
> > > >         Alan
> > > >
> > > > On Tue, 17 Nov 1998, Alan Tam wrote:
> > > >
> > > > > Hi all,
> > > > >
> > > > >         Is there a filter for HP Deskjet 660C in the Debian Packages ?
> > > >
> > > > > So far I can get from magicfilter_1.2-24.deb is dj550c-filter.
> > > > >
> > > > >         I am trying to print the manual pages through my HP Deskjet
> > > > > 660c. A
> > > > > question on how to eliminate the stepping effect when I issue the
> > > > > command
> > > > > man printcap > /dev/lp1
> > > >
> > > > The reason you are getting the stepping is that this is going as raw
> > > > data
> > > > to the printer, not through any filter. You need to pipe it through lpr,
> > > >
> > > > not send it directly to /dev/lp1.
> > > >
> > > > The ghostscript printer compatibility page
> > > > (http://www.cs.wisc.edu/~ghost/printer.html) indicates that the cdj550
> > > > driver (which is called by dj550c-filter) is the correct one to use with
> > > >
> > > > the 660C, so you should use the dj550c-filter in magicfilter.
> > > >
> > > > To print a man page, use 'man -t printcap|lpr'.
> > > >
> > > > >
> > > > >         From the Printing-HowTo, there is an example
> > > > > #!perl
> > > > > #The above line should really have the whole path to perl
> > > > > #This script must be executable: chmod 755 filter
> > > > > while (<STDIN>){chop $_; print "$_\r\n";);
> > > > > #You might also want to end with a form feed: print "\f";
> > > > >
> > > > > Should I leave the STDIN as is or replace it with lp1 or something
> > > > else
> > > > > ?
> > > >
> > > > The easy way is to let magicfilter do the work for you.
> > > >
> > > > Bob
> > > >
> > > > ----
> > > > Bob Nielsen                 Internet: nielsen@primenet.com
> > > > Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
> > > > DM42nh                      http://www.primenet.com/~nielsen
> > > >
> > > >
> > > >
> > > >
> > > >
> > >
> > > ----
> > > Bob Nielsen                 Internet: nielsen@primenet.com
> > > Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
> > > DM42nh                      http://www.primenet.com/~nielsen
> >
> >
>
> - ----
> Bob Nielsen                 Internet: nielsen@primenet.com
> Tucson, AZ                  AMPRnet:  w6swe@w6swe.ampr.org
> DM42nh                      http://www.primenet.com/~nielsen
>
> -----BEGIN PGP SIGNATURE-----
> Version: 2.6.3a
> Charset: noconv
>
> iQCVAwUBNlNqeES6t+7PuxmpAQGHugQAmV9lRH+NjbT65q6zEB/arFYHUKpMtFJS
> JQBkT1xSkY3Ila3ExsJWSR3mdzS2r+Zr9uvjJ1PA8YthD2EHqoqWtrP/ArdCxP5G
> NAVf0u3/JZsCXxLqVNliC/xAdEmafG48ZA4h0BAe5zUnsEWQjNg7+HsTWdHwkI0G
> E9IoXJTxTLg=
> =XgGn
> -----END PGP SIGNATURE-----


Reply to: