Re: DeskJet 870
On Fri, 22 Jan 1999, Alec Smith wrote: I'll have to give it a try later... Thanks. People have suggested the 550c filter, but all it seems to do is spit out blank pages and partial print jobs when I print from a Winblows system to the Linux box using Samba. Someone else sent a modified filter more specific to an 870 and it just plain didn't work. And here I was thinking that making the 870 work would be just as easy as setting up an old DeskJet 520. Greetings Here's how I have configured a 870Cxi here, using lprng and magicfilter under Debian 2.0r3: 1. In my /etc/printcap, I put: lp|dj870|hpdj870cxi|color|HP Deskjet 870 Cxi @othello :lp=/dev/lp1 :if=/etc/magicfilter/dj870cxi-filter :af=/var/log/lpd/hpdj870cxi.acct :lf=/var/log/lpd/hpdj870cxi.errs :sd=/var/spool/lpd/hpdj870cxi :mx#0 :sh 2. Created directory /var/log/lpd and both files under it, with the following ownerships and permissions: drwxr-s--- 2 lp lp /var/log/lpd -rw-r- 1 lp lp /var/log/lpd/hpdj870cxi.acct -rw-r- 1 lp lp /var/log/lpd/hpdj870cxi.errs 3. Ran checkpc -f once or twice, thus automatically creating the spool directory and some files under it. 4. Created /etc/magicfilter/dj870cxi-filter starting from dj550c-filter. I am using the hpdj driver, which apparently can only print at 300x300 dpi on this printer (if anyone managed to use it for higher resolutions, I would be interested in knowing about it). You can find detailed information about its options from, ftp://ftp.pdb.sni.de/pub/utilities/misc/hpdj.html (a PostScript manual is included). I have used the hp850 driver before (installing gs-aladdin manually); this could printer at higher resolutions, but was also not totally free from problems, particularly bad reproduction of colours with low saturation. Since the version of the gs-aladdin package installed here does not include the hp850 driver, I decided to continue using hpdj for now. Here is the start of my /etc/magicfilter/dj870cxi-filter (all the remaining lines are equal to those original dj550c-filter); please note that some lines have been wrapped: each group of 4 lines starting with a 0 and having /usr/bin/gs in it is in fact a single line (a single entry) in the filter setup file.. ~~~ CUT HERE ~~ #! /usr/sbin/magicfilter # # Magic filter setup file for HP DeskJet 870 Cxi color printers with # both black and CMY cartridges installed # # This file has been created starting from the dj550c-filter of magicfilter. # Version 2.0 # José Manuel Cerqueira Esteves, 1999-01-20. # # This file has been automatically adapted to your system. # # PostScript 0 %! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=hpdj -sModel=unspec -r300x300 -sPAPERSIZE=a4 -sColorMode=CMYK -dCompressionMethod=9 -sMediaType=plain -sPrintQuality=presentation -sOutputFile=\|cat 13 - 31 12 0 \004%! filter /usr/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=hpdj -sModel=unspec -r300x300 -sPAPERSIZE=a4 -sColorMode=CMYK -dCompressionMethod=9 -sMediaType=plain -sPrintQuality=presentation -sOutputFile=\|cat 13 - 31 12 # PDF 0 %PDFfpipe /usr/bin/gs -q -dSAFER -dNOPAUSE -sDEVICE=hpdj -sModel=unspec -r300x300 -sPAPERSIZE=a4 -sColorMode=CMYK -dCompressionMethod=9 -sMediaType=plain -sPrintQuality=presentation -sOutputFile=\|cat 13 $FILE 31 12 ~~~ CUT HERE ~~ 5. After you do all this you just have to: /etc/init.d/lprng stop /etc/init.d/lprng start and try to print something... By the way, with hpdj it may be convenient to do some gamma correction (I haven't done it yet, with my current config), adding to each `gs' invocation the name of a file containing for instance ~~~ CUT HERE ~~~ %! {0.4 exp} dup dup currenttransfer setcolortransfer or ~~ CUT HERE ~~~ %! {0.4 exp} settransfer ~~~ But this you may try later on. I don't remember what used to be the preferred value of the parameter for gamma correction (0.4, above) among the users here. I used to keep this in a filed called /etc/dj870cxi_gamma_correction.ps I haven't tried Samba with my current setup yet, but did configure it a few days ago on another machine with an HP LaserJet 6L (also using lprng and magicfilter) and everything seemed to run smoothly... but only after replacing the original HP Windows drivers with a fresh set downloaded from HP (with Windows, I usually feel the need to follow a brute-force approach). It would be most desirable if printer manufacturers gave some contribution to help their printers achieve under Linux the same level of quality possible under MS-Windows (when this
Open Sound System (commercial version) and Debian
Trying to get sound support on a Toshiba 220 CS (which seems to have a Yamaha OPL3-SA3), I checked a few WWW pages on Toshiba laptops, some of which with suggestions which were quite valuable, such as http://www.cck.uni-kl.de/misc/tecra710/ and http://www.suse.de/~rj/english/tosh440CDX.html (especially the suggestions on this one sufficed to make sound work). However, being still somewhat confused about the most appropriate settings (having doubts about MPU-401 support, for instance), I downloaded an evaluation copy of the commercial OSS version from http://www.4front-tech.com/ and tried to use it instead (after, of course, installing a kernel without sound support). I believe that the message below, which I sent to 4Front via http://www.4front-tech.com/support.cgi after a failed installation, may be relevant to others trying to install the commercial version of OSS on their Debian systems. I am currently trying to tune my Debian system for use in this laptop (I have been using/installing/administrating Linux systems for several years now but this is my first laptop and I still have a lot of information to browse on APM, PCMCIA and... sound support), and will provide here any information which may be useful to other 220CS owners and/or set up a WWW page with that info (obviously, any suggestions concerning details still difficult to find in the usual documentation or Linux laptop WWW sites would be most appreciated...). J. Esteves Greetings I downloaded the evaluation version of OSS for the kernel 2.0.33, in order to try it on a Toshiba 220CS, but `oss-install' failed, giving the output reproduced below (I also append the resulting contents of soundon.log). Since I compiled the 2.0.33 kernel with the proper options for use with OSS, I tried to find the cause for this problem. The problem (or one of them) seems to be in the check_shields.sh script. This reads /usr/include/linux/autoconf.h expecting to find there information about the kernel actually installed. However, the files in /usr/include/linux/ are provided by a libc5 package (libc5-dev). This is the policy followed at least by the Debian distribution (apparently with very good reasons). Under Debian, in order to use information strongly dependent on the actual kernel installed, one should therefore analyze files under /usr/src/linux/include/linux. Adding support for this to OSS would therefore be important at least for Debian users. (Obviously, from the point of view of package management, it would also be most interesting to have the possibility to obtain the commercial OSS available as a Debian package). Since sound support is not an urgent issue for me, I will probably wait for any developments concerning this instead of temporarily making /usr/include/linux a symbolic link to /usr/src/linux/include/linux. I am, however, potentially interested in acquiring OSS when the abovementioned installation problems are corrected. By the way, I suggest that your uninstall script also takes care of removing: - /etc/oss.conf - the link /usr/lib/libOSSlib.so In addition, under Debian: - /dev/sndstat belongs to root:audio and has permissions rw-rw but your installation script makes it belong to root:root and become rw-rw-rw- ; - /dev/mixer0 (14,0) is created when there is already a /dev/mixer (with the same permissions and ownership as above); Thank you very much for your attention J. Esteves -- OUTPUT FROM .oss-install -- /root/stuff# ./oss-install Loading sndshield failed. Please read /usr/local/lib/oss/Readme for more info. sh ./check_shields.sh Error: Your kernel seems to be configured without loadable modules support. Please recompile the kernel with CONFIG_MODULES option enabled. This option can be enabled by answering to the following question: Enable loadable module support Error: Your kernel seems to be configured without loadable module versioning. Please recompile the kernel with CONFIG_MODVERSIONS option enabled. This option can be enabled by answering the following question: Set version information on all symbols for modules make: *** [sndshield] Error 255 *** Compiling sndshield failed - kernel version incompatible *** This version of OSS is not compatible with the kernel you are using See /usr/local/lib/oss/Readme for more info. Error: Your kernel seems to be configured without loadable modules support. Please recompile the kernel with CONFIG_MODULES option enabled. This option can be enabled by answering to the following question: Enable loadable module support Error: Your kernel seems to be configured without loadable module versioning. Please recompile the kernel with CONFIG_MODVERSIONS option enabled. This option can be enabled by answering the following question: Set version information on all
Re: Support for Page Scanners (ie. HP ScanJets)
On Fri, 15 Nov 1996, GREENE KENNETH ADAM wrote: This is important, so any help is greatly appreciated (I am to make a recommendation as to a complete system to handle Web pages, E-Mail and networks for a small university, and If I can get their ScanJet to work, I probably could sell them, They use Adobe Greetings The most interesting option for image acquisition with HP scanners under Linux seems to be `XVScan', which is based on John Bradley's -- This message was distributed manually by [EMAIL PROTECTED] after the list initially failed to distribute it.
Re: Support for Page Scanners (ie. HP ScanJets)
[NOTE: I am sending this again because for some strange reason only part of this message was distributed by the debian-user list...] On Fri, 15 Nov 1996, GREENE KENNETH ADAM wrote: This is important, so any help is greatly appreciated (I am to make a recommendation as to a complete system to handle Web pages, E-Mail and networks for a small university, and If I can get their ScanJet to work, I probably could sell them, They use Adobe Greetings The most interesting option for image acquisition with HP scanners under Linux seems to be `XVScan', which is based on John Bradley's `xv'. You can find information about XVScan at http://www.tummy.com/. It's not free, but you can get it for $50US (it includes source code). I haven't used it yet, but am planning to buy it (currently we only boot M$-DOS/windows when there is a need to use the acquisition and OCR software which came with our ScanJet 4c). If only there was a nice OCR package which could run under Linux... (sometimes I dream of starting such a (free OCR) project myself, but... I am aware that there would be a LOT to learn before). Let's hope HP (or some competitor) starts paying more attention to Microsoft-free environments... JM -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]