Re: Dj660c-filter and stepping
Hi Bob, My answer to your question is no and yes. No, I don't have gs installed by the time I learn the command. When I read the /etc/magicfilter/dj550c-filter I found 2 lines that goes with gs, then I know for PostScript printing it requires GhostScript. At first, I don't know what are the difference between gs and gs-aladdin package. I downloaded 2 and installed 2 by typing gs the screen freezes at a white blank page. After I studied the dpkg --info of these 2 packages I realized that they are in conflict to each other from there I selected gs-aladdin instead of gs. Now I have gs (aladdin) installed, but doing ' gs ' or ' gs Tutorial.ps ' or ' gs -sDEVICE=cdj550 Tutorial.ps ' I got Unknown paper size:(A4). Unrecoverable error: stack under flow in dup. Unexpected interpreter error -17 Error object: dup(d84)name(0x818b1e8#508) Execution stack at 0x818850c: (numbers, offsets and codes same for the above commands) Dictionary stack at 0x8188434: (numbers, offsets and codes same for the above commands) What's wrong with it ? I have Debian 2.0.34 with base installation on it (no Window Maker, nor X windows. Because I want to learn from the basic and am trying to compile the kernel to suit my personal needs. But before that I need to read the docs about kernel compile by printing it on papers.) From the install.txt.gz file of gs-aladdin, it says ( in the Unix section ) we have to compile the source. Do I really have to do it ? Isn't all the executables in the package are ready to go ? Thanks Bob Alan Bob Nielsen wrote: Do you have gs (or preferably gs-aladdin) installed? That is necessary for the man -t output to print, since -t converts it to PostScript. Keep at it and you will soon learn the Unix/Linux commands. Most of us started from a DOS background. Bob On Wed, 18 Nov 1998, Alan Tam wrote: Hi Bob, Thank you for your info, but the command ' man -t printcap|lpr ' didn't work. With your hint I tried ' man printcap|lpr ' it works. Printing perfectly without any stepping at all. Thanks anyway. Since I am new to Linux, I don't know the command style in Unix/GNU/Linux. Now I know the symbol '|' means piping. In Dos I usually use 'type printcap lpt1' and that will print to the printer. Thank you. Alan On Tue, 17 Nov 1998, Alan Tam wrote: Hi all, Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 The reason you are getting the stepping is that this is going as raw data to the printer, not through any filter. You need to pipe it through lpr, not send it directly to /dev/lp1. The ghostscript printer compatibility page (http://www.cs.wisc.edu/~ghost/printer.html) indicates that the cdj550 driver (which is called by dj550c-filter) is the correct one to use with the 660C, so you should use the dj550c-filter in magicfilter. To print a man page, use 'man -t printcap|lpr'. From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? The easy way is to let magicfilter do the work for you. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen
Re: Dj660c-filter and stepping
-BEGIN PGP SIGNED MESSAGE- Alan, There is a bit more to it than typing 'gs something.ps'. You should print practically everything using the magicfilter entry. Just type 'lpr filename.ps'. gs-aladdin is a newer version than plain gs (it has a slightly more restrictive license). It is pre-compiled in the Debian package. Did you also install gs-fonts? If you use dselect or apt-get, you will avoid (or at least minimize) dependency problems. Bob On Thu, 19 Nov 1998, Alan Tam wrote: Hi Bob, My answer to your question is no and yes. No, I don't have gs installed by the time I learn the command. When I read the /etc/magicfilter/dj550c-filter I found 2 lines that goes with gs, then I know for PostScript printing it requires GhostScript. At first, I don't know what are the difference between gs and gs-aladdin package. I downloaded 2 and installed 2 by typing gs the screen freezes at a white blank page. After I studied the dpkg --info of these 2 packages I realized that they are in conflict to each other from there I selected gs-aladdin instead of gs. Now I have gs (aladdin) installed, but doing ' gs ' or ' gs Tutorial.ps ' or ' gs -sDEVICE=cdj550 Tutorial.ps ' I got Unknown paper size:(A4). Unrecoverable error: stack under flow in dup. Unexpected interpreter error -17 Error object: dup(d84)name(0x818b1e8#508) Execution stack at 0x818850c: (numbers, offsets and codes same for the above commands) Dictionary stack at 0x8188434: (numbers, offsets and codes same for the above commands) What's wrong with it ? I have Debian 2.0.34 with base installation on it (no Window Maker, nor X windows. Because I want to learn from the basic and am trying to compile the kernel to suit my personal needs. But before that I need to read the docs about kernel compile by printing it on papers.) From the install.txt.gz file of gs-aladdin, it says ( in the Unix section ) we have to compile the source. Do I really have to do it ? Isn't all the executables in the package are ready to go ? Thanks Bob Alan Bob Nielsen wrote: Do you have gs (or preferably gs-aladdin) installed? That is necessary for the man -t output to print, since -t converts it to PostScript. Keep at it and you will soon learn the Unix/Linux commands. Most of us started from a DOS background. Bob On Wed, 18 Nov 1998, Alan Tam wrote: Hi Bob, Thank you for your info, but the command ' man -t printcap|lpr ' didn't work. With your hint I tried ' man printcap|lpr ' it works. Printing perfectly without any stepping at all. Thanks anyway. Since I am new to Linux, I don't know the command style in Unix/GNU/Linux. Now I know the symbol '|' means piping. In Dos I usually use 'type printcap lpt1' and that will print to the printer. Thank you. Alan On Tue, 17 Nov 1998, Alan Tam wrote: Hi all, Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 The reason you are getting the stepping is that this is going as raw data to the printer, not through any filter. You need to pipe it through lpr, not send it directly to /dev/lp1. The ghostscript printer compatibility page (http://www.cs.wisc.edu/~ghost/printer.html) indicates that the cdj550 driver (which is called by dj550c-filter) is the correct one to use with the 660C, so you should use the dj550c-filter in magicfilter. To print a man page, use 'man -t printcap|lpr'. From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? The easy way is to let magicfilter do the work for you. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen - Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen -BEGIN PGP
Re: Dj660c-filter and stepping
Hi Bob, I have installed gs-fonts as well. I don't know how to use dselect (and apart from that there are a lot of questions being asked about dselect), I use dpkg instead. Dependency is not a problem for me since the Debian site manage the dependencies very well and on installation the packages will remind me if I get something missed out. Now I've tried ' man -t printcap | lpr ' it works well and also ' lpr Tutorial.ps ' (the tutorial file in /usr/doc/lprng-doc) All worked well. Thank you. Thank you very much. Alan Bob Nielsen wrote: -BEGIN PGP SIGNED MESSAGE- Alan, There is a bit more to it than typing 'gs something.ps'. You should print practically everything using the magicfilter entry. Just type 'lpr filename.ps'. gs-aladdin is a newer version than plain gs (it has a slightly more restrictive license). It is pre-compiled in the Debian package. Did you also install gs-fonts? If you use dselect or apt-get, you will avoid (or at least minimize) dependency problems. Bob On Thu, 19 Nov 1998, Alan Tam wrote: Hi Bob, My answer to your question is no and yes. No, I don't have gs installed by the time I learn the command. When I read the /etc/magicfilter/dj550c-filter I found 2 lines that goes with gs, then I know for PostScript printing it requires GhostScript. At first, I don't know what are the difference between gs and gs-aladdin package. I downloaded 2 and installed 2 by typing gs the screen freezes at a white blank page. After I studied the dpkg --info of these 2 packages I realized that they are in conflict to each other from there I selected gs-aladdin instead of gs. Now I have gs (aladdin) installed, but doing ' gs ' or ' gs Tutorial.ps ' or ' gs -sDEVICE=cdj550 Tutorial.ps ' I got Unknown paper size:(A4). Unrecoverable error: stack under flow in dup. Unexpected interpreter error -17 Error object: dup(d84)name(0x818b1e8#508) Execution stack at 0x818850c: (numbers, offsets and codes same for the above commands) Dictionary stack at 0x8188434: (numbers, offsets and codes same for the above commands) What's wrong with it ? I have Debian 2.0.34 with base installation on it (no Window Maker, nor X windows. Because I want to learn from the basic and am trying to compile the kernel to suit my personal needs. But before that I need to read the docs about kernel compile by printing it on papers.) From the install.txt.gz file of gs-aladdin, it says ( in the Unix section ) we have to compile the source. Do I really have to do it ? Isn't all the executables in the package are ready to go ? Thanks Bob Alan Bob Nielsen wrote: Do you have gs (or preferably gs-aladdin) installed? That is necessary for the man -t output to print, since -t converts it to PostScript. Keep at it and you will soon learn the Unix/Linux commands. Most of us started from a DOS background. Bob On Wed, 18 Nov 1998, Alan Tam wrote: Hi Bob, Thank you for your info, but the command ' man -t printcap|lpr ' didn't work. With your hint I tried ' man printcap|lpr ' it works. Printing perfectly without any stepping at all. Thanks anyway. Since I am new to Linux, I don't know the command style in Unix/GNU/Linux. Now I know the symbol '|' means piping. In Dos I usually use 'type printcap lpt1' and that will print to the printer. Thank you. Alan On Tue, 17 Nov 1998, Alan Tam wrote: Hi all, Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 The reason you are getting the stepping is that this is going as raw data to the printer, not through any filter. You need to pipe it through lpr, not send it directly to /dev/lp1. The ghostscript printer compatibility page (http://www.cs.wisc.edu/~ghost/printer.html) indicates that the cdj550 driver (which is called by dj550c-filter) is the correct one to use with the 660C, so you should use the dj550c-filter in magicfilter. To print a man page, use 'man -t printcap|lpr'. From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as
Re: Dj660c-filter and stepping
Hi Joseph, Thank you for your suggestion. I've solved my printing problem from the hints given by Bob and Hernan. There is a dj550c-filter in the magicfilter package from Debian and replace the last command with ' default text ' as instructed by the installer and that is it. It works fine now. Thank you. Joseph Hartmann wrote: Resent-Date: 16 Nov 1998 11:07:17 - Resent-Cc: recipient list not shown: ; X-Envelope-Sender: [EMAIL PROTECTED] Date: Tue, 17 Nov 1998 00:08:27 +1200 From: Alan Tam [EMAIL PROTECTED] X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: jkGBjD.A.wlG.kdAU2@murphy Resent-From: debian-user@lists.debian.org X-Mailing-List: debian-user@lists.debian.org archive/latest/25492 X-Loop: debian-user@lists.debian.org Precedence: list Resent-Sender: [EMAIL PROTECTED] Hi all, Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? Thank you. Alan Tam -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null One way to do this is to purchase the Technical Reference from Hp. I bought one for my Hp Inkjet 540 for $16. In the manual it explained to me how to stop the staircasing effect. joeh -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null
Re: Dj660c-filter and stepping
Hi Hernan, Thank you for your info, but the command ' man printcap | /etc/filter.pcl /dev/lp1 ' didn't work. I got a permission denied error. With you and Bob's hint I tried ' man printcap|lpr ' it works. Printing perfectly without any stepping at all. Thank you. Alan Alan : There is a filter for avoid the star-stepping effect : /etc/filter.pcl Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 just do man printcap | /etc/filter.pcl /dev/lp1 From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? Thank you. Alan Tam Hernán. Hernán J Cervantes Rodríguez Instituto de Física da USP e-mail : [EMAIL PROTECTED] homepage : http://fge.if.usp.br/~hernan/
Re: Dj660c-filter and stepping
Hi Bob, Thank you for your info, but the command ' man -t printcap|lpr ' didn't work. With your hint I tried ' man printcap|lpr ' it works. Printing perfectly without any stepping at all. Thanks anyway. Since I am new to Linux, I don't know the command style in Unix/GNU/Linux. Now I know the symbol '|' means piping. In Dos I usually use 'type printcap lpt1' and that will print to the printer. Thank you. Alan On Tue, 17 Nov 1998, Alan Tam wrote: Hi all, Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 The reason you are getting the stepping is that this is going as raw data to the printer, not through any filter. You need to pipe it through lpr, not send it directly to /dev/lp1. The ghostscript printer compatibility page (http://www.cs.wisc.edu/~ghost/printer.html) indicates that the cdj550 driver (which is called by dj550c-filter) is the correct one to use with the 660C, so you should use the dj550c-filter in magicfilter. To print a man page, use 'man -t printcap|lpr'. From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? The easy way is to let magicfilter do the work for you. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen
Re: Dj660c-filter and stepping
Do you have gs (or preferably gs-aladdin) installed? That is necessary for the man -t output to print, since -t converts it to PostScript. Keep at it and you will soon learn the Unix/Linux commands. Most of us started from a DOS background. Bob On Wed, 18 Nov 1998, Alan Tam wrote: Hi Bob, Thank you for your info, but the command ' man -t printcap|lpr ' didn't work. With your hint I tried ' man printcap|lpr ' it works. Printing perfectly without any stepping at all. Thanks anyway. Since I am new to Linux, I don't know the command style in Unix/GNU/Linux. Now I know the symbol '|' means piping. In Dos I usually use 'type printcap lpt1' and that will print to the printer. Thank you. Alan On Tue, 17 Nov 1998, Alan Tam wrote: Hi all, Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 The reason you are getting the stepping is that this is going as raw data to the printer, not through any filter. You need to pipe it through lpr, not send it directly to /dev/lp1. The ghostscript printer compatibility page (http://www.cs.wisc.edu/~ghost/printer.html) indicates that the cdj550 driver (which is called by dj550c-filter) is the correct one to use with the 660C, so you should use the dj550c-filter in magicfilter. To print a man page, use 'man -t printcap|lpr'. From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? The easy way is to let magicfilter do the work for you. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen
Re: Dj660c-filter and stepping
Resent-Date: 16 Nov 1998 11:07:17 - Resent-Cc: recipient list not shown: ; X-Envelope-Sender: [EMAIL PROTECTED] Date: Tue, 17 Nov 1998 00:08:27 +1200 From: Alan Tam [EMAIL PROTECTED] X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Resent-Message-ID: jkGBjD.A.wlG.kdAU2@murphy Resent-From: debian-user@lists.debian.org X-Mailing-List: debian-user@lists.debian.org archive/latest/25492 X-Loop: debian-user@lists.debian.org Precedence: list Resent-Sender: [EMAIL PROTECTED] Hi all, Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? Thank you. Alan Tam -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null One way to do this is to purchase the Technical Reference from Hp. I bought one for my Hp Inkjet 540 for $16. In the manual it explained to me how to stop the staircasing effect. joeh
Re: Dj660c-filter and stepping
Alan : There is a filter for avoid the star-stepping effect : /etc/filter.pcl Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 just do man printcap | /etc/filter.pcl /dev/lp1 From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? Thank you. Alan Tam Hernán. Hernán J Cervantes Rodríguez Instituto de Física da USP e-mail : [EMAIL PROTECTED] homepage : http://fge.if.usp.br/~hernan/
Re: Dj660c-filter and stepping
On Tue, 17 Nov 1998, Alan Tam wrote: Hi all, Is there a filter for HP Deskjet 660C in the Debian Packages ? So far I can get from magicfilter_1.2-24.deb is dj550c-filter. I am trying to print the manual pages through my HP Deskjet 660c. A question on how to eliminate the stepping effect when I issue the command man printcap /dev/lp1 The reason you are getting the stepping is that this is going as raw data to the printer, not through any filter. You need to pipe it through lpr, not send it directly to /dev/lp1. The ghostscript printer compatibility page (http://www.cs.wisc.edu/~ghost/printer.html) indicates that the cdj550 driver (which is called by dj550c-filter) is the correct one to use with the 660C, so you should use the dj550c-filter in magicfilter. To print a man page, use 'man -t printcap|lpr'. From the Printing-HowTo, there is an example #!perl #The above line should really have the whole path to perl #This script must be executable: chmod 755 filter while (STDIN){chop $_; print $_\r\n;); #You might also want to end with a form feed: print \f; Should I leave the STDIN as is or replace it with lp1 or something else ? The easy way is to let magicfilter do the work for you. Bob Bob Nielsen Internet: [EMAIL PROTECTED] Tucson, AZ AMPRnet: [EMAIL PROTECTED] DM42nh http://www.primenet.com/~nielsen