M Sent from my BlackBerry 10 smartphone on the Verizon Wireless 4G LTE network. From: David LopezSent: Saturday, November 23, 2013 17:45To: Main PLUG discussion listReply To: Main PLUG discussion listSubject: Re: CUPS Interface Scriptleei have messed with the server script before and to grab and keep errors, this is what i placed at the beginning of the script:LogLevel debug2LogDebugHistory 500
MaxLogSize 1mMaxClientsPerHost 10Listen localhost:631the attributes must have proper case as per the cups docs: web address is:
http://localhost:631/
look at /var/logs/cups/error_logand look for the line: Loaded configuration file "/etc/cups/cupsd.conf"look for any errors after that. i found that several attributes were no longer used so i removed them.
let us know how u solved it.david
On Sat, Nov 23, 2013 at 4:55 PM, <
lee@citylightsphx.com> wrote:
I am trying to set up a CUPS printer that will print a single print job on two separate printers. I saw a technique online using a CUPS interface script, but it seems the interface script is being bypassed (the first line in the script uses echo to put some text into a
file in my home directory, which is not happening). The method is to create a printer with the URI set to /dev/null and an interface that spawns two new print jobs, one to each of the two printers you want it to print on. Here is what I have done:
Script
interface_script:#!/bin/bashecho "Interface script is running." >>/home/me/debuglp -d printer1 $6lp -d printer2 $6_________________________________Create Printer: lpadmin -p twoprint -i interface_script -v /dev/null
-E The lpadmin copies the interface_script into /etc/cups/interfaces/twoprint as expected and the permissions on the twoprint script are 755. The CUPS LogLevel is set to debug2 and I don't see anything that looks to me to be an obvious problem in
/var/log/cups/error_log.I had this working in the past, but now I am trying to set it up again and can't get it to work. Does anyone have an idea why the interface script is not getting run?
Lee Cowles
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss-- David López
Software Engineer
---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss---------------------------------------------------
PLUG-discuss mailing list -
PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss