hvfrancesco / cups-peripage

wip for a Peripage cups driver
GNU General Public License v3.0
2 stars 0 forks source link

client-error-document-format-not-supported #1

Open kerk1v opened 3 years ago

kerk1v commented 3 years ago

Hello,

I get

client-error-document-format-not-supported error when trying to set up this driver in CUPS using the GUI tool on a Raspberry Pi 4.

I am using the bluetooth://MAC_ADDRESS_NO_COLON format as the printer URI.

I can print directly to the printer from the Raspberry Pi with https://github.com/bitrate16/ppa6-python library and scripts via Bluetooth

CUPS Version is 2.2.10-6 and bluez-cups package is installed.

CUPS logs in /var/log/cups provide exactly the same information.

Any ideas?

Thanks a lot!

kerk1v commented 3 years ago

Adding info: I didn't install the peripage filter (rastertoperipage) executable. Now I have in /usr/lib/cups/filter.

Python dependencies are installed (PIL, ppa6)

Now i get "filter failed" error when printing CUPS test page. Root cause seems to be a bluetooth device timeout when printing. Any ideas?

hvfrancesco commented 3 years ago

Hi Volker, the project is still VERY hackish and is not guaranteed to work.

It was in a very bad state when you tried this morning, now I have it more or less working, but be prepared to experience quite a lot of issues.

I've updated the code and the README file with installation instructions.

The only printer implemented now is the 304dpi model, if you have the 203dpi one it is supposed to work but the ppd file must be tweaked before installing.

I will try to make a correct ppd for the 203dpi model in the next few days.

Pay attention that the mac address of the printer is hardcoded in the backend file and must probably be changed according to your printer before installing it.

Please, download all again and try now.

hvfrancesco commented 3 years ago

you have to set printer URI as 'peri://'

hvfrancesco commented 3 years ago

I will look into passing mac address in URI when I have a little time

kerk1v commented 3 years ago

Hi, thanks for the feedback and the great work so far!