Hey all.

I have a printing bug that I think will be dead obvious to someone else,
I just can not see what it is.

I am trying to print to a HP DeskJet 500C attached to a WinNT box (which
is SMBed).  When I print, all I get is:

GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>GS>

on the one line, and then an almighty number of blank pages.

I am using apsfilter as my filter, and the print command I am using to
test is:

a2ps /etc/fstab

Below is an example entry in printcap:

lp|lp2|cdj500-a4-auto-mono|cdj500 auto mono:\
        :lp=/dev/deskjet:\
        :sd=/var/spool/lpd/cdj500-a4-auto-mono:\
        :lf=/var/spool/lpd/cdj500-a4-auto-mono/log:\
        :af=/var/spool/lpd/cdj500-a4-auto-mono/acct:\
        :if=/usr/local/bin/netprint_lp2:\
        :mx#0:\
        :sh:

/usr/local/bin/netprint_lp2 is just a tiny shell script:

#!/bin/bash
/var/lib/apsfilter/filter/aps-cdj500-a4-auto-mono - $@ | \
/usr/bin/smbprint $@

(NB: I modified smbprint to get rid of the CR/LF conversion, which is
why the GS prints all on 1 line I guess...)

Any help would be most appreciated : )

Stephen

-- 
Depend on the rabbit's foot if you will, but remember, it did not help
the 
rabbit much
-- R.E. Shay


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to