AGué on Mon, 10 Jun 2002 23:30:05 +0200 (CEST)(envelope-from owner-apsfilter-help@apsfilter.org)


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

problems printing PS pages via apsfilter/lprng


I use gs 7.05 (I have compiled it),  hpijs 1.1, and LPR bsd on a 
Debian/Woody.
My printer: HP 950C.

When I try to print, I get on the paper these lines:

Error: /typecheck in --closefile--
                                                  Operand stack:
                                                                       
       --nostringval--    ()
                                                                       
                                     Execution

And the printer stop without ejecting the paper !



My /etc/printcap:

# /etc/printcap: printer capability database. See printcap(5).
# You can use the filter entries df, tf, cf, gf etc. for
# your own filters. See /etc/filter.ps, /etc/filter.pcl and
# the printcap(5) manual page for further details.
# APS1_BEGIN:printer1
# - don't delete start label for apsfilter printer1
# - no other printer defines between BEGIN and END LABEL
lp|ijs/DESKJET_950;r=300x300;q=medium;c=full;p=a4;m=auto:\
   :lp=/dev/usb/lp0:\
   :if=/etc/apsfilter/basedir/bin/apsfilter:\
   :sd=/var/spool/lpd/lp:\
   :lf=/var/spool/lpd/lp/log:\
   :af=/var/spool/lpd/lp/acct:\
   :mx#0:\
   :sh:
# APS1_END - don't delete this



I have also modified apsfilter and the DESKJET_920 driver (because my 
printer uses it), according to the patch for printers based on the ijs 
drivers.


I have also tried this command:
gs -q -dNOPAUSE -dSAFER -dPARANOIDSAFER -sPAPERSIZE='a4' -r'300x300' 
-sDEVICE='ijs' -sIjsServer=hpijs -sDeviceModel='DESKJET 950' 
-dIjsUseOutputFD 
-sIjsParams='Quality:Quality=0,Quality:ColorMode=2,Quality:MediaType=0,Quality:PenSet=2' 
-sDeviceManufacturer=HEWLETT-PACKARD -sOutputFile="/dev/usb/lp0" test.ps

It works perfectly.




I have a question, how can I get the command line which it passed to 
Ghostscript from the apsfilter script ?



eLShaman.