Replies: 5 comments 3 replies
|
I think you can just run the "lprint" executable like any other command on the system? |
|
Not from within a Snap no. Outside the Snap yes. @michaelrsweet In order for my Snap to call out to your Snap your snapcraft.yaml needs to expose a Slot and then my Snap setups a Plug in. At least I believe this is what would need to happen in order to call Lprint from within my Snap. |
|
When the LPrint Snap is installed, it is running the LPrint Printer Application, a daemon listening on To talk IPP, use libcups for C programs and goipp for Go programs, libcups bindings for any other programming language. |
|
@tillkamppeter I see. So from my Snap's pov it is only talking cups. I will try this and report back. |
|
@michaelrsweet @tillkamppeter Well, I found out that within a snap you can shell call other snaps using 'snap run ' so I just shell call 'snap run lprint'. Easy. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have my own Snap for my own product and application. How can I call LPrint Snap from within my own Snap?
Seems like I would need LPrint SNAP to expose a Slot of type content for an interface?
@michaelrsweet
All reactions