mounaiban / captdriver

Driver for Canon CAPT printers
GNU General Public License v3.0
89 stars 16 forks source link

LBP3010 "CAPT: no pages in job" #32

Open ba-batz opened 1 year ago

ba-batz commented 1 year ago

When trying to print something on my LBP3010 I get this error message: "CAPT: no pages in job"! What should I do, do you need more information?

rsteube commented 1 year ago

Got the same problem with LBP2900. Did work before though. Not sure what the issue is yet.

socialolive commented 10 months ago

This message may be the consequence of a cups-filters issue: https://github.com/OpenPrinting/cups-filters/issues/547

socialolive commented 10 months ago

After a bit of debugging, it appears the problem is provoked by the presence of -1 in my PPD file content !

I had the following lines:

*MaxMediaWidth: "-1"
*MaxMediaHeight: "-1"
...
*ParamCustomPageSize Width: 1 points -1 -1
*ParamCustomPageSize Height: 2 points -1 -1

But after a make ppd, those lines have been replaced with:

*MaxMediaWidth: "612"
*MaxMediaHeight: "1008.000061035156"
...
*ParamCustomPageSize Width: 1 points 216 612
*ParamCustomPageSize Height: 2 points 360 1008.000061035156

Note that in my case, this difference is related to the presence or not of the LC_ALL=C environment variable when calling ppdc. And on the Arch Linux AUR package for example, LC_ALL=C is missing.

Hope this could help !