Re: [opensuse-amd64] Printing woes under 10.2
Thank you for your suggestion. I will look into it. When I get the garbled printout --at least in some cases where I retained the initial sheet, I do see %!PS-Adobe-3.0 printed (most probably out of Firefox), so maybe the filter is not prepared for it. I need to investigate what initialization string kghostview outputs. Maybe the filter expects PS- Adobe 3.1. I think trapping the output of kghostview (which works) may solve the mystery. CF David Gluss wrote:
Yes, that's the issue.
I used to know how the queue worked, but I believe that the filters would still look for a particular set of characters at the beginning of the print job to decide what to do. So that if the job begins with #%PS-Adobe, for example, a postscript filter would be invoked; that is the string used by e.g. enscript (see /etc/enscript.cfg). Maybe the filter looks for PS-Adobe-3.0 and Netscape is printing PS-Adobe-3.1 or some such?
David Gluss 408 866 4125 x307 -----Original Message----- From: Constantine 'Gus' Fantanas [mailto:fantanas@innocent.com] Sent: Saturday, April 21, 2007 11:36 AM To: David Gluss Cc: opensuse-amd64@opensuse.org Subject: Re: [opensuse-amd64] Printing woes under 10.2
David Gluss wrote:
Doesn't the Laserjet have a built-in Postscript interpreter?
DG
--I don't know. If it does have a built-in Postscript interpreter, that should not mean that foomatic-rip is totally bypassed. Am I correct? Foomatic-rip should decide to basically do nothing, but foomatic-rip should still be invoked. Now, if foomatic-rip at work behaves the way it does at home when I try to print a file from within Firefox or Acrobat Reader (getting the arguments garbled and passing raw PS commands to the printer), that would conceal the problem I am having because the printer at work understands Postscript. So, the SuSE 10.2 at work may still have the same problem, but I am lucky because the printer understands Postscript. Interesting theory! In such a case, analyzing the pertinent configuration files from work would probably not solve my problem at home.
CF
-----Original Message----- From: Constantine 'Gus' Fantanas [mailto:fantanas@innocent.com] Sent: Thursday, April 19, 2007 9:21 PM To: Klaus Singvogel; opensuse-amd64@opensuse.org Subject: Re: [opensuse-amd64] Printing woes under 10.2
Hi,
I have no news because I was tied up with work and have not been able to try your suggestions. I am planning to do something about this issue over the weekend. I remember facing the same problem when I tried to print a PDF file from inside Acrobat Reader; again no problem
when the file was opened with and printed from kghostview.
One other thing I would like to mention is that at work I have set up a Linux server for a lab. It runs 64-bit OpenSuSE 10.2 on an Intel Core 2 Duo. I don't have any problem printing at work. Sure, the printer is different (Laserjet at work vs. my 8450 Inkjet at home), but my problems at home seem to be related to the arguments passed to and/or parsed by the foomatic filter, not with the PPD file. The major difference I see between the two machines (aside from the processors) is that on my machine at home I started with SuSE 9.1, then upgraded to 9.2, 9.3, 10.0, skipped 10.1 and, finally, upgraded to 10.2. On the machine at work, I started with OpenSuSE 10.1 and then upgraded to 10.2. So,I begin to suspect that something may have not been updated right on my machine at home, where I see the problem.
Since I have access to the lab server at work, I will compare the configuration files for CUPS and foomatic-rip between the two machines, as well as firefox settings. Something has GOT to be
different!
CF ......... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
-- Running 64-bit Linux on AMD64
-- Running 64-bit Linux on AMD64 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
Hi. Strange, but I might have missed David Gluss reply on [opensuse-amd64]... There is a special filter in cups for netscape-ps. It is configured in /etc/cups/mime.convs. Please add a "#" sign (single char - without double quotes) as first character of the following line in /etc/cups/mime.convs to disable this filter: application/netscape-ps application/postscript 33 ogonki Additional you _could_ remove the appropriate lines (2 lines) in /etc/cups/mime.types, but this should usually not be necessary. Regards, Klaus. Constantine 'Gus' Fantanas wrote:
Thank you for your suggestion. I will look into it. When I get the garbled printout --at least in some cases where I retained the initial sheet, I do see %!PS-Adobe-3.0 printed (most probably out of Firefox), so maybe the filter is not prepared for it. I need to investigate what initialization string kghostview outputs. Maybe the filter expects PS- Adobe 3.1. I think trapping the output of kghostview (which works) may solve the mystery.
CF
David Gluss wrote:
Yes, that's the issue.
I used to know how the queue worked, but I believe that the filters would still look for a particular set of characters at the beginning of the print job to decide what to do. So that if the job begins with #%PS-Adobe, for example, a postscript filter would be invoked; that is the string used by e.g. enscript (see /etc/enscript.cfg). Maybe the filter looks for PS-Adobe-3.0 and Netscape is printing PS-Adobe-3.1 or some such?
David Gluss 408 866 4125 x307 -----Original Message----- From: Constantine 'Gus' Fantanas [mailto:fantanas@innocent.com] Sent: Saturday, April 21, 2007 11:36 AM To: David Gluss Cc: opensuse-amd64@opensuse.org Subject: Re: [opensuse-amd64] Printing woes under 10.2
David Gluss wrote:
Doesn't the Laserjet have a built-in Postscript interpreter?
DG
--I don't know. If it does have a built-in Postscript interpreter, that should not mean that foomatic-rip is totally bypassed. Am I correct? Foomatic-rip should decide to basically do nothing, but foomatic-rip should still be invoked. Now, if foomatic-rip at work behaves the way it does at home when I try to print a file from within Firefox or Acrobat Reader (getting the arguments garbled and passing raw PS commands to the printer), that would conceal the problem I am having because the printer at work understands Postscript. So, the SuSE 10.2 at work may still have the same problem, but I am lucky because the printer understands Postscript. Interesting theory! In such a case, analyzing the pertinent configuration files from work would probably not solve my problem at home.
CF
-----Original Message----- From: Constantine 'Gus' Fantanas [mailto:fantanas@innocent.com] Sent: Thursday, April 19, 2007 9:21 PM To: Klaus Singvogel; opensuse-amd64@opensuse.org Subject: Re: [opensuse-amd64] Printing woes under 10.2
Hi,
I have no news because I was tied up with work and have not been able to try your suggestions. I am planning to do something about this issue over the weekend. I remember facing the same problem when I tried to print a PDF file from inside Acrobat Reader; again no problem
when the file was opened with and printed from kghostview.
One other thing I would like to mention is that at work I have set up a Linux server for a lab. It runs 64-bit OpenSuSE 10.2 on an Intel Core 2 Duo. I don't have any problem printing at work. Sure, the printer is different (Laserjet at work vs. my 8450 Inkjet at home), but my problems at home seem to be related to the arguments passed to and/or parsed by the foomatic filter, not with the PPD file. The major difference I see between the two machines (aside from the processors) is that on my machine at home I started with SuSE 9.1, then upgraded to 9.2, 9.3, 10.0, skipped 10.1 and, finally, upgraded to 10.2. On the machine at work, I started with OpenSuSE 10.1 and then upgraded to 10.2. So,I begin to suspect that something may have not been updated right on my machine at home, where I see the problem.
Since I have access to the lab server at work, I will compare the configuration files for CUPS and foomatic-rip between the two machines, as well as firefox settings. Something has GOT to be
different!
CF ......... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
-- Running 64-bit Linux on AMD64
-- Running 64-bit Linux on AMD64
--------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
-- Klaus Singvogel SUSE LINUX Products GmbH Maxfeldstr. 5 E-Mail: Klaus.Singvogel@SuSE.de 90409 Nuernberg Phone: +49 (0) 911 740530 Germany GnuPG-Key-ID: 1024R/5068792D 1994-06-27 SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-amd64+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-amd64+help@opensuse.org
participants (2)
-
Constantine 'Gus' Fantanas
-
Klaus Singvogel