LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-11-2013, 01:39 PM   #1
josiah04
LQ Newbie
 
Registered: Nov 2013
Posts: 1

Rep: Reputation: Disabled
Smile 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!
 
Old 08-31-2017, 02:06 AM   #2
cnkz
LQ Newbie
 
Registered: Aug 2017
Posts: 1

Rep: Reputation: Disabled
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I only modify /etc/cups/printers.conf the printer queue name brucefang Linux - Software 1 06-13-2011 03:24 AM
cups/samba print w/o passwd in printers.conf? jshaffer Linux - Networking 1 03-29-2010 06:26 AM
CUPS printers.conf reverts to old settings albracco Linux - General 3 03-17-2008 08:16 AM
Problems with printers.conf, cups and samba wauwha Linux - Software 0 05-30-2007 08:34 AM
updated to cups 1.2.10 from 1.1.19/now printconf will not let me edit/add printers Nahmus Linux - Software 0 04-23-2007 04:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration