Create PrintJob via URL #1154
-
|
Hello, is there a way to print something, e.g. a PDF, to CUPS via an URL? I mean, the CMD line for printing “lp -d MyPrinter srv/MyDocument.pdf” works fine, and when the first print job is complete, I can also print the job using the CUPS Web-UI ( But how do I send a print job via URL? If I use The connection between CUPS and the printer shouldn't matter, because in my opinion the correct request is the problem. Or is it not possible to send a request via URL (POST)? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 8 replies
-
|
May I suggest you read the How to Use the Internet Printing Protocol e-book? |
Beta Was this translation helpful? Give feedback.
-
|
I just want to know what the equivalent of the CMD line “lp -d MyPrinter srv/MyDocument.pdf” is for a URL if the printer itself is not an IPP printer and is connected to CUPS via socket. Is this too complicated to describe? I mean, your link explains how to do this via IPP printers. But I don't have an IPP printer. |
Beta Was this translation helpful? Give feedback.
-
|
I solved it. My problem was that the printer I had registered in CUPS was not authorized for external commands. The only thing I had to do was set the property |
Beta Was this translation helpful? Give feedback.
@michaelrsweet
I solved it.
My problem was that the printer I had registered in CUPS was not authorized for external commands. The only thing I had to do was set the property
printer-is-sharedtotrueto authorize the printer.