[SuSE Linux] Printing
I have an HP laserjet 1100 which can print at 300x300 and 600x600 dpi. I configured the printer and the apsfilter with YaST. It was very easy to setup the printer. I added two entries for my printer in the /etc/printcap (using YaST) one for 300x300 dpi and one for 600x600 dpi. In /etc/printcap I have 2 blocks with 3 entries each (ascii, ps and raw). The first line refers to the printer name: i.e. ascii|lp1|ljet4-a4-ascii-mono-300|ljet4 a4 ascii mono 300:\ this means that I can print an ascii file with a resolution of 00 dpi with the a2ps filter with the command lpr -P PrinterName FileToBePrinted where PrinterName is one among ascii, lp1,ljet4... The corresponding line for a 600x600 dpi resolution is ljet4-ascii|lp4|ljet4-a4-ascii-mono-600|ljet4 a4 ascii mono 600:\ The shortest way to refer to a printing mode is lpN (where N is a number), but it is quite hard to remember that lp5 correspond to a Postscript printing mode with 600x600 dpi. I tried to edit by hand the /etc/printcap file adding a name, which I can easily remember, to the lines I mentioned above. Then I restarted lpd, but then when I type lpr -P PrinterName I get a "printer unknown" message. Suggestions are welcome. Maurizio --------------------------------------- Associazione Culturale Passepartout Piazza G. Matteotti, 17 01017 Tuscania (vt) Italia fax: +39 0761 444044 tel: +39 0761 444261 e-mail: paspartu@uni.net e-mail: passepartout@newmail.net -------------------------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Maurizio Firmani wrote:
---snip---
ascii|lp1|ljet4-a4-ascii-mono-300|ljet4 a4 ascii mono 300:\
this means that I can print an ascii file with a resolution of 00 dpi with the a2ps filter with the command lpr -P PrinterName FileToBePrinted where PrinterName is one among ascii, lp1,ljet4...
The corresponding line for a 600x600 dpi resolution is
ljet4-ascii|lp4|ljet4-a4-ascii-mono-600|ljet4 a4 ascii mono 600:\
The shortest way to refer to a printing mode is lpN (where N is a number), but it is quite hard to remember that lp5 correspond to a Postscript printing mode with 600x600 dpi.
---snip--- you might try replacing the text following the ...|lp#| from ljet4-a4.... to lj300 and lj600 and see if that works. Just make sure that you back up the printcap file so you don't have rerun yast if it doesn't work. -- __ _ Mark Wagnon -o) / / (_)__ __ ____ __ Chula Vista, CA /\\/ /__/ / _ \/ // /\ \/ / <A HREF="mailto:mwagnon@ixpres.com">mailto:mwagnon@ixpres.com</A> _\_v____/_/_//_/\_,_/ /_/\_\ - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Mark Wagnon wrote:
Maurizio Firmani wrote:
---snip---
ascii|lp1|ljet4-a4-ascii-mono-300|ljet4 a4 ascii mono 300:\
this means that I can print an ascii file with a resolution of 00 dpi with the a2ps filter with the command lpr -P PrinterName FileToBePrinted where PrinterName is one among ascii, lp1,ljet4...
The corresponding line for a 600x600 dpi resolution is
ljet4-ascii|lp4|ljet4-a4-ascii-mono-600|ljet4 a4 ascii mono 600:\
[snip] As someone else has already posted, the Okidata E-6 is a VERY good buy! Easy to setup in Yast, and excellent copy.....even large solid areas and large photos....NO banding in the photos I printed. Fred - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
On Tue, 29 Dec 1998, you wrote:
you might try replacing the text following the ...|lp#| from ljet4-a4.... to lj300 and lj600 and see if that works. Just make sure that you back up the printcap file so you don't have rerun yast if it doesn't work.
That is exactly what I did, but as I mentioned on my mail, I got a "printer unknown" message. I can use any of the printer name in the printcap generated by YaST and have a correct print, but if I edit such a file (and then restart lpd, of course) inserting some more entries like lj3 or lj6, then all I have is a "printer unknown" message. Maurizio --------------------------------------- Associazione Culturale Passepartout Piazza G. Matteotti, 17 01017 Tuscania (vt) Italia fax: +39 0761 444044 tel: +39 0761 444261 e-mail: paspartu@uni.net e-mail: passepartout@newmail.net -------------------------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
Maurizio Firmani wrote:
On Tue, 29 Dec 1998, you wrote:
you might try replacing the text following the ...|lp#| from ljet4-a4.... to lj300 and lj600 and see if that works. Just make sure that you back up the printcap file so you don't have rerun yast if it doesn't work.
That is exactly what I did, but as I mentioned on my mail, I got a "printer unknown" message. I can use any of the printer name in the printcap generated by YaST and have a correct print, but if I edit such a file (and then restart lpd, of course) inserting some more entries like lj3 or lj6, then all I have is a "printer unknown" message.
That's because if you don't run YaST there won't be a printer filter to go with the new printcap entry. If you really don't want to run YaST you can just run instead./var/lib/apsfilter/apsfilter.setup instead. But if you change the definition of the printer (including the resolution) then you must do one of these two. Ralph -- rclark@virgosolutions.demon.co.uk Ralph Clark, Virgo Solutions Ltd (UK) __ _ / / (_)__ __ ____ __ * Powerful * Flexible * Compatible * Reliable * / /__/ / _ \/ // /\ \/ / *Well Supported * Thousands of New Users Every Day* /____/_/_//_/\_,_/ /_/\_\ The Cost Effective Choice - Linux Means Business! - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
On 29-Dec-98 Maurizio Firmani wrote:
On Tue, 29 Dec 1998, you wrote:
you might try replacing the text following the ...|lp#| from ljet4-a4.... to lj300 and lj600 and see if that works. Just make sure that you back up the printcap file so you don't have rerun yast if it doesn't work.
That is exactly what I did, but as I mentioned on my mail, I got a "printer unknown" message. I can use any of the printer name in the printcap generated by YaST and have a correct print, but if I edit such a file (and then restart lpd, of course) inserting some more entries like lj3 or lj6, then all I have is a "printer unknown" message.
Maurizio
/etc/printcap is read every time lpd has to take action so no need to restart the daemon, i think your problem is quite certainly syntax problem. Have you checked out your modifies ? I've done the same with my Hp Lasejet 6P printer and all was good. Hoping tobe helpfull. ---------------------------------- E-Mail: Massimo Lusetti <m.lusetti@mo.nettuno.it> Date: 29-Dec-98 Time: 17:29:00 Simply hate tag-lines... no more bandwidth waste ---------------------------------- - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
You used the wrong printer name or /etc/printcap is not formated right. charles theverge.com - To get out of this list, please send email to majordomo@suse.com with this text in its body: unsubscribe suse-linux-e Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the archiv at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
participants (6)
-
charlesiii@theverge.com
-
fmiller@lightlink.com
-
m.lusetti@mo.nettuno.it
-
mwagnon@ixpres.com
-
paspartu@uni.net
-
rclark@virgosolutions.demon.co.uk