From: <pa...@rc...> - 2000-12-03 14:27:03
|
re...@ca... said: > Can you lot have another look at the wrap filter this is the what did > i opened up the filter script wrote what was in the print how to > readme then deleted all the other bits of script in the file then > saved it as wrapfilter but it still doesn't want to work Hi, Sammy. Your new wrapfilter script looks fine. I double-checked the path you specified for QUEUEDIR to make sure it was consistent with the "sd=" (spool directory) specified in /etc/printcap, and it is. The only other thing I can think of offhand is to make sure the wrapfilter script has execute permission, because I made that mistake when I was setting up my print queues the other day. Say "ls -l /var/spool/lpd/lp", and you should see something like the following: -rwxr-xr-x 1 root root 9479 Nov 29 21:29 filter -rwxr-xr-x 1 root root 190 Nov 29 21:29 general.cfg -rw-r--r-- 1 root root 4 Dec 2 12:54 lock -rwxr-xr-x 1 root root 360 Nov 29 21:29 postscript.cfg -rw-rw-r-- 1 root root 32 Nov 29 21:32 status -rwxr-xr-x 1 root root 148 Nov 29 21:29 textonly.cfg -rwxrwxr-x 1 root root 132 Nov 29 01:21 wrapfilter The important thing is that you should see "x"s for filter and wrapfilter. If not, then issue the command "chmod +x /var/spool/lpd/lp/wrapfilter". > when i go to > where the file resides /usr/local/bin and run ieee12844_print from the > command line nothing happens or in a winblows term it locks. I > wondering if it the actual ieee12844_print file that stopping the wrap > filter from working? so i sending both of them to you lot to have a > look at This isn't a bug. ieee12844_print takes the print job data from standard input, which is the keyboard when invoked at the command line without any I/O redirection. Try typing a line or two of text, then press control-D (which indicates end of file). It should exit, and the text should print, although it may be stair-stepped. > Just informing you lot that i have now got the the scanner working on > my hp 1150c using the patch in the CVS repository I'm glad it works for you now. > it a bit slow bit it earlys days. > i am wondering when scanning in colour should it stop > start and then move one step forward just wondering? What resolution (i.e. dots per inch) are you scanning at? The higher the resolution, the more data that needs to be transferred. Also, color scans have 24 times as much data as lineart, and 3 times as much data as greyscale. When there's a lot of data to be transferred, sometimes the I/O becomes the bottleneck, and the scanner has to stop and wait for buffered data (which it has already scanned) to be transferred before it can scan any more. If it's too slow for you, then try scanning at a lower resolution. Definitely don't scan at the maximum resolution (I forget what that is for the 1150). > Umm in previsour > which you havent answered yet i still have problem getting it to print > with ieee12844_print could some one send me a copy of their wrap > filter for the 1150c please? Sorry about the delay in getting back to you. As I said above, it looks OK. In addition to double-checking that wrapfilter has execute permission, it also might be a good idea to change the "Printer Device" (i.e. port) from /dev/lp0 to /dev/null, and to make sure the "lp" kernel module isn't loaded. Type "lsmod" to find out, and type "rmmod lp" if it is loaded. These two steps will eliminate the possibility that lp (the Linux standard parallel port driver) is interfering with the hpoj parallel port driver. I hope this helps. If it's still not working even after trying these things, it would help me help you if you could give more details about exactly what is going wrong. For example, exactly what happens when you print something, either via "lpr" or by sending an ASCII or PostScript test page from printtool? Do you see any error messages at all? Does lpd send you an error message warning you that the document failed to print (which is what happened to me when I had forgotten about execute permission for wrapfilter)? When you run "lpq", does it show any pending jobs? Are there any spool files sitting around in /var/spool/lpd/lp (the filenames would probably start with "df" or "cf")? David |