From: Robert K. <rl...@al...> - 2017-12-27 20:02:37
|
I'm finally biting the bullet and working on color laser printer support. It actually doesn't look very hard. I'm off through January 1, so I have time to play around with this in addition to some other projects (not Gutenprint) that I'm doing over the break. I've done the changes to pcl-unprint to support color laser output, at least in simple cases (which should be all we need). We don't really need to do things like use different compression algorithms on different rows; we can stick with using simple RLE compression at least for now. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Robert K. <rl...@al...> - 2017-12-28 17:53:03
|
On Wed, 27 Dec 2017 15:02:24 -0500 (EST), Robert Krawitz wrote: > I'm finally biting the bullet and working on color laser printer > support. It actually doesn't look very hard. I'm off through January > 1, so I have time to play around with this in addition to some other > projects (not Gutenprint) that I'm doing over the break. > > I've done the changes to pcl-unprint to support color laser output, at > least in simple cases (which should be all we need). We don't really > need to do things like use different compression algorithms on > different rows; we can stick with using simple RLE compression at > least for now. OK, I've bench tested it using the GIMP plugin and run-testpattern-2, using pcl-unprint, but I don't actually have a color laser printer to try it out on. Could someone with a color laser printer pull the latest bits and try it (using the appropriate generic color laser printer driver)? There are some tweaking/improvements I can do using the features provided by PCL, but I'd at least like to establish that the basics are working. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Solomon P. <pi...@sh...> - 2017-12-28 18:41:53
Attachments:
signature.asc
|
On Thu, Dec 28, 2017 at 12:52:49PM -0500, Robert Krawitz wrote: > OK, I've bench tested it using the GIMP plugin and run-testpattern-2, > using pcl-unprint, but I don't actually have a color laser printer to > try it out on. Could someone with a color laser printer pull the > latest bits and try it (using the appropriate generic color laser > printer driver)? I have access to two different models of HP color laser printers at the office (MFP M680 and CP5225DN). Both support both PCL and PostScript. I will do a quick build and test-print (via gimp plugin) and see what happens.. - Solomon -- Solomon Peachy pizza at shaftnet dot org Coconut Creek, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |
From: Robert K. <rl...@al...> - 2017-12-29 21:55:19
|
On Fri, 29 Dec 2017 16:34:27 -0500, Solomon Peachy wrote: > On Fri, Dec 29, 2017 at 10:26:48AM -0500, Solomon Peachy wrote: >> (I have a monochrome Brother HL-5340 at home, nominally supporting PS >> level 3 and PCL6. I'll try sending it a gutenprint-generated PCL5e >> raster to see what happens. Might as well find out how well the >> Gutenprint PS driver works too!) > > It looks like Gutenprint's PCL5 greyscale output works on this model. > Quality's not so hot though; standard cupsfilter output (JPG->PS) looks > a lot better. Try some of the other dither algorithms (in particular, VeryFast and Fast). What about color output? -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Solomon P. <pi...@sh...> - 2017-12-30 13:44:33
Attachments:
signature.asc
|
On Fri, Dec 29, 2017 at 04:55:04PM -0500, Robert Krawitz wrote: > Try some of the other dither algorithms (in particular, VeryFast and > Fast). Two things I've noticed so far. When using "Automatic" and "Standard" resolution and quality settings, the dithering shows visible artifacts. Switching dithering modes helps a lot with these settings. But at higher quality modes the dithering looks much better -- but we're putting down _way_ too much toner. When using 600dpi and high quality, dialing the density to 0.8 and contrast to 0.4 looks a lot better but still nowhere near the quality of the built-in Postscript RIP, with a visible "window screen" sort of artifacting visible no matter what dithering mode I select. Oh, I'm using a very high resolution (35Mpix) source image, so the image is being scaled down by the respective RIPs, but if I downscale it to ~1.5Mpix before printing, the output still shows the artifacts. If I print with PS I also get to use "HQ 1200 dpi" and "high quality image" settings, which further improves the PS output. I can scan this stuff in if you're interested. (I'm using 'lpr -o whatever image.jpg' on the cmdline for all of this stuff btw.) > What about color output? It's only a B&W model, alas. - Solomon -- Solomon Peachy pizza at shaftnet dot org Coconut Creek, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |
From: Robert K. <rl...@al...> - 2017-12-30 03:05:51
|
On Fri, 29 Dec 2017 10:26:48 -0500, Solomon Peachy wrote: > On Fri, Dec 29, 2017 at 08:56:05AM -0500, Solomon Peachy wrote: >> There's also a pile of Brother Laser printers that could probably be >> added, but figuring out which ones support PCL5c is going to be a bit of >> a PITA. The old rule of thumb was that the 1xxx and 2xxx series were >> GDI, whereas the rest usually supported both PCL (5c and 6) as well as >> Postscript, but it looks like more recent models have all dropped PCL5c, >> and some of the 2xxx series support PCL6 too. > > It's worse. 1xxx were always GDI, 2xxx were usually GDI but someimes > GDI+PCL, 3xxx tended to be PCL, 4xxx and up were PCL+PS. Sometimes > PCL5c or PCL5e, Sometimes PCL6, sometimes both. PS level 2 or 3 > depending on the age -- and Brother's PS level 3 interpreter has a > long-standing bug involving implicit EOF markers with compressed > streams. > > And then there's the question of what exactly "PCL6" means in this > context, given that could mean "PCL6 Standard" which is essentially just > a renamed PCL5e/PCL5c. Even "PCL6 Enchanced" (aka PCL-XL) has several > sub-variations, though Gutenprint probably wouldn't care about any of > the differences other than optionally utilizing the class 3.0 halftoning > enhancements. Yep. PCL seems to be a whole mad world unto itself. Speaking of which, I've gone ahead and added all those other printers (I'm going to test the PPD files, then push). They're all tagged "UNTESTED Automatically Generated" so we can remove any/all of them (or find some other way to eliminate them, at least in the interim) if needed. Pushing them will be the only way to get them tested. I'm debating what to do on the 5.2 branch, though. And that (along with maybe cleanup of test-rastertogutenprint) will be it for my break. I still have a few other things I need to do before back to work on Tuesday. > Brother appears to use use PCL5e and PCL6 interchangeably for monochrome > printers, and for color printers, sometimes PCL6 is explicitly listed as > monochrome-only whether or not PCL5c is listed. > > (I have a monochrome Brother HL-5340 at home, nominally supporting PS > level 3 and PCL6. I'll try sending it a gutenprint-generated PCL5e > raster to see what happens. Might as well find out how well the > Gutenprint PS driver works too!) > >> What a mess.. > > Even a decade after starting to peek under the skirts of how printers > actually work, I still find new ways to be amazed/dismayed.. That's one way to put it. Till and I have been doing this stuff even longer. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Solomon P. <pi...@sh...> - 2017-12-30 12:13:12
Attachments:
signature.asc
|
On Fri, Dec 29, 2017 at 10:05:32PM -0500, Robert Krawitz wrote: > Speaking of which, I've gone ahead and added all those other printers > (I'm going to test the PPD files, then push). They're all tagged > "UNTESTED Automatically Generated" so we can remove any/all of them > (or find some other way to eliminate them, at least in the interim) if > needed. Pushing them will be the only way to get them tested. I'm > debating what to do on the 5.2 branch, though. BTW, here's a partial (network-enabled only, and incomplete at that) list of the Brother printers that support PCL. I believe they are all Letter/A4 size: DCP-8065DN DCP-8080DN DCP-8085DN DCP-8110DN DCP-8150DN DCP-8155DN DCP-L2540DW DCP-L5500DN DCP-L5600DN DCP-L5650DN MFC-7840W MFC-7860DW MFC-8460N MFC-8480DN MFC-8510DN MFC-8660DN MFC-8670DN MFC-8680DN MFC-8690DW MFC-8710DW MFC-8810DW MFC-8860DN MFC-8870DW MFC-8890DW MFC-8910DW MFC-8950DW MFC-8950DWT MFC-L2720DW MFC-L2740DW MFC-L5700DW MFC-L5800DW MFC-L5850DW MFC-L5900DW MFC-L6700DW MFC-L6750DW MFC-L6800DW MFC-L6900DW HL-2170W HL-2270DW HL-2275DW HL-2280DW HL-3170CDW HL-5250DN HL-5250DNT HL-5280DW HL-5350DN HL-5370DW HL-5370DWT HL-5450DN HL-5470DW HL-5470DWT HL-6180DW HL-6180DWT HL-L2360DW HL-L2380DW HL-L5100DN HL-L5200DW HL-L5200DWT HL-L6200DW HL-L6200DWT HL-L6250DW HL-L6300DW HL-L6400DW HL-L6400DWT I can add them all en-masse if you'd like.. - Solomon -- Solomon Peachy pizza at shaftnet dot org Coconut Creek, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |
From: Robert K. <rl...@al...> - 2017-12-28 18:43:43
|
On Thu, 28 Dec 2017 13:41:45 -0500, Solomon Peachy wrote: > On Thu, Dec 28, 2017 at 12:52:49PM -0500, Robert Krawitz wrote: >> OK, I've bench tested it using the GIMP plugin and run-testpattern-2, >> using pcl-unprint, but I don't actually have a color laser printer to >> try it out on. Could someone with a color laser printer pull the >> latest bits and try it (using the appropriate generic color laser >> printer driver)? > > I have access to two different models of HP color laser printers at the > office (MFP M680 and CP5225DN). Both support both PCL and PostScript. > > I will do a quick build and test-print (via gimp plugin) and see what > happens.. Thanks! -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Solomon P. <pi...@sh...> - 2017-12-28 19:12:03
Attachments:
signature.asc
IMG_20171228_140516.jpg
|
On Thu, Dec 28, 2017 at 01:43:34PM -0500, Robert Krawitz wrote: > > I will do a quick build and test-print (via gimp plugin) and see what > > happens.. > > Thanks! It looks like it worked! Every option was default except for the page size -- Letter for one, Tabloid for the other. Using "Generic PCL color Laser" and the "LF" variant. - Solomon -- Solomon Peachy pizza at shaftnet dot org Coconut Creek, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |
From: Robert K. <rl...@al...> - 2017-12-28 19:20:41
|
On Thu, 28 Dec 2017 14:11:52 -0500, Solomon Peachy wrote: > On Thu, Dec 28, 2017 at 01:43:34PM -0500, Robert Krawitz wrote: >> > I will do a quick build and test-print (via gimp plugin) and see what >> > happens.. >> >> Thanks! > > It looks like it worked! Every option was default except for the page > size -- Letter for one, Tabloid for the other. Using "Generic PCL color > Laser" and the "LF" variant. Well, that's good news. What's the quality like? Till, can you get me a list of PCL color laser printers (either in the current Gutenprint printer list) and their format and if possible whether they use funky A4 margins? I'd like to get the printer list updated. This shouldn't be difficult to backport to 5.2, and it's an obvious candidate. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Solomon P. <pi...@sh...> - 2017-12-28 19:38:31
Attachments:
signature.asc
|
On Thu, Dec 28, 2017 at 02:20:27PM -0500, Robert Krawitz wrote: > Well, that's good news. What's the quality like? I didn't use a very high-resolution source image, but the colors looked good and there were no noticable artifacts. I just tried again with a very high-res image, but it came out distorted on both printers -- It looks like the scaling/resolutions used on both axes are wrong if the source image is higher res than the printer's. (I can send you a photo of the output if you want..) - Solomon -- Solomon Peachy pizza at shaftnet dot org Coconut Creek, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |
From: Till K. <til...@gm...> - 2017-12-28 22:36:32
|
On 12/28/2017 05:20 PM, Robert Krawitz wrote: >> It looks like it worked! Every option was default except for the page >> size -- Letter for one, Tabloid for the other. Using "Generic PCL color >> Laser" and the "LF" variant. > > Well, that's good news. What's the quality like? > > Till, can you get me a list of PCL color laser printers (either in the > current Gutenprint printer list) and their format and if possible > whether they use funky A4 margins? I'd like to get the printer list > updated. > Robert, what you did is a PCL 5c driver. So all printers which understand PCL 5c should work with it. So the first step is to take the foomatic-db package and look for suitable printers there. Suitable according to foomatic-db are all printers which are supported by a PCL 5c driver. PCL 5c drivers are "cljet5" and "hpijs-pcl5c". See the printer listed in the appropriate driver XML files or these drivers mentioned in printer XML files. Many printers print in color via PCL 6/XL. These printers are supported by the "pxlcolor" driver or the "pxlcolor-..." drivers. It is possible that all PCL 6/XL printers support also PCL 5 (c in case of color printers). We need some printer expert to tell us whether this is the case. If so, there are meny more printers which you could add to the list. Also the ready-made manuafacturer PPDs which come with foomatic-db can help if they inform somehow which languages the printer supports in addition to PostScript (printers which support color and PCL). The second step is, as you already told in a later mail, to find all the PCL 5c printers according to the HPLIP package. For this, install HPLIP and have a look into the file /usr/share/hplip/data/models/models.dat Search for the model entries with "tech-class=LJColor". The "tech-subclass=..." informs about special things, like 300-dpi-only, A3 format, ... HPLIP helps to find also the newest models, but only HP, whereas foomatic-db also helps on other brands, but the newest models are only listed from Ricoh and OEM. > This shouldn't be difficult to backport to 5.2, and it's an obvious > candidate. > Would be great to have it. Improvement on PCL-5c printer support would be great. Till |
From: Robert K. <rl...@al...> - 2017-12-28 19:56:55
|
On Thu, 28 Dec 2017 14:38:22 -0500, Solomon Peachy wrote: > On Thu, Dec 28, 2017 at 02:20:27PM -0500, Robert Krawitz wrote: >> Well, that's good news. What's the quality like? > > I didn't use a very high-resolution source image, but > the colors looked good and there were no noticable artifacts. > > I just tried again with a very high-res image, but it came out distorted > on both printers -- It looks like the scaling/resolutions used on both > axes are wrong if the source image is higher res than the printer's. > > (I can send you a photo of the output if you want..) Please do. No doubt it's a problem in the rescaling code. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Robert K. <rl...@al...> - 2017-12-28 20:04:17
|
On Thu, 28 Dec 2017 14:38:22 -0500, Solomon Peachy wrote: > On Thu, Dec 28, 2017 at 02:20:27PM -0500, Robert Krawitz wrote: >> Well, that's good news. What's the quality like? > > I didn't use a very high-resolution source image, but > the colors looked good and there were no noticable artifacts. > > I just tried again with a very high-res image, but it came out distorted > on both printers -- It looks like the scaling/resolutions used on both > axes are wrong if the source image is higher res than the printer's. > > (I can send you a photo of the output if you want..) Never mind, I found and fixed the bug. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Solomon P. <pi...@sh...> - 2017-12-28 20:24:44
Attachments:
signature.asc
|
On Thu, Dec 28, 2017 at 03:04:05PM -0500, Robert Krawitz wrote: > Never mind, I found and fixed the bug. I can confirm the output is sane now! - Solomon -- Solomon Peachy pizza at shaftnet dot org Coconut Creek, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |
From: Robert K. <rl...@al...> - 2017-12-28 20:57:50
|
On Thu, 28 Dec 2017 15:24:34 -0500, Solomon Peachy wrote: > On Thu, Dec 28, 2017 at 03:04:05PM -0500, Robert Krawitz wrote: >> Never mind, I found and fixed the bug. > > I can confirm the output is sane now! Somehow, I thought I had tested that...guess not. Well, all's well that ends well, I guess. I'm in the process of adding a whole stack of printers from HPLIP and HPIJS. I'm sure there are a lot more that I don't know about. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Robert K. <rl...@al...> - 2017-12-29 02:49:47
|
One other note, we've now broken the 3000 printer mark! Of course, a lot of those are just naming and other trivial variations, but everyone else counts things that way, why shouldn't we? On Thu, 28 Dec 2017 20:36:20 -0200, Till Kamppeter wrote: > On 12/28/2017 05:20 PM, Robert Krawitz wrote: >>> It looks like it worked! Every option was default except for the page >>> size -- Letter for one, Tabloid for the other. Using "Generic PCL color >>> Laser" and the "LF" variant. >> >> Well, that's good news. What's the quality like? >> >> Till, can you get me a list of PCL color laser printers (either in the >> current Gutenprint printer list) and their format and if possible >> whether they use funky A4 margins? I'd like to get the printer list >> updated. > > Robert, what you did is a PCL 5c driver. So all printers which understand PCL 5c should work with it. Yep. > So the first step is to take the foomatic-db package and look for suitable printers there. Suitable according to foomatic-db are all printers which are supported by a PCL 5c driver. PCL 5c drivers are "cljet5" and "hpijs-pcl5c". See the printer listed in the appropriate driver XML files or these drivers mentioned in printer XML files. Done. A fair bit of grunt work. > Many printers print in color via PCL 6/XL. These printers are supported by the "pxlcolor" driver or the "pxlcolor-..." drivers. It is possible that all PCL 6/XL printers support also PCL 5 (c in case of color printers). We need some printer expert to tell us whether this is the case. If so, there are meny more printers which you could add to the list. Hopefully they do. PCL XL isn't something I really want to get involved with, and it doesn't appear to offer a lot of advantages to purely raster drivers. It looks like it's basically an open GDI printer. Perhaps someone here knows? There's one worrisome comment: Xerox-WorkCentre_7345.xml: "pxlcolor" and HPIJS are the only drivers that currently print in colour. But there are probably a lot of random comments in the foomatic database. > Also the ready-made manuafacturer PPDs which come with foomatic-db can help if they inform somehow which languages the printer supports in addition to PostScript (printers which support color and PCL). That's going to be a lot more grunt work to look through :-( > The second step is, as you already told in a later mail, to find all the PCL 5c printers according to the HPLIP package. For this, install HPLIP and have a look into the file > > /usr/share/hplip/data/models/models.dat > > Search for the model entries with "tech-class=LJColor". The "tech-subclass=..." informs about special things, like 300-dpi-only, A3 format, ... Thanks. I did that. I found a lot more strays from the Foomatic database, though. > HPLIP helps to find also the newest models, but only HP, whereas foomatic-db also helps on other brands, but the newest models are only listed from Ricoh and OEM. Yep. hpijs, though, lists other manufacturers' printers. >> This shouldn't be difficult to backport to 5.2, and it's an obvious >> candidate. > > Would be great to have it. Improvement on PCL-5c printer support would be great. That shouldn't take me too long. The printers.xml breakup means a bit more work, but probably not much, since the file format didn't actually change and hopefully I can just drop the contents of pcl.xml into printers.xml. I'd like to get that done during my remaining 4 days of holiday. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Till K. <til...@gm...> - 2017-12-29 15:08:50
|
On 12/29/2017 12:49 AM, Robert Krawitz wrote: > One other note, we've now broken the 3000 printer mark! Of course, a > lot of those are just naming and other trivial variations, but > everyone else counts things that way, why shouldn't we? > So the fraction of printers supporting standard PDLs (like PCL 5c) is not that bad, and with the advent of the smartphone standard PDLs got fashion again, but this time we call it driverless printing and the PDLs are Apple Raster, PWG Raster, PCLm, and PDF, all supported by CUPS and cups-filters already. I do not know whether one can improve the quality of such printers when implementing these PDLs in Gutenprint, as usually the printers do internal color management and dithering work as the phones simply send high-color-depth sRGB data and the printer is supposed to do the rest. > Hopefully they do. PCL XL isn't something I really want to get > involved with, and it doesn't appear to offer a lot of advantages to > purely raster drivers. It looks like it's basically an open GDI > printer. Perhaps someone here knows? There's one worrisome comment: > The advantage is that we know a lot of printers (esp. Ricoh and OEM) which support PCL XL and we are unsure whether they all support PCL 5c. If you would make a Gutenprint driver which outputs PCL XL, you will easily support 1000s of printers, but as Gutenprint is a raster driver you will use only a very small subset of PCL XL. > Xerox-WorkCentre_7345.xml: "pxlcolor" and HPIJS are the only drivers that currently print in colour. > This means that it does PCL XL ("pxlcolor" driver) and PCL 5c ("HPIJS" driver). >> HPLIP helps to find also the newest models, but only HP, whereas foomatic-db also helps on other brands, but the newest models are only listed from Ricoh and OEM. > > Yep. hpijs, though, lists other manufacturers' printers. > The Foomatic entries of HPIJS, not the models.dat which comes with HPLIP. > That shouldn't take me too long. The printers.xml breakup means a bit > more work, but probably not much, since the file format didn't > actually change and hopefully I can just drop the contents of pcl.xml > into printers.xml. I'd like to get that done during my remaining 4 > days of holiday. > Great. Till |
From: Robert K. <rl...@al...> - 2017-12-29 03:14:44
|
On Thu, 28 Dec 2017 20:36:20 -0200, Till Kamppeter wrote: > Many printers print in color via PCL 6/XL. These printers are > supported by the "pxlcolor" driver or the "pxlcolor-..." drivers. It > is possible that all PCL 6/XL printers support also PCL 5 (c in case > of color printers). We need some printer expert to tell us whether > this is the case. If so, there are meny more printers which you > could add to the list. Apparently there are some printers that claim to support PCL6, but don't have PCL5 compatibility, but I haven't found a list. So it will likely be a case by case basis. The question is whether we only add printers after someone tests them, or whether we add everything not known to have a problem and let people complain. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Robert K. <rl...@al...> - 2017-12-29 03:30:42
|
On Thu, 28 Dec 2017 20:36:20 -0200, Till Kamppeter wrote: > Many printers print in color via PCL 6/XL. These printers are > supported by the "pxlcolor" driver or the "pxlcolor-..." drivers. It > is possible that all PCL 6/XL printers support also PCL 5 (c in case > of color printers). We need some printer expert to tell us whether > this is the case. If so, there are meny more printers which you > could add to the list. So I removed all files that contain "proprietary" and ran the following command. That's a lot more printers we can support, if we're confident that they'll actually support PCL 5c. Then, of course, there's the matter of determining the form factor for each. $ grep -i pxlcolor * |grep -i driver |awk '{print $1}' |sed 's/.xml://' Brother-HL-4040CN Canon-imageRunner_C2550 Canon-imageRunner_C5058 Canon-imageRunner_C5068 Canon-imageRunner_C5185 Canon-imageRunner_C5185i Dell-3000cn Dell-3100cn Gestetner-CS555 Gestetner-DSc1020 Gestetner-DSc1025 Gestetner-DSc1030 Gestetner-DSc1045 Gestetner-DSc1060 Gestetner-DSc1120 Gestetner-DSc1220 Gestetner-DSc1225 Gestetner-DSc1230 Gestetner-DSc1245 Gestetner-DSc1260 Gestetner-DSc424 Gestetner-DSc428 Gestetner-DSc432 Gestetner-DSc435 Gestetner-DSc445 Gestetner-DSc460 Gestetner-MPC1500_GS106 Gestetner-MPC2500_DSc525 Gestetner-MPC3000_DSc530 Gestetner-MPC3500_DSc535 Gestetner-MPC4500_DSc545 Gestetner-MP_C2003 Gestetner-MP_C2004 Gestetner-MP_C2011 Gestetner-MP_C2050 Gestetner-MP_C2051 Gestetner-MP_C2503 Gestetner-MP_C2504 Gestetner-MP_C2550 Gestetner-MP_C2551 Gestetner-MP_C2800 Gestetner-MP_C300 Gestetner-MP_C3001 Gestetner-MP_C3002 Gestetner-MP_C3003 Gestetner-MP_C3004 Gestetner-MP_C300SR Gestetner-MP_C3300 Gestetner-MP_C3501 Gestetner-MP_C3502 Gestetner-MP_C3503 Gestetner-MP_C3504 Gestetner-MP_C400 Gestetner-MP_C4000 Gestetner-MP_C400SR Gestetner-MP_C4501 Gestetner-MP_C4501A Gestetner-MP_C4502 Gestetner-MP_C4502A Gestetner-MP_C4503 Gestetner-MP_C4504 Gestetner-MP_C5000 Gestetner-MP_C5501 Gestetner-MP_C5501A Gestetner-MP_C5502 Gestetner-MP_C5502A Gestetner-MP_C5503 Gestetner-MP_C6000 Gestetner-MP_C6003 Gestetner-MP_C6004 Gestetner-MP_C6501 Gestetner-MP_C6502 Gestetner-MP_C6503 Gestetner-MP_C7500 Gestetner-MP_C7501 Gestetner-MP_C8002 Gestetner-MP_C8003 Gestetner-Pro_C5200S Gestetner-Pro_C5210S Infotec-ISC_1024c Infotec-ISC_1032c Infotec-ISC_2428 Infotec-ISC_2525 Infotec-ISC_2835 Infotec-ISC_3030 Infotec-ISC_3535 Infotec-ISC_3545 Infotec-ISC_4045 Infotec-ISC_4560 Infotec-ISC_5560 Infotec-ISC_615G Infotec-MP_C2003 Infotec-MP_C2003Z Infotec-MP_C2004 Infotec-MP_C2011 Infotec-MP_C2050 Infotec-MP_C2051 Infotec-MP_C2503 Infotec-MP_C2503Z Infotec-MP_C2504 Infotec-MP_C2550 Infotec-MP_C2551 Infotec-MP_C2800 Infotec-MP_C300 Infotec-MP_C3001 Infotec-MP_C3002 Infotec-MP_C3003 Infotec-MP_C3004 Infotec-MP_C300SR Infotec-MP_C3300 Infotec-MP_C3501 Infotec-MP_C3502 Infotec-MP_C3503 Infotec-MP_C3504 Infotec-MP_C400 Infotec-MP_C4000 Infotec-MP_C400SR Infotec-MP_C4501 Infotec-MP_C4501A Infotec-MP_C4502 Infotec-MP_C4502A Infotec-MP_C4503 Infotec-MP_C4504 Infotec-MP_C5000 Infotec-MP_C5501 Infotec-MP_C5501A Infotec-MP_C5502 Infotec-MP_C5502A Infotec-MP_C5503 Infotec-MP_C5504 Infotec-MP_C6000 Infotec-MP_C6003 Infotec-MP_C6004 Infotec-MP_C6501 Infotec-MP_C6502 Infotec-MP_C6503 Infotec-MP_C7500 Infotec-MP_C7501 Infotec-MP_C8002 Infotec-MP_C8003 Infotec-Pro_C5100S Infotec-Pro_C5110S Infotec-Pro_C5200S Infotec-Pro_C5210S Infotec-Pro_C7100 Infotec-Pro_C7100S Infotec-Pro_C7110 Infotec-Pro_C7110S Lanier-LC155 Lanier-LD124c Lanier-LD132c Lanier-LD160c Lanier-LD328c Lanier-LD335c Lanier-LD345c Lanier-LD_130C Lanier-LD_130CSR Lanier-LD_140C Lanier-LD_140CSR Lanier-LD_620C Lanier-LD_625C Lanier-MPC1500_LD215c Lanier-MPC4501A_LD645CA Lanier-MPC5501A_LD655CA Lanier-MP_C2003 Lanier-MP_C2004 Lanier-MP_C2050_LD520C Lanier-MP_C2500_LD425c Lanier-MP_C2503 Lanier-MP_C2504 Lanier-MP_C2550_LD525C Lanier-MP_C2800_LD528C Lanier-MP_C300 Lanier-MP_C3000_LD430c Lanier-MP_C3001_LD630C Lanier-MP_C3002 Lanier-MP_C3003 Lanier-MP_C3004 Lanier-MP_C300SR Lanier-MP_C3300_LD533C Lanier-MP_C3500_LD435c Lanier-MP_C3501_LD635C Lanier-MP_C3502 Lanier-MP_C3503 Lanier-MP_C3504 Lanier-MP_C400 Lanier-MP_C4000_LD540C Lanier-MP_C400SR Lanier-MP_C4500_LD445c Lanier-MP_C4501_LD645C Lanier-MP_C4502 Lanier-MP_C4502A Lanier-MP_C4503 Lanier-MP_C4504 Lanier-MP_C5000_LD550C Lanier-MP_C5501_LD655C Lanier-MP_C5502 Lanier-MP_C5502A Lanier-MP_C5503 Lanier-MP_C6000_LD260c Lanier-MP_C6003 Lanier-MP_C6004 Lanier-MP_C6501_LD365C Lanier-MP_C6502 Lanier-MP_C6503 Lanier-MP_C7500_LD275c Lanier-MP_C7501_LD375C Lanier-MP_C8002 Lanier-MP_C8003 Lanier-Pro_C5100S Lanier-Pro_C5110S Lanier-Pro_C5200S Lanier-Pro_C5210S Lanier-Pro_C7100 Lanier-Pro_C7100S Lanier-Pro_C7110 Lanier-Pro_C7110S Lanier-SG3110DN Lanier-SG3110DNw Lanier-SG3110SFNw NRG-CS555 NRG-DSc424 NRG-DSc428 NRG-DSc432 NRG-DSc435 NRG-DSc445 NRG-DSc460 NRG-MP_C1500sp NRG-MP_C2003 NRG-MP_C2003Z NRG-MP_C2004 NRG-MP_C2011 NRG-MP_C2050 NRG-MP_C2051 NRG-MP_C2500 NRG-MP_C2503 NRG-MP_C2503Z NRG-MP_C2504 NRG-MP_C2550 NRG-MP_C2551 NRG-MP_C2800 NRG-MP_C300 NRG-MP_C3000 NRG-MP_C3001 NRG-MP_C3002 NRG-MP_C3003 NRG-MP_C3004 NRG-MP_C300SR NRG-MP_C3300 NRG-MP_C3500 NRG-MP_C3501 NRG-MP_C3502 NRG-MP_C3503 NRG-MP_C3504 NRG-MP_C400 NRG-MP_C4000 NRG-MP_C400SR NRG-MP_C4500 NRG-MP_C4501 NRG-MP_C4501A NRG-MP_C4502 NRG-MP_C4502A NRG-MP_C4503 NRG-MP_C4504 NRG-MP_C5000 NRG-MP_C5501 NRG-MP_C5501A NRG-MP_C5502 NRG-MP_C5502A NRG-MP_C5503 NRG-MP_C5504 NRG-MP_C6000 NRG-MP_C6003 NRG-MP_C6004 NRG-MP_C6501 NRG-MP_C6502 NRG-MP_C6503 NRG-MP_C7500 NRG-MP_C7501 NRG-MP_C8002 NRG-MP_C8003 NRG-Pro_C5100S NRG-Pro_C5110S NRG-Pro_C5200S NRG-Pro_C5210S NRG-Pro_C7100 NRG-Pro_C7100S NRG-Pro_C7110 NRG-Pro_C7110S NRG-SG3110DN NRG-SG3110DNw NRG-SG3110SFNw Oki-C8800 Panasonic-DP-180 Panasonic-DP-C265 Panasonic-DP-C305 Panasonic-DP-C322 Panasonic-DP-C405 Ricoh-AficioSG3110DN Ricoh-AficioSG3110DNw Ricoh-AficioSG3110SFNw Ricoh-Aficio_3224C Ricoh-Aficio_3228C Ricoh-Aficio_3232C Ricoh-Aficio_3235C Ricoh-Aficio_3245C Ricoh-Aficio_3260C Ricoh-Aficio_Color5560 Ricoh-Aficio_MP_C2050 Ricoh-Aficio_MP_C2051 Ricoh-Aficio_MP_C2500 Ricoh-Aficio_MP_C2550 Ricoh-Aficio_MP_C2551 Ricoh-Aficio_MP_C2800 Ricoh-Aficio_MP_C300 Ricoh-Aficio_MP_C3000 Ricoh-Aficio_MP_C3001 Ricoh-Aficio_MP_C3002 Ricoh-Aficio_MP_C300SR Ricoh-Aficio_MP_C3300 Ricoh-Aficio_MP_C3500 Ricoh-Aficio_MP_C3501 Ricoh-Aficio_MP_C3502 Ricoh-Aficio_MP_C400 Ricoh-Aficio_MP_C4000 Ricoh-Aficio_MP_C400SR Ricoh-Aficio_MP_C4500 Ricoh-Aficio_MP_C4501 Ricoh-Aficio_MP_C4501A Ricoh-Aficio_MP_C4502 Ricoh-Aficio_MP_C4502A Ricoh-Aficio_MP_C5000 Ricoh-Aficio_MP_C5501 Ricoh-Aficio_MP_C5501A Ricoh-Aficio_MP_C5502 Ricoh-Aficio_MP_C5502A Ricoh-Aficio_MP_C6000 Ricoh-Aficio_MP_C6501 Ricoh-Aficio_MP_C7500 Ricoh-Aficio_MP_C7501 Ricoh-GX_3050N Ricoh-GX_3050SFN Ricoh-GX_5050N Ricoh-GX_E3350N Ricoh-GX_E5550N Ricoh-MP_C1500_615C Ricoh-MP_C2003 Ricoh-MP_C2003Z Ricoh-MP_C2004 Ricoh-MP_C2011 Ricoh-MP_C2094J Ricoh-MP_C2503 Ricoh-MP_C2503Z Ricoh-MP_C2504 Ricoh-MP_C2594J Ricoh-MP_C3003 Ricoh-MP_C3004 Ricoh-MP_C3503 Ricoh-MP_C3504 Ricoh-MP_C4503 Ricoh-MP_C4504 Ricoh-MP_C5503 Ricoh-MP_C5504 Ricoh-MP_C6003 Ricoh-MP_C6004 Ricoh-MP_C6502 Ricoh-MP_C6503 Ricoh-MP_C8002 Ricoh-MP_C8003 Ricoh-Pro_C5100S Ricoh-Pro_C5110S Ricoh-Pro_C5200S Ricoh-Pro_C5210S Ricoh-Pro_C7100 Ricoh-Pro_C7100S Ricoh-Pro_C7110 Ricoh-Pro_C7110S Ricoh-SG3120BSFNw Samsung-CLP-620 Samsung-CLP-660N Samsung-CLP-660ND Savin-C2410 Savin-C2525 Savin-C2824 Savin-C2828 Savin-C3030 Savin-C3210e Savin-C3333 Savin-C3528 Savin-C3535 Savin-C4040 Savin-C4535 Savin-C4540 Savin-C5050 Savin-C6045 Savin-C6055 Savin-C7570 Savin-C9020 Savin-C9025 Savin-C9065 Savin-C9075 Savin-C9120 Savin-C9125 Savin-C9130 Savin-C9135 Savin-C9145 Savin-C9145A Savin-C9155 Savin-C9155A Savin-C_230 Savin-C_230SR Savin-C_240 Savin-C_240SR Savin-MP_C2003 Savin-MP_C2004 Savin-MP_C2503 Savin-MP_C2504 Savin-MP_C3002 Savin-MP_C3003 Savin-MP_C3004 Savin-MP_C3502 Savin-MP_C3503 Savin-MP_C3504 Savin-MP_C4502 Savin-MP_C4502A Savin-MP_C4503 Savin-MP_C4504 Savin-MP_C5502 Savin-MP_C5502A Savin-MP_C5503 Savin-MP_C6003 Savin-MP_C6004 Savin-MP_C6502 Savin-MP_C6503 Savin-MP_C8002 Savin-MP_C8003 Savin-Pro_C5100S Savin-Pro_C5110S Savin-Pro_C5200S Savin-Pro_C5210S Savin-Pro_C7100 Savin-Pro_C7100S Savin-Pro_C7110 Savin-Pro_C7110S Savin-SDC555 Savin-SG3110DN Savin-SG3110DNw Savin-SG3110SFNw Savin-SGC_1506 Sharp-AR-BC260 Sharp-AR-BC320 Sharp-AR-C170FP Sharp-AR-C170M Sharp-AR-C172FP Sharp-AR-C172M Sharp-AR-C260 Sharp-AR-C260F Sharp-AR-C260FP Sharp-AR-C260M Sharp-AR-C260P Sharp-AR-C260S Sharp-AR-C261F Sharp-AR-C261FP Sharp-AR-C261M Sharp-AR-C261S Sharp-AR-C262FP Sharp-AR-C262M Sharp-AR-C262S Sharp-MX-2300FG Sharp-MX-2300G Sharp-MX-2300N Sharp-MX-2700FG Sharp-MX-2700G Sharp-MX-2700N Sharp-MX-3500FN Sharp-MX-3500N Sharp-MX-3501FN Sharp-MX-3501N Sharp-MX-4500FN Sharp-MX-4500N Sharp-MX-4501FN Sharp-MX-4501N Toshiba-e-Studio_220cp Toshiba-e-Studio_2830c Toshiba-e-Studio_3530c Toshiba-e-Studio_4500c Toshiba-e-Studio_4520c Toshiba-e-Studio_5500c Xerox-Phaser_3160N -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Till K. <til...@gm...> - 2017-12-29 14:38:45
|
On 12/29/2017 01:30 AM, Robert Krawitz wrote: > So I removed all files that contain "proprietary" and ran the > following command. If they contain both "proprietary" and "PCL 5c", this is OK, then they support PCL 5c. This means that they support two PDLs, one is PCL 5c, the other is a proprietary PDL. Only the ones with only "proprietary" in their list of PDLs are the bad guys, as they actually need a specialized driver for their proprietary language (some of such drivers existm, like foo2zjs, SpliX, ...). > That's a lot more printers we can support, if > we're confident that they'll actually support PCL 5c. Then, of > course, there's the matter of determining the form factor for each. > > $ grep -i pxlcolor * |grep -i driver |awk '{print $1}' |sed 's/.xml://' [...] There are a lot of printers supporting PCL XL, and as we are not sure whether they all also support PCL 5c it would make sense for a high-quality raster driver like Gutenprint to also output PCL XL, even if we only make use of a small subset of this language. Till |
From: Solomon P. <pi...@sh...> - 2017-12-29 13:56:16
Attachments:
signature.asc
|
On Thu, Dec 28, 2017 at 10:30:29PM -0500, Robert Krawitz wrote: > So I removed all files that contain "proprietary" and ran the > following command. That's a lot more printers we can support, if > we're confident that they'll actually support PCL 5c. Then, of > course, there's the matter of determining the form factor for each. There's also a pile of Brother Laser printers that could probably be added, but figuring out which ones support PCL5c is going to be a bit of a PITA. The old rule of thumb was that the 1xxx and 2xxx series were GDI, whereas the rest usually supported both PCL (5c and 6) as well as Postscript, but it looks like more recent models have all dropped PCL5c, and some of the 2xxx series support PCL6 too. What a mess.. - Solomon -- Solomon Peachy pizza at shaftnet dot org Coconut Creek, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |
From: Robert K. <rl...@al...> - 2017-12-29 15:06:31
|
On Fri, 29 Dec 2017 12:38:33 -0200, Till Kamppeter wrote: > On 12/29/2017 01:30 AM, Robert Krawitz wrote: >> So I removed all files that contain "proprietary" and ran the >> following command. > > If they contain both "proprietary" and "PCL 5c", this is OK, then they support PCL 5c. This means that they support two PDLs, one is PCL 5c, the other is a proprietary PDL. Only the ones with only "proprietary" in their list of PDLs are the bad guys, as they actually need a specialized driver for their proprietary language (some of such drivers existm, like foo2zjs, SpliX, ...). I see. >> That's a lot more printers we can support, if >> we're confident that they'll actually support PCL 5c. Then, of >> course, there's the matter of determining the form factor for each. >> >> $ grep -i pxlcolor * |grep -i driver |awk '{print $1}' |sed 's/.xml://' > [...] > > There are a lot of printers supporting PCL XL, and as we are not sure whether they all also support PCL 5c it would make sense for a high-quality raster driver like Gutenprint to also output PCL XL, even if we only make use of a small subset of this language. The pxlcolor output is entirely different from "ordinary" PCL, which confirms that PCL-XL is very different from other versions of PCL. That's not something I can likely get to over the next few days. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Robert K. <rl...@al...> - 2017-12-29 15:23:32
|
On Fri, 29 Dec 2017 13:08:38 -0200, Till Kamppeter wrote: > On 12/29/2017 12:49 AM, Robert Krawitz wrote: >> One other note, we've now broken the 3000 printer mark! Of course, a >> lot of those are just naming and other trivial variations, but >> everyone else counts things that way, why shouldn't we? > > So the fraction of printers supporting standard PDLs (like PCL 5c) is not that bad, and with the advent of the smartphone standard PDLs got fashion again, but this time we call it driverless printing and the PDLs are Apple Raster, PWG Raster, PCLm, and PDF, all supported by CUPS and cups-filters already. I do not know whether one can improve the quality of such printers when implementing these PDLs in Gutenprint, as usually the printers do internal color management and dithering work as the phones simply send high-color-depth sRGB data and the printer is supposed to do the rest. Gutenprint's not likely to offer any real quality advantages with these printers; most of them (including PCL5c) actually rely on the driver to send 8-bit pixel data (much like ESCP/R). We could potentially offer functionality advantages, and of course, being the one-stop shop for (non-GDI) printers. >> Hopefully they do. PCL XL isn't something I really want to get >> involved with, and it doesn't appear to offer a lot of advantages to >> purely raster drivers. It looks like it's basically an open GDI >> printer. Perhaps someone here knows? There's one worrisome comment: > > The advantage is that we know a lot of printers (esp. Ricoh and OEM) > which support PCL XL and we are unsure whether they all support PCL > 5c. If you would make a Gutenprint driver which outputs PCL XL, you > will easily support 1000s of printers, but as Gutenprint is a raster > driver you will use only a very small subset of PCL XL. I've heard from another source who is in a good position to know viz-a-viz some of these printers (I was asked not to give this person's name) that his/her understanding is that PCL6 includes PCL5 as a subset. It's also my understanding that this may not be universally true. >> Xerox-WorkCentre_7345.xml: "pxlcolor" and HPIJS are the only drivers that currently print in colour. > > This means that it does PCL XL ("pxlcolor" driver) and PCL 5c ("HPIJS" driver). All of the ones listed as supporting pcl-5c in the Foomatic database are already in. >>> HPLIP helps to find also the newest models, but only HP, whereas foomatic-db also helps on other brands, but the newest models are only listed from Ricoh and OEM. >> >> Yep. hpijs, though, lists other manufacturers' printers. > > The Foomatic entries of HPIJS, not the models.dat which comes with HPLIP. Yep, but that's good enough. >> That shouldn't take me too long. The printers.xml breakup means a bit >> more work, but probably not much, since the file format didn't >> actually change and hopefully I can just drop the contents of pcl.xml >> into printers.xml. I'd like to get that done during my remaining 4 >> days of holiday. >> > > Great. -- Robert Krawitz <rl...@al...> *** MIT Engineers A Proud Tradition http://mitathletics.com *** Member of the League for Programming Freedom -- http://ProgFree.org Project lead for Gutenprint -- http://gimp-print.sourceforge.net "Linux doesn't dictate how I work, I dictate how Linux works." --Eric Crampton |
From: Solomon P. <pi...@sh...> - 2017-12-29 15:26:58
Attachments:
signature.asc
|
On Fri, Dec 29, 2017 at 08:56:05AM -0500, Solomon Peachy wrote: > There's also a pile of Brother Laser printers that could probably be > added, but figuring out which ones support PCL5c is going to be a bit of > a PITA. The old rule of thumb was that the 1xxx and 2xxx series were > GDI, whereas the rest usually supported both PCL (5c and 6) as well as > Postscript, but it looks like more recent models have all dropped PCL5c, > and some of the 2xxx series support PCL6 too. It's worse. 1xxx were always GDI, 2xxx were usually GDI but someimes GDI+PCL, 3xxx tended to be PCL, 4xxx and up were PCL+PS. Sometimes PCL5c or PCL5e, Sometimes PCL6, sometimes both. PS level 2 or 3 depending on the age -- and Brother's PS level 3 interpreter has a long-standing bug involving implicit EOF markers with compressed streams. And then there's the question of what exactly "PCL6" means in this context, given that could mean "PCL6 Standard" which is essentially just a renamed PCL5e/PCL5c. Even "PCL6 Enchanced" (aka PCL-XL) has several sub-variations, though Gutenprint probably wouldn't care about any of the differences other than optionally utilizing the class 3.0 halftoning enhancements. Brother appears to use use PCL5e and PCL6 interchangeably for monochrome printers, and for color printers, sometimes PCL6 is explicitly listed as monochrome-only whether or not PCL5c is listed. (I have a monochrome Brother HL-5340 at home, nominally supporting PS level 3 and PCL6. I'll try sending it a gutenprint-generated PCL5e raster to see what happens. Might as well find out how well the Gutenprint PS driver works too!) > What a mess.. Even a decade after starting to peek under the skirts of how printers actually work, I still find new ways to be amazed/dismayed.. - Solomon -- Solomon Peachy pizza at shaftnet dot org Coconut Creek, FL ^^ (email/xmpp) ^^ Quidquid latine dictum sit, altum videtur. |