From: Erick C. <ec...@ar...> - 2000-09-06 16:08:24
|
ok. so I did need apsfilter. I installed it (and a2ps which it needs, and GhostScript 6.01 which I read somewhere I had to have) but the installation requires that I configure a printer from their list, of course my OJ700 isn't there. I tried several of the HP printers but it kept complaining that GhostScript was not compiled with support for that printer (I installed from RPM), so in the end I picked one of the Epsons, figuring I would reconfigure manually later when I figure out what to do. when the installation was complete, it did not create the /var/spool/lpd/lp0/filter to which Colin Dean's wrapfilter refers. I'm starting to get the feeling printing is not simple in Linux<g>. Perhaps I could ask you this: my aim is to be able to print from my NT laptop via the Linux box. is this even doable? here's the contents of my /etc/printcap now: # /etc/printcap # # Please don't edit this file directly unless you know what you are doing! # Be warned that the control-panel printtool requires a very strict format! # Look at the printcap(5) man page for more info. # # This file can be edited with the printtool in the control-panel. ##PRINTTOOL3## LOCAL lp:\ :sd=/var/spool/lpd/lp:\ :mx#0:\ :sh:\ :lp=/dev/null:\ :if=/usr/local/bin/ieee12844_print: # LABEL apsfilter # apsfilter setup Mon Sep 4 05:46:42 EDT 2000 # # DON'T DELETE THIS: # APS_BASEDIR:/usr/local/lib/apsfilter # # APS1_BEGIN:printer1:lp8000:letter:default # - don't delete start label for apsfilter printer1 # - no other printer defines between BEGIN and END LABEL # lp|aps1-lp8000-letter-auto-default|Printer1 lp8000 letter auto default:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/printer1-lp8000-letter-auto-default:\ :lf=/var/spool/lpd/printer1-lp8000-letter-auto-default/log:\ :af=/var/spool/lpd/printer1-lp8000-letter-auto-default/acct:\ :if=/usr/local/lib/apsfilter/filter/aps1-lp8000-letter-auto-default:\ :mx#0:\ :sh: raw|aps2-lp8000-letter-raw|Printer1 lp8000 letter raw:\ :lp=/dev/lp0:\ :sd=/var/spool/lpd/printer1-lp8000-letter-raw:\ :lf=/var/spool/lpd/printer1-lp8000-letter-raw/log:\ :af=/var/spool/lpd/printer1-lp8000-letter-raw/acct:\ :if=/usr/local/lib/apsfilter/filter/aps2-lp8000-letter-raw:\ :mx#0:\ :sh: # APS1_END - don't delete this END LABEL for printer1 any help you can provide will be tremendously appreciated. - e -----Original Message----- From: hpo...@li... [mailto:hpo...@li...]On Behalf Of PASCHAL,DAVID (HP-Roseville,ex1) Sent: Tuesday, September 05, 2000 7:27 PM To: hpo...@li... Subject: RE: [Hpoj-devel] filters & "no daemon present" Hi, Erick. I've had my head in the sand for a while working on I/O and scanning issues, so I guess it's time to look into printing. > as I don't have apsfilter installed (do I need to install it?, can I not > just print with ieee12844_print?) There are actually two sets of instructions from at least two different people in PRINT-HOWTO: Andreas Fester (presumably) for SuSE (which is the part using apsfilter), and Colin Dean for RedHat. I'll try to clean this up some. > my /etc/printcap looks like this: > > lp:\ > :sd=/var/spool/lpd/lp:\ > :mx#0:\ > :sh:\ > :lp=/dev/null:\ > :if=/usr/local/bin/ieee12844_print: You can't just set "if=" to ieee12844_print, because it needs to go through a print filter script to convert the PostScript print job to the right language for the printer. Also, ieee12844_print doesn't handle the arguments that lpd automatically passes to the filter. The solution for now according to the second half of PRINT-HOWTO is to create a wrapper script that passes its command-line arguments to the standard print filter and pipes the resulting output to ieee12844_print. David _______________________________________________ Hpoj-devel mailing list Hpo...@li... http://lists.sourceforge.net/mailman/listinfo/hpoj-devel |