maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SeaPrint - Network printing for Sailfish OS (https://talk.maemo.org/showthread.php?t=100914)

attah 2020-01-09 19:00

SeaPrint - Network printing for Sailfish OS
 
I made a network printing app... https://github.com/attah/harbour-seaprint
I'll refrain from getting in to the "Why not CUPS discussion" as an intro, but it was considered. All it does is IPP (Internet Printing Protocol) and sending the raw PDFs (or JPEGs) over to the printer.

One of the goals with this, and SFOS Devember in general, was to make Sailfish OS more feature complete and as such more approachable for the average person. So it is deliberately harbour friendly. Personally printing barely a blip on the nice-to-have radar, so hopefully i can get it to a state where maintenance is low, and perhaps a few contributors will show up.
At least it was a fun challenge.

TJC is pretty limited for discussions, so i'm trying here for improvement suggestions and discussions on future features.

Please do share experiences and wishes.

pichlo 2020-01-10 11:27

Re: SeaPrint - Network printing for Sailfish OS
 
A first, very naive question. When you say "network printing", do you mean printing using some network service or using my network printer at home? Sorry about my cluelessness. My extent of understanding IPP is looking it up on Wikipedia 2 minutes ago.

cy8aer 2020-01-10 11:57

Re: SeaPrint - Network printing for Sailfish OS
 
Quote:

Originally Posted by pichlo (Post 1564273)
A first, very naive question. When you say "network printing", do you mean printing using some network service or using my network printer at home? Sorry about my cluelessness. My extent of understanding IPP is looking it up on Wikipedia 2 minutes ago.

He means local network. I got it working with an ipp printer (https port 631, but with bonjour). Printer address works too.

peterleinchen 2020-01-10 13:46

Re: SeaPrint - Network printing for Sailfish OS
 
A 'raw' (port 9100) possibility is what I miss.

I spent some time getting cups and cupsfilters and foomatic and avahi and mupdf and ... to compiled but failed in the end somewhere ...

direct raw printer access on ip:9100 is what I use almost everywhere

attah 2020-01-10 18:10

Re: SeaPrint - Network printing for Sailfish OS
 
Quote:

When you say "network printing", do you mean printing using some network service or using my network printer at home?
I mean using your networked printer at home. :)
The former would maybe have been called Cloud Printing by current buzzword standards, and much less interesting (IMO).

Quote:

A 'raw' (port 9001) possibility is what I miss.
If it is behind a foomatic pipeline, as in your case, it is way beyond the scope of this app, and indeed sometimes very complicated, not to mention possibly x86-centric. That's the limitation of not using CUPS. Not entirely sure when IPP became widely supported, but it sounds like 10 years ago or so, with some printers upwards of 20 years old.

I am looking at standard raster formats though (still on IPP), they seem doable.

peterleinchen 2020-01-10 21:19

Re: SeaPrint - Network printing for Sailfish OS
 
Mine is around 22y now :) and still printing :D
a HP deskjet 1120C

and I printed to it from N9/x0 very well (via CUPS)

robthebold 2020-06-24 16:04

Re: SeaPrint - Network printing for Sailfish OS
 
Quote:

Originally Posted by peterleinchen (Post 1564294)
Mine is around 22y now :) and still printing :D
a HP deskjet 1120C

and I printed to it from N9/x0 very well (via CUPS)

I'm failing with seaprint and my old deskjet 1320 connected to the network with a standalone jetdirect 170x. I'm not sure that ipp printing isn't supported or I just haven't configured the jetdirect properly. Becuase it's too late to change that: the web config page of the jetdirect no longer works with recent-ish browsers (including Sailfish).

I do get the Lexmark 260dn to work with postscript files, and thanks to imagemagick I can print other images on that. No luck with my Epson ecotank, even though refresh tries to add it.

Is there anything sensitive I'm gonna need to censor out if I post the stderr output of SeaPrint for debugging?

Edit: Forgot to say thanks attah for this app, a much-appreciated addition to the sailfish universe!

peterleinchen 2020-06-24 19:31

Re: SeaPrint - Network printing for Sailfish OS
 
Shame on me I did not report earlier.

Due to Corona my old beloved DJ1120C gave up, finally.
I needed to replace it with an OfficeJet7000 E809a, a not so old model.
With this one no chance as only proprietary HP stuff and 9100 working. No possibility to configure IPP. :(
But I also have now a LaserJet M1536dnf MFP and that one has IPP and is working with SeaPrint :)

attah 2020-07-11 19:33

Re: SeaPrint - Network printing for Sailfish OS
 
Sorry for the late reply, apparently email notifications aren't a thing.

Quote:

Originally Posted by robthebold (Post 1568023)
I do get the Lexmark 260dn to work with postscript files, and thanks to imagemagick I can print other images on that.

Not sure what you mean "work with", over port 9100 or what?

Quote:

Originally Posted by robthebold (Post 1568023)
No luck with my Epson ecotank, even though refresh tries to add it.

Hmmm, that's pretty modern and should have PWG raster support i think.

Quote:

Originally Posted by robthebold (Post 1568023)
Is there anything sensitive I'm gonna need to censor out if I post the stderr output of SeaPrint for debugging?

I'd take out your WiFi SSID before posting, just because.
Apart from that i can only think of there being printer IPs and printer names, which should be fine.
When you get further, there will be your document name too, which should be fine as long as you are aware.

So yes, please do post logs.

nonsuch 2020-07-12 12:07

Re: SeaPrint - Network printing for Sailfish OS
 
Quote:

Originally Posted by peterleinchen (Post 1568024)
Due to Corona my old beloved DJ1120C gave up, finally.

My god, I didn't know machines were affected too! :eek:
My condolences. This pandemic really takes its toll.


All times are GMT. The time now is 21:01.

vBulletin® Version 3.8.8