LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to add IPP option in CUPS printers.conf? (https://www.linuxquestions.org/questions/linux-software-2/how-to-add-ipp-option-in-cups-printers-conf-4175484233/)

josiah04 11-11-2013 01:39 PM

How to add IPP option in CUPS printers.conf?
 
Hello, I've recently set up my raspberry pi as a print server for DYMO Labelwriter printers. I'm using the Node.js package IPP to send print jobs - and it's working great EXCEPT...

There is a delay between print jobs where apparently CUPS (by default) waits for the printer status to return to "idle" before processing the next job. I would like to eliminate the wait using the waitprinter=false option, however, when I append the option to the printer URL:

Code:

var printer = ipp.Printer('http://127.0.0.1:631/printers/DYMO_1?waitprinter=false');
I receive a printer not found error. Without the option, e.g.:

Code:

var printer = ipp.Printer('http://127.0.0.1:631/printers/DYMO_1');
The job prints fine - it just waits. I've read that the option might be enabled in the DeviceURI line for each printer in printers.conf - but I must be doing something wrong. Here's an example printer from my printers.conf:

Code:

<Printer DYMO_LabelWriter_450_Turbo>
UUID urn:uuid:145e9201-a016-34b3-5fed-1b4d7b5403ca
Info DYMO LabelWriter 450 Turbo
Location Josiah’s MacBook Pro
MakeModel DYMO LabelWriter 450 Turbo
DeviceURI usb://DYMO/LabelWriter%20450%20Turbo?serial=12100519434831
State Idle
StateTime 1383802422
Type 53316
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

My assumption was that I should add the option in the DeviceURL line as such:

Code:

DeviceURI usb://DYMO/LabelWriter%20450%20Turbo?serial=12100519434831&waitprinter=false
It doesn't fix the wait - but I'm also brand new to CUPS and have no idea what I'm doing in this file - so I was wondering if someone could give me an example - OR if the job wait can be bypassed another way?

Thanks so much!

cnkz 08-31-2017 02:06 AM

I have exactly the same problem - How to add Parameter to USB printer?
 
I am using the latest cups version and have exactly the same problem.

How can i add IPP options like the mentioned waitprinter=false to USB connected printer?

All the documentation i have found is related to network printer. If i add parameter to the DeviceURI the printer does not responds any more.


All times are GMT -5. The time now is 02:54 PM.