Standar job deactivate in PI

Hi All,
We need to delete to standard jobs from PI system
This two jobs are failing everyday in our PI system and as suggested by SAP we are going to delete the jobs.
I am trying to delete the job but it is only deleting the log .next day we can again see the job is in cancelled status also try to stop the active job from SM37 but not worked .
Please suggest how to delete/deactivate these jobs.
Thanks,

which of the housekeeping jobs are you trying to delete?
http://help.sap.com/saphelp_nw04/helpdata/en/cd/20bc3ff6beeb0ce10000000a114084/content.htm

Similar Messages

  • Job Scheduling Management vs SAP CPS

    Hi Guys
    I am trying to find out what are the differences between using the Job scheduling management tool in Solution manager and SAP CPS integrated into Solution manager. What are the benifits of using CPS as opposed to using the "standared" job scheduling tool.
    santosh

    Hello Santosh,
    the link that you already got is good. Perhaps you also want to check out [http://wiki.sdn.sap.com/wiki/display/SM/FAQJobSchedulingManagement|http://wiki.sdn.sap.com/wiki/display/SM/FAQJobSchedulingManagement] and [SAP is first vendor to provide a comprehensive Job Management Suite |SAP is first vendor to provide a comprehensive Job Management Suite] for further information.
    In short SAP CPS is an advanced scheduling tool like which competes against other like UC4, Control-M from BMC etc. But all these tools do not provide any real job documentation or job request functionality in order to get the process governance right. That's where the SolMan gets into the game.
    Best Regards
    Volker

  • Cannot print with Brother HL-2140 (CUPS does not complain) [SOLVED]

    I've got a brother HL-2140 which I've installed according to these instructions: http://wiki.archlinux.org/index.php/Brother_HL-2040.  I am using the 2040 driver instead of the 2140 as there are reported issues with the 2140 driver and the 2040 driver is supposed to work anyways. It does in Ubuntu, and according to this Arch user: http://interskh.info/2008/12/install-br … linux.html
    When I go to print a test page, nothing happens and the printer makes no sound whatsoever.
    Cups Error Log:
    I [03/Jan/2009:13:25:16 -0800] Scheduler shutting down normally.
    D [03/Jan/2009:13:25:16 -0800] Discarding unused server-stopped event...
    D [03/Jan/2009:13:25:16 -0800] cupsdCloseClient: 6
    D [03/Jan/2009:13:25:16 -0800] Saving remote.cache...
    I [03/Jan/2009:13:25:16 -0800] Saving job cache file "/var/cache/cups/job.cache"...
    I [03/Jan/2009:13:25:46 -0800] Listening to 127.0.0.1:631 (IPv4)
    I [03/Jan/2009:13:25:46 -0800] Loaded configuration file "/etc/cups/cupsd.conf"
    I [03/Jan/2009:13:25:46 -0800] Using default TempDir of /var/spool/cups/tmp...
    I [03/Jan/2009:13:25:46 -0800] Configured for up to 100 clients.
    I [03/Jan/2009:13:25:46 -0800] Allowing up to 100 client connections per host.
    I [03/Jan/2009:13:25:46 -0800] Using policy "default" as the default!
    I [03/Jan/2009:13:25:46 -0800] Full reload is required.
    I [03/Jan/2009:13:25:46 -0800] Loaded MIME database from '/etc/cups': 35 types, 39 filters...
    D [03/Jan/2009:13:25:46 -0800] Loading printer HL2040...
    I [03/Jan/2009:13:25:46 -0800] Loading job cache file "/var/cache/cups/job.cache"...
    D [03/Jan/2009:13:25:46 -0800] [Job 16] Loading from cache...
    D [03/Jan/2009:13:25:46 -0800] [Job 17] Loading from cache...
    D [03/Jan/2009:13:25:46 -0800] [Job 18] Loading from cache...
    D [03/Jan/2009:13:25:46 -0800] [Job 19] Loading from cache...
    I [03/Jan/2009:13:25:46 -0800] Full reload complete.
    I [03/Jan/2009:13:25:46 -0800] Cleaning out old temporary files in "/var/spool/cups/tmp"...
    E [03/Jan/2009:13:25:46 -0800] Unable to find IP address for server name "uncle-bilbo"!
    I [03/Jan/2009:13:25:46 -0800] Listening to 127.0.0.1:631 on fd 3...
    I [03/Jan/2009:13:25:46 -0800] Resuming new connection processing...
    E [03/Jan/2009:13:25:46 -0800] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    D [03/Jan/2009:13:25:46 -0800] Discarding unused server-started event...
    D [03/Jan/2009:13:25:47 -0800] Report: clients=0
    D [03/Jan/2009:13:25:47 -0800] Report: jobs=4
    D [03/Jan/2009:13:25:47 -0800] Report: jobs-active=0
    D [03/Jan/2009:13:25:47 -0800] Report: printers=1
    D [03/Jan/2009:13:25:47 -0800] Report: printers-implicit=0
    D [03/Jan/2009:13:25:47 -0800] Report: stringpool-string-count=293
    D [03/Jan/2009:13:25:47 -0800] Report: stringpool-alloc-bytes=8304
    D [03/Jan/2009:13:25:47 -0800] Report: stringpool-total-bytes=6008
    D [03/Jan/2009:13:25:52 -0800] cupsdAcceptClient: 7 from localhost:631 (IPv4)
    D [03/Jan/2009:13:25:52 -0800] cupsdReadClient: 7 GET /printers HTTP/1.1
    D [03/Jan/2009:13:25:52 -0800] cupsdAuthorize: Authorized as root using Basic
    D [03/Jan/2009:13:25:52 -0800] [CGI] /usr/lib/cups/cgi-bin/printers.cgi started - PID = 13597
    I [03/Jan/2009:13:25:52 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13597)
    D [03/Jan/2009:13:25:52 -0800] cupsdSendCommand: 7 file=8
    D [03/Jan/2009:13:25:52 -0800] cupsdAcceptClient: 10 from localhost:631 (IPv4)
    D [03/Jan/2009:13:25:52 -0800] cupsdReadClient: 10 POST / HTTP/1.1
    D [03/Jan/2009:13:25:52 -0800] cupsdAuthorize: No authentication data provided.
    D [03/Jan/2009:13:25:52 -0800] CUPS-Get-Default
    D [03/Jan/2009:13:25:52 -0800] CUPS-Get-Default client-error-not-found: No default printer
    D [03/Jan/2009:13:25:52 -0800] cupsdProcessIPPRequest: 10 status_code=406 (client-error-not-found)
    D [03/Jan/2009:13:25:52 -0800] [CGI] show_all_printers(http=0x2409930, user="root")
    D [03/Jan/2009:13:25:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:52 -0800] cupsdReadClient: 10 POST / HTTP/1.1
    D [03/Jan/2009:13:25:52 -0800] cupsdAuthorize: No authentication data provided.
    D [03/Jan/2009:13:25:52 -0800] CUPS-Get-Printers
    D [03/Jan/2009:13:25:52 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
    D [03/Jan/2009:13:25:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:52 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:52 -0800] cupsdCloseClient: 10
    D [03/Jan/2009:13:25:52 -0800] PID 13597 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
    D [03/Jan/2009:13:25:54 -0800] cupsdReadClient: 7 GET /printers/HL2040?op=print-test-page HTTP/1.1
    D [03/Jan/2009:13:25:54 -0800] cupsdAuthorize: Authorized as root using Basic
    D [03/Jan/2009:13:25:54 -0800] [CGI] /usr/lib/cups/cgi-bin/printers.cgi started - PID = 13598
    I [03/Jan/2009:13:25:54 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13598)
    D [03/Jan/2009:13:25:54 -0800] cupsdSendCommand: 7 file=8
    D [03/Jan/2009:13:25:54 -0800] cupsdAcceptClient: 10 from localhost:631 (IPv4)
    D [03/Jan/2009:13:25:54 -0800] cupsdReadClient: 10 POST /printers/HL2040 HTTP/1.1
    D [03/Jan/2009:13:25:54 -0800] cupsdAuthorize: No authentication data provided.
    D [03/Jan/2009:13:25:54 -0800] Print-Job ipp://localhost:631/printers/HL2040
    D [03/Jan/2009:13:25:54 -0800] add_job: requesting-user-name="root"
    D [03/Jan/2009:13:25:54 -0800] Adding default job-sheets values "none,none"...
    I [03/Jan/2009:13:25:54 -0800] [Job 20] Adding start banner page "none".
    D [03/Jan/2009:13:25:54 -0800] Discarding unused job-created event...
    I [03/Jan/2009:13:25:54 -0800] [Job 20] Adding end banner page "none".
    I [03/Jan/2009:13:25:54 -0800] [Job 20] File of type application/postscript queued by "root".
    D [03/Jan/2009:13:25:54 -0800] [Job 20] hold_until=0
    I [03/Jan/2009:13:25:54 -0800] [Job 20] Queued on "HL2040" by "root".
    D [03/Jan/2009:13:25:54 -0800] Discarding unused printer-state-changed event...
    D [03/Jan/2009:13:25:54 -0800] [Job 20] job-sheets=none,none
    D [03/Jan/2009:13:25:54 -0800] [Job 20] banner_page = 0
    D [03/Jan/2009:13:25:54 -0800] [Job 20] argv[0]="HL2040"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] argv[1]="20"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] argv[2]="root"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] argv[3]="Test Page"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] argv[4]="1"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] argv[5]="job-uuid=urn:uuid:a5b660c0-8a51-311a-57a0-7cfa046475b0"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] argv[6]="/var/spool/cups/d00020-001"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[1]="CUPS_DATADIR=/usr/share/cups"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[6]="CUPS_SERVERROOT=/etc/cups"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[7]="CUPS_STATEDIR=/var/run/cups"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[8]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[9]="SERVER_ADMIN=root@uncle-bilbo"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[10]="SOFTWARE=CUPS/1.3.9"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[11]="TMPDIR=/var/spool/cups/tmp"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[12]="USER=root"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[13]="CUPS_SERVER=localhost"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[14]="CUPS_ENCRYPTION=IfRequested"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[15]="IPP_PORT=631"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[16]="CHARSET=utf-8"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[17]="LANG=en_US.UTF8"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[18]="PPD=/etc/cups/ppd/HL2040.ppd"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[19]="RIP_MAX_CACHE=8m"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[20]="CONTENT_TYPE=application/postscript"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[21]="DEVICE_URI=usb://Brother/HL-2140%20series"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[22]="PRINTER=HL2040"
    D [03/Jan/2009:13:25:54 -0800] [Job 20] envp[23]="FINAL_CONTENT_TYPE=printer/HL2040"
    I [03/Jan/2009:13:25:54 -0800] [Job 20] Started filter /usr/lib/cups/filter/pstops (PID 13599)
    I [03/Jan/2009:13:25:54 -0800] [Job 20] Started filter /usr/lib/cups/filter/brlpdwrapperHL2040 (PID 13600)
    I [03/Jan/2009:13:25:54 -0800] [Job 20] Started backend /usr/lib/cups/backend/usb (PID 13601)
    D [03/Jan/2009:13:25:54 -0800] Discarding unused job-state-changed event...
    D [03/Jan/2009:13:25:54 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
    D [03/Jan/2009:13:25:54 -0800] Discarding unused printer-state-changed event...
    D [03/Jan/2009:13:25:54 -0800] [Job 20] Printer using device file "/dev/usblp0"...
    D [03/Jan/2009:13:25:54 -0800] [Job 20] backendRunLoop(print_fd=0, device_fd=5, use_bc=0, side_cb=0x4029f0)
    D [03/Jan/2009:13:25:54 -0800] Discarding unused printer-state-changed event...
    D [03/Jan/2009:13:25:54 -0800] [Job 20] Page = 595x842; 18,12 to 577,830
    D [03/Jan/2009:13:25:54 -0800] [Job 20] slow_collate=0, slow_duplex=0, slow_order=0
    D [03/Jan/2009:13:25:54 -0800] [Job 20] Before copy_comments - %!PS-Adobe-3.0
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %!PS-Adobe-3.0
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%BoundingBox: 0 0 612 792
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%Pages: 1
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%LanguageLevel: 1
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%DocumentData: Clean7Bit
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%DocumentSuppliedResources: procset testprint/1.3
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%DocumentNeededResources: font Helvetica Helvetica-Bold Times-Roman
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%Creator: Michael Sweet, Apple Inc.
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%CreationDate: D:20070606214000+0500
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%Title: Test Page
    D [03/Jan/2009:13:25:54 -0800] [Job 20] %%EndComments
    D [03/Jan/2009:13:25:54 -0800] [Job 20] Before copy_prolog - %%BeginProlog
    D [03/Jan/2009:13:25:54 -0800] [Job 20] Before copy_setup - %%Page: 1 1
    D [03/Jan/2009:13:25:54 -0800] [Job 20] Before page loop - %%Page: 1 1
    D [03/Jan/2009:13:25:54 -0800] [Job 20] Copying page 1...
    D [03/Jan/2009:13:25:54 -0800] [Job 20] pagew = 559.0, pagel = 818.0
    D [03/Jan/2009:13:25:54 -0800] [Job 20] bboxx = 0, bboxy = 0, bboxw = 595, bboxl = 842
    D [03/Jan/2009:13:25:54 -0800] [Job 20] PageLeft = 18.0, PageRight = 577.0
    D [03/Jan/2009:13:25:54 -0800] [Job 20] PageTop = 830.0, PageBottom = 12.0
    D [03/Jan/2009:13:25:54 -0800] [Job 20] PageWidth = 595.0, PageLength = 842.0
    D [03/Jan/2009:13:25:54 -0800] [Job 20] Wrote 1 pages...
    D [03/Jan/2009:13:25:54 -0800] PID 13599 (/usr/lib/cups/filter/pstops) exited with no errors.
    D [03/Jan/2009:13:25:54 -0800] [Job 20] /usr/lib/cups/filter/brlpdwrapperHL2040: line 139: /usr/local/Brother/cupswrapper/brcupsconfig3: No such file or directory
    D [03/Jan/2009:13:25:54 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:54 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:54 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:54 -0800] cupsdCloseClient: 10
    D [03/Jan/2009:13:25:54 -0800] PID 13598 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
    D [03/Jan/2009:13:25:54 -0800] [Job 20] /usr/local/Brother/lpd/filterHL2040: line 129: /usr/local/Brother/lpd/rawtobr2: No such file or directory
    D [03/Jan/2009:13:25:54 -0800] [Job 20] GPL Ghostscript 8.63: Unrecoverable error, exit code 1
    D [03/Jan/2009:13:25:54 -0800] PID 13601 (/usr/lib/cups/backend/usb) exited with no errors.
    D [03/Jan/2009:13:25:54 -0800] PID 13600 (/usr/lib/cups/filter/brlpdwrapperHL2040) exited with no errors.
    D [03/Jan/2009:13:25:54 -0800] [Job 20] File 0 is complete.
    I [03/Jan/2009:13:25:54 -0800] [Job 20] Completed successfully.
    D [03/Jan/2009:13:25:54 -0800] Discarding unused printer-state-changed event...
    D [03/Jan/2009:13:25:54 -0800] Discarding unused job-completed event...
    D [03/Jan/2009:13:25:55 -0800] [Job 20] Unloading...
    D [03/Jan/2009:13:25:56 -0800] cupsdReadClient: 7 GET /printers/HL2040 HTTP/1.1
    D [03/Jan/2009:13:25:56 -0800] cupsdAuthorize: Authorized as root using Basic
    D [03/Jan/2009:13:25:56 -0800] [CGI] /usr/lib/cups/cgi-bin/printers.cgi started - PID = 13683
    I [03/Jan/2009:13:25:56 -0800] Started "/usr/lib/cups/cgi-bin/printers.cgi" (pid=13683)
    D [03/Jan/2009:13:25:56 -0800] cupsdSendCommand: 7 file=8
    D [03/Jan/2009:13:25:56 -0800] cupsdAcceptClient: 10 from localhost:631 (IPv4)
    D [03/Jan/2009:13:25:56 -0800] cupsdReadClient: 10 POST / HTTP/1.1
    D [03/Jan/2009:13:25:56 -0800] cupsdAuthorize: No authentication data provided.
    D [03/Jan/2009:13:25:56 -0800] CUPS-Get-Default
    D [03/Jan/2009:13:25:56 -0800] CUPS-Get-Default client-error-not-found: No default printer
    D [03/Jan/2009:13:25:56 -0800] cupsdProcessIPPRequest: 10 status_code=406 (client-error-not-found)
    D [03/Jan/2009:13:25:56 -0800] [CGI] show_printer(http=0x152e930, printer="HL2040")
    D [03/Jan/2009:13:25:56 -0800] cupsdReadClient: 10 POST / HTTP/1.1
    D [03/Jan/2009:13:25:56 -0800] cupsdAuthorize: No authentication data provided.
    D [03/Jan/2009:13:25:56 -0800] Get-Printer-Attributes ipp://localhost/printers/HL2040
    D [03/Jan/2009:13:25:56 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
    D [03/Jan/2009:13:25:56 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:56 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:56 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:56 -0800] cupsdReadClient: 10 POST / HTTP/1.1
    D [03/Jan/2009:13:25:56 -0800] cupsdAuthorize: No authentication data provided.
    D [03/Jan/2009:13:25:56 -0800] Get-Jobs ipp://localhost:631/printers/HL2040
    D [03/Jan/2009:13:25:56 -0800] cupsdProcessIPPRequest: 10 status_code=0 (successful-ok)
    D [03/Jan/2009:13:25:56 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:56 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:56 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:56 -0800] [CGI] lang="en_US.UTF8", locale="/en_US"...
    D [03/Jan/2009:13:25:56 -0800] cupsdCloseClient: 10
    D [03/Jan/2009:13:25:56 -0800] PID 13683 (/usr/lib/cups/cgi-bin/printers.cgi) exited with no errors.
    Cups config:
    # "$Id: cupsd.conf,v 1.1 2006/07/06 13:11:10 tpowa Exp $"
    # Sample configuration file for the Common UNIX Printing System (CUPS)
    # scheduler. See "man cupsd.conf" for a complete description of this
    # file.
    # Disable ssl by default, you have to generate own certs to use this feature eg. by this command:
    # openssl req -new -x509 -keyout /etc/cups/ssl/server.key -out /etc/cups/ssl/server.crt -days 365 -nodes
    # for other certs please refer to openssl manpage.
    # Setting Encryption to not required by default
    DefaultEncryption IfRequested
    # Log general information in error_log - change "info" to "debug" for
    # troubleshooting...
    LogLevel debug
    # Administrator user group...
    SystemGroup sys root
    # Only listen for connections from the local machine.
    Listen localhost:631
    # Socket disabled by default it makes KDE fail on CUPS
    # Listen /var/run/cups/cups.sock
    # To allow remote connections add for example
    # Listen <yourserverip>:631
    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow @LOCAL
    # Default authentication type, when authentication is required...
    DefaultAuthType basic
    # Restrict access to the server...
    # By default only localhost connections are possible
    <Location />
    Order allow,deny
    Allow localhost
    </Location>
    # Restrict access to the admin pages...
    <Location /admin>
    # Encryption disabled by default
    #Encryption Required
    Order allow,deny
    Allow localhost
    </Location>
    # Restrict access to configuration files...
    <Location /admin/conf>
    AuthType Basic
    Require user @SYSTEM
    Order allow,deny
    Allow localhost
    </Location>
    # Set the default printer/job policies...
    <Policy default>
    # Job-related operations must be done by the owner or an adminstrator...
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an adminstrator to authenticate...
    <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # End of "$Id: cupsd.conf,v 1.1 2006/07/06 13:11:10 tpowa Exp $".
    Last edited by hbarnwheeler (2009-01-03 23:36:53)

    Downloaded PPD file from here: http://www.profv.de/brother/
    Then, when I went to print, I'd get an error about foomatic.  I installed the following packages: foomatic-db, foomatic-db-engine, foomatic-filters and it worked.

  • How can I grant users the ability to pause/resume printing without a "print operators group" password.

    Greetings,
    We are running 10.8.5 on 30 machines in an active directory environment (graphics lab). The clients are experiencing a persistant error when pausing or resuming print jobs. Each time something is paused, it requires an administrator password to resume the job. Administrators are not always present so designers are locked out of all of the printers until we come in (or remote in) to authenticate.
    I spoke with Apple today and they said they would not support active directory accounts and that the account must be edited by the department that created the account because the restrictions come from the Active Directory account preferences.
    On the other hand, I ALSO read that I can edit this in the CUPS interface or modify it with the terminal command below, locally.
    dseditgroup -o edit -u admin_name -p -a user_name -t user _lpadmin
    "dseditgroup" adds the user_name to a group (in this case, _lpadmin).
    And admin_name is the name of your administrator's account.
    a) Must this be modified on the Active directory account or CAN I modify this on the local machine via CUPS or terminal?
    b) If so, how would I grant users the ability to resume printing without an admin password?
    c) If not, exactly what must be modified in the active Directory account to allow pause/resume without an admin password.
    I have seen a terminal command that adds users to the print operatiors group (Ipadmin) and I have seen some info on editing the CUPS interface, If i must edit the CUPS interface to allow this, can anyone point to detailed instructions on how to make this change.
    I also saw info on editing the CUPS interface but the suggestion lacked details as to how and how to return to default if it does not work.
    I also saw a post with these suggestions below but without detail as to how one would carry this out.
    /etc/cups/cupsd.conf
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    *#Require user @SYSTEM*
    *Require valid-user*
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    *#Require user @AUTHKEY(system.print.operator) @admin @lpadmin*
    *Require valid-user*
    Order deny,allow
    </Limit>
    /etc/authorization
    +The system.print.operator key is new to Snow Leopard and seems to control resuming and pausing a printer queue among other things.+
    <key>system.print.admin</key>
    <dict>
    <key>allow-root</key>
    <true/>
    <key>class</key>
    <string>user</string>
    <key>group</key>
    <string>staff</string>
    <key>shared</key>
    <true/>
    </dict>
    <key>system.print.operator</key>
    <dict>
    <key>allow-root</key>
    <true/>
    <key>class</key>
    <string>user</string>
    <key>group</key>
    <string>staff</string>
    <key>shared</key>
    <true/>
    </dict>
    I have read all posts on this subject and I still am not clear on how to proceed, please assist.
    Thanks in advance,
    V

    Hello again.  For AD environments you can run the following command on each workstation:
    sudo dseditgroup -o edit -n /Local/Default -u localadmin -p -a "Domain Users" -t group _lpadmin
    This command assumes you are typing this interactively on the machine.  Obviously change localadmin to the Mac's local admin's name.  When running you will be prompted for password twice.  Once to elevate permissions (sudo) and once to validate you are localadmin.
    If you are using Apple Remote Desktop (or JAMF or other management suite), you can push this command out while embedding the localadmin's password. 
    sudo dseditgroup -o edit -n /Local/Default -u localadmin -P yourpass -a "Domain Users" -t group _lpadmin
    Please note, if your password uses special characters (/-\) this may fail over ARD.
    In Mavericks, AD groups are cached once they are referenced.  If you are dealing with a lot mobile users (laptops) you might want to replace Domain Users with everyone
    R-
    Apple Consultants Network
    Apple Professional Services
    Author "Mavericks Server – Foundation Services" :: Exclusively available in Apple's iBooks Store

  • [SOLVED] Running cupsd without root permission.

    Hello,
    This is a newbie question about running the CUPS daemon as a regular user.
    The Arch Wiki page on CUPS said to "start the cups ... daemon" but did not say how.
    I searched the web and found that you can start it as a root user with the following command:
    # cupsd
    At this point, I can setup a printer, and everythings prints properly. However, I have to restart cupsd each time I reboot. Being a root only command, I can't add it to my startup script.
    What do I do?
    Here are some more details:
    I installed 64 bit arch a few days ago.
    I'm not using a desktop environment, just openbox window manager. The startup script I am using is the openbox-session autostart script.
    If I run the command "cupsd" as a regular user, I get bash: /usr/bin/cupsd: Permission denied. This is how I know it will not work. This rules out a typo in the startup script.
    Here is a list of all the steps/commands used to install cups:
    Turn printer on
    $ su
    enter root password
    # pacman -S cups
    # pacman -S cups-filters
    # pacman -S ghostscript
    # pacman -S gsfonts
    # pacman -S gutenprint
    # cupsd
    # exit
    $ firefox -new-window http://localhost:631
    Adding Printers and Classes
    Add Printer
    Login as root with the root password
    Select the local printer detected
    Default Name, Description, Location
    Select the model: Canon PIXMA MP510
    Default options
    Printed a test page.
    Got excited.
    Spent 4 hours trying to run cupsd in a startup script.
    I tried to add my regular user to the lp group.
    $ su
    enter root password
    # gpasswd -a michael lp
    $ exit
    $ groups michael
    confirmed that I'm added to lp
    $ cupsd
    I tried to chmod /usr/bin/cupsd, but got a weird error message "Child exited on signal 15". I used pacman to uninstall then reinstall cups undo this attempt.
    $ su
    enter root password
    # chmod a+rwx /usr/bin/cupsd
    # exit
    $ cupsd
    Some sites said to edit /etc/cups/cupsd.conf and comment out some lines. However, none of the lines mentioned exist in my /etc/cups/cupsd.conf file. I tried to comment out a few that looked close, but no success. I ended up commenting out everything and still no success. I used pacman to uninstall then reinstall cups undo this attempt, returning /etc/cups/cupsd.conf to it's original condition. Here is the file:
    # "$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $"
    # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
    # complete description of this file.
    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn
    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen /run/cups/cups.sock
    # Show shared printers on the local network.
    Browsing On
    BrowseLocalProtocols dnssd
    # Default authentication type, when authentication is required...
    DefaultAuthType Basic
    # Web interface setting...
    WebInterface Yes
    # Restrict access to the server...
    <Location />
    Order allow,deny
    </Location>
    # Restrict access to the admin pages...
    <Location /admin>
    Order allow,deny
    </Location>
    # Restrict access to configuration files...
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    </Location>
    # Set the default printer/job policies...
    <Policy default>
    # Job/subscription privacy...
    JobPrivateAccess default
    JobPrivateValues default
    SubscriptionPrivateAccess default
    SubscriptionPrivateValues default
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # Set the authenticated printer/job policies...
    <Policy authenticated>
    # Job/subscription privacy...
    JobPrivateAccess default
    JobPrivateValues default
    SubscriptionPrivateAccess default
    SubscriptionPrivateValues default
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # End of "$Id: cupsd.conf.in 7888 2008-08-29 21:16:56Z mike $".
    Thanking those in advance that can help.
    Last edited by mrallaire (2013-10-20 05:37:52)

    Well, the problem is now resolved. After using my wife's printer for 1.5 months I finally had the time to try it again. I got it working. I entered a lot of different commands, but the following is what finally did the trick. The ideas came from ThomasR on another forum post: https://bbs.archlinux.org/viewtopic.php?id=35567
    <code>
    # killall cupsd
    # groupadd printadmin
    # usermod -aG printadmin myusername
    # nano /etc/cups/cupsd.conf
    Add the following to the bottom of the file and save:
       SystemGroup printadmin
    # cupsd
    Add the printer using the web-based administration interface (in the web browser, go to URL http://localhost:631)
    </code>
    I looks like the lp group stuff that I entered in my first post was a few commands short of being effective. The printadmin group commands worked wonderfully. After rebooting the computer the change stuck, so I never had to restart the cups daemon each time I rebooted the computer.
    I don't know what way is better to start the cups daemon, cupsd or systemctl.
    <code>
    # cupsd
    vs.
    # systemctl enable cups.service
    # systemctl start cups.service
    </code>

  • How can my users unpause a printer without admin login?

    Everytime a printer goes into a paused state it requires me to login as the admin for the que to unpause the printer.  Any ideas?

    Hi!
    Disable printer queue password requirements for 10.5 (works also in 10.6.8):
    Mac OS X 10.5 requires you to enter an administrator's password to pause/resume a print queue, where no previous version of OS X has done so. This is extremely annoying in a lab setting -- if there's a paper jam or something, the queues on all the computers need to be restarted by an administrator, instead of the user just clicking Resume. I haven't seen a solution to this elsewhere, so here's what I came up with:
    1. As root, or in a Terminal session with su privileges, edit /etc/cups/cupsd.conf.
    2. Find this section:
    Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>     AuthType Default     Require user @AUTHKEY(system.print.admin) @admin @lpadmin     Order deny,allow</Limit>
    3. Remove the items you don't want limited: Pause-Printer, Resume-Printer, Pause-Printer-After-Current-Job, etc.
    4. Save the file, quit the editor, and restart your computer.
    Found here: http://hints.macworld.com/article.php?story=20081107092520601
    You can also do this in a webbrowser on localhost:631 (127.0.0.1:631)
    Peter.

  • Share CUPS-PDF trough SAMBA

    Hello
    I am having trouble making a working installation of CUPS-PDF to be shared through SAMBA. Windows XP can't find the shared printers, the archbox can find it's own printer shares but can not use cups-pdf through SAMBA because of "Idle - Tree connect failed (NT_STATUS_ACCESS_DENIED)".
    smb.conf
    # This is the main Samba configuration file. You should read the
    # smb.conf(5) manual page in order to understand the options listed
    # here. Samba has a huge number of configurable options (perhaps too
    # many!) most of which are not shown in this example
    # For a step to step guide on installing, configuring and using samba,
    # read the Samba-HOWTO-Collection. This may be obtained from:
    # http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
    # Many working examples of smb.conf files can be found in the
    # Samba-Guide which is generated daily and can be downloaded from:
    # http://www.samba.org/samba/docs/Samba-Guide.pdf
    # Any line which starts with a ; (semi-colon) or a # (hash)
    # is a comment and is ignored. In this example we will use a #
    # for commentry and a ; for parts of the config file that you
    # may wish to enable
    # NOTE: Whenever you modify this file you should run the command "testparm"
    # to check that you have not made any basic syntactic errors.
    #======================= Global Settings =====================================
    [global]
    # workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
    workgroup = WORKGROUP
    # server scomment = Printer Drivers
    path = /etc/samba/drivers
    browseable = yes
    guest ok = no
    read only = yes
    write list = roottring is the equivalent of the NT Description field
    server string = Samba Server
    comment = Printer Drivers
    path = /etc/samba/drivers
    browseable = yes
    guest ok = no
    read only = yes
    write list = root
    # Security mode. Defines in which mode Samba will operate. Possible
    # values are share, user, server, domain and ads. Most people will want
    # user level security. See the Samba-HOWTO-Collection for details.
    security = user
    # This option is important for security. It allows you to restrict
    # connections to machines which are on your local network. The
    # following example restricts access to two C class networks and
    # the "loopback" interface. For more examples of the syntax see
    # the smb.conf man page
    ; hosts allow = 192.168.1. 192.168.2. 127.
    # If you want to automatically load your printer list rather
    # than setting them up individually then you'll need this
    load printers = yes
    # you may wish to override the location of the printcap file
    ; printcap name = /etc/printcap
    # on SystemV system setting printcap name to lpstat should allow
    # you to automatically obtain a printer list from the SystemV spool
    # system
    printcap name = cups
    # It should not be necessary to specify the print system type unless
    # it is non-standard. Currently supported print systems include:
    # bsd, cups, sysv, plp, lprng, aix, hpux, qnx
    printing = cups
    # Uncomment this if you want a guest account, you must add this to /etc/passwd
    # otherwise the user "nobody" is used
    ; guest account = pcguest
    # this tells Samba to use a separate log file for each machine
    # that connects
    log file = /var/log/samba/%m.log
    # Put a capping on the size of the log files (in Kb).
    max log size = 50
    # Use password server option only with security = server
    # The argument list may include:
    # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
    # or to auto-locate the domain controller/s
    # password server = *
    ; password server = <NT-Server-Name>
    # Use the realm option only with security = ads
    # Specifies the Active Directory realm the host is part of
    ; realm = MY_REALM
    # Backend to store user information in. New installations should
    # use either tdbsam or ldapsam. smbpasswd is available for backwards
    # compatibility. tdbsam requires no further configuration.
    ; passdb backend = tdbsam
    # Using the following line enables you to customise your configuration
    # on a per machine basis. The %m gets replaced with the netbios name
    # of the machine that is connecting.
    # Note: Consider carefully the location in the configuration file of
    # this line. The included file is read at that point.
    ; include = /usr/local/samba/lib/smb.conf.%m
    # Configure Samba to use multiple interfaces
    # If you have multiple network interfaces then you must list them
    # here. See the man page for details.
    ; interfaces = 192.168.12.2/24 192.168.13.2/24
    # Browser Control Options:
    # set local master to no if you don't want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    ; local master = no
    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    ; os level = 33
    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don't use this
    # if you already have a Windows NT domain controller doing this job
    ; domain master = yes
    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    ; preferred master = yes
    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    ; domain logons = yes
    # if ycomment = Printer Drivers
    path = /etc/samba/drivers
    browseable = yes
    guest ok = no
    read only = yes
    write list = rootou enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    ; logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    ; logon path = \\%L\Profiles\%U
    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
    ; wins support = yes
    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z
    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes
    comment = Printer Drivers
    path = /etc/samba/drivers
    browseable = yes
    guest ok = no
    read only = yes
    write list = root
    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The default is NO.
    dns proxy = no
    # These scripts are used on a domain controller or stand-alone
    # machine to add or delete corresponding unix accounts
    ; add user script = /usr/sbin/useradd %u
    ; add group script = /usr/sbin/groupadd %g
    ; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
    ; delete user script = /usr/sbin/userdel %u
    ; dcomment = Printer Drivers
    path = /etc/samba/drivers
    browseable = yes
    guest ok = no
    read only = yes
    write list = rootelete user from group script = /usr/sbin/deluser %u %g
    ; delete group script = /usr/sbin/groupdel %g
    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /usr/local/samba/lib/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no
    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ;[Profiles]
    ; path = /usr/local/samba/profiles
    ; browseable = no
    ; guest ok = yes
    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = yes
    # Set public = yes to allow user 'guest account' to print
    public = yes
    guest ok = no
    writable = no
    printable = yes
    # This one is useful for people to share files
    ;[tmp]
    ; comment = Temporary file space
    ; path = /tmp
    ; read only = no
    ; public = yes
    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ;[public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = no
    ; printable = no
    ; write list = @staff
    # Other examples.
    # A private printer, usable only by fred. Spool data will be placed in fred's
    # home directory. Note that fred must have write access to the spool directory,
    # wherever it is.
    ;[fredsprn]
    ; comment = Fred's Printer
    ; valid users = fred
    ; path = /homes/fred
    ; printer = freds_printer
    ; public = no
    ; writable = no
    ; printable = yes
    # A private directory, usable only by fred. Note that fred requires write
    # access to the directory.
    ;[fredsdir]
    ; comment = Fred's Service
    ; path = /usr/somewhere/private
    ; valid users = fred
    ; public = no
    ; writable = yes
    ; printable = no
    # a service which has a different directory for each machine that connects
    # this allows you to tailor configurations to incoming machines. You could
    # alcomment = Printer Drivers
    path = /etc/samba/drivers
    browseable = yes
    guest ok = no
    read only = yes
    write list = rootso use the %U option to tailor it by user name.
    # The %m gets replaced with the machine name that is connecting.
    ;[pchome]
    ; comment = PC Directories
    ; path = /usr/pc/%m
    ; public = no
    ; writable = yes
    # A publicly accessible directory, read/write to all users. Note that all files
    # created in the directory by users will be owned by the default user, so
    # any user with access can delete any other user's files. Obviously this
    # directory must be writable by the default user. Another user could of course
    # be specified, in which case all files would be owned by that user instead.
    ;[public]
    ; path = /usr/somewhere/else/public
    ; public = yes
    ; only guest = yes
    ; writable = yes
    ; printable = no
    # The following two entries demonstrate how to share a directory so that two
    # users can place files there that will be owned by the specific users. In this
    # setup, the directory should be writable by both users and should have the
    # sticky bit set on it to prevent abuse. Obviously this could be extended to
    # as many users as required.
    ;[myshare]
    ; comment = Mary's and Fred's stuff
    ; path = /usr/somewhere/shared
    ; valid users = mary fred
    ; public = no
    ; writable = yes
    ; printable = no
    ; create mask = 0765
    ;[print$]
    ; comment = Printer Drivers
    ; path = /etc/samba/drivers
    ; browseable = yes
    ; guest ok = no
    ; read only = yes
    ; write list = root
    ;[CUPS-PDF_Printer]
    ; comment = funny
    ; path = /home/john/PDF
    ; browsable = yes
    ; read only = yes
    ; hide unreadable = yes
    ; guest ok = no
    cups
    # "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $"
    # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
    # complete description of this file.
    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn
    # Administrator user group...
    SystemGroup sys root
    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen /var/run/cups/cups.sock
    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseLocalProtocols CUPS dnssd
    # Default authentication type, when authentication is required...
    DefaultAuthType Basic
    # Web interface setting...
    WebInterface Yes
    # Restrict access to the server...
    <Location />
    Order allow,deny
    Allow 192.168.1.*
    Allow @LOCAL
    </Location>
    # Restrict access to the admin pages...
    <Location /admin>
    Order allow,deny
    </Location>
    # Restrict access to configuration files...
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    </Location>
    # Set the default printer/job policies...
    <Policy default>
    # Job/subscription privacy...
    JobPrivateAccess default
    JobPrivateValues default
    SubscriptionPrivateAccess default
    SubscriptionPrivateValues default
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # Set the authenticated printer/job policies...
    <Policy authenticated>
    # Job/subscription privacy...
    JobPrivateAccess default
    JobPrivateValues default
    SubscriptionPrivateAccess default
    SubscriptionPrivateValues default
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # End of "$Id: cupsd.conf.in 9407 2010-12-09 21:24:51Z mike $".
    Any suggestions?

    Hi Everyone!
    This pdf printer has been GREAT!
    But I did have to make one little tweak before it was good for me.
    The default PDF version of 1.4 produced an output file in which text would collide and overlap. Patching the build for PDF version 1.2 fixed it for me.
    Here's the amended PKGBUILD:
    pkgname=cups-pdf
    pkgver=1.7.0
    pkgrel=3
    pkgdesc="CUPS PDF Backend"
    depends=('cups')
    url="http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/"
    source=(http://cip.physik.uni-wuerzburg.de/~vrbehr/cups-pdf/cups-pdf_$pkgver.tar.gz)
    md5sums=('875ed70ec1acdab9d935bca45ee521f8')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    cat src/cups-pdf.h | sed "s|CPPDFVER "1.4"|CPPDFVER "1.2"|" > tmpFile
    mv tmpFile src/cups-pdf.h
    gcc -O9 -s -o cups-pdf -Isrc src/cups-pdf.c
    install -D -m 755 cups-pdf $startdir/pkg/usr/lib/cups/backend/cups-pdf
    install -D -m 644 extra/PostscriptColor.ppd.gz $startdir/pkg/usr/share/cups/model/Postscript.Color.ppd.gz
    p.s. I know posting PKGBUILD source to the forum is somewhat of a no no
    (sorry sarah31, and thank you for everything!)
    It just seemed like a good idea to correct this for the archive searchers.
    android

  • CUPS - can't seem to print more than one page

    Most of the time, it actually doesn't print anything. There's nothing in the error log. The job simply graduates to finished state without printing. Or some times, if I'm lucky, it'll print the first page, and graduate the job to finish state.
    I have a Samsung ML-2010, this is my cups.conf:
    # "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $"
    # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
    # complete description of this file.
    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn
    # Administrator user group...
    SystemGroup sys root
    # Only listen for connections from the local machine.
    #Listen localhost:631
    port 631
    Listen /var/run/cups/cups.sock
    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseLocalProtocols CUPS
    # Default authentication type, when authentication is required...
    DefaultAuthType Basic
    # Restrict access to the server...
    <Location />
    Order allow,deny
    Allow all
    Allow localhost
    Allow 127.0.0.1
    </Location>
    # Restrict access to the admin pages...
    <Location /admin>
    Order allow,deny
    </Location>
    # Restrict access to configuration files...
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    </Location>
    # Set the default printer/job policies...
    <Policy default>
    # Job-related operations must be done by the owner or an administrator...
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # Set the authenticated printer/job policies...
    <Policy authenticated>
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI>
    AuthType Default
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # End of "$Id: cupsd.conf.in 8805 2009-08-31 16:34:06Z mike $".
    usblp has been blacklisted.
    ls -l /dev/bus/usb/002/002
    crw-rw-r-- 1 root lp 189, 129 Mar 14 21:41 /dev/bus/usb/002/002

    kevku wrote:for me using regular cups with (!usblp) and samsung unified driver, ml-1610 seems to print every second job, not really a problem because I print like 20 pages a month. still
    try the solution from the comment above. I had the same problem and that was the fix:
    pacman -Rd cups
    yaourt -S cups-usblp
    and do NOT blacklist usblp.
    PS: I also updated the wiki to recommend cups-usblp for samsung printers.
    Last edited by Cosmin (2011-09-12 18:58:27)

  • Fax printer fails to work

    Hi folks,
    The Fax_Printer fails to work after running "pacman -Syu".
    On;
    File --> Print --> Fax_Printer --> Print
    No response.  The dialer does not popup for typing phone number
    On browser
    localhost:631/printers
    Fax_Printer
    Warning:
    "recoverable: Network host 'locahost' is busy; wiill retry in 25 seconds...."
    However no further response popup.
    $ cat /etc/cups/cupsd.conf
    DefaultEncryption IfRequested
    LogLevel info
    SystemGroup sys root
    # Only listen for connections from the local machine.
    Listen localhost:631
    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    DefaultAuthType Basic
    <Location />
    Allow localhost
    # Restrict access to the server...
    Order allow,deny
    </Location>
    <Location /admin>
    Allow localhost
    # Restrict access to the admin pages...
    Order allow,deny
    </Location>
    <Location /admin/conf>
    AuthType Basic
    Require user @SYSTEM
    Allow localhost
    # Restrict access to the configuration files...
    Order allow,deny
    </Location>
    <Policy default>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscriptio
    Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume
    Job CUPS-Move-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Pause-Printer Resume-Printer Set-Printer-Attributes Enable-Printer Disable-Printer Pause-Printer-After-Curre
    t-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startu
    -Printer Promote-Job Schedule-Job-After CUPS-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Ac
    ept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
    AuthType Basic
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    $ cat /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost arch.satimis.com
    192.168.0.52 arch.satimis.com
    # End of file
    The modem is on. 
    $ sudo /etc/rc.d/cups restart
    :: Stopping CUPS Daemon [DONE]
    :: Starting CUPS Daemon [DONE]
    Please advise where I have to check?  TIA
    However both HP_Printer and PDF_Printer are working w/o problem.
    Edit:
    Performed further test as follows;
    $ lsmod|grep lp
    lp 11972 0
    parport 38156 3 parport_pc,ppdev,lp
    $ dmesg|grep lp
    On node 0 totalpages: 261983
    Calibrating delay using timer specific routine.. 3620.49 BogoMIPS (lpj=6031192)
    PCI: If a device doesn't work, try "pci=routeirq". If it helps, post a report
    lp: driver loaded but no devices found
    lp0: using parport0 (interrupt-driven).
    lp: driver loaded but no devices found
    $ ls -l /dev/lp0
    crw-rw---- 1 root lp 6, 0 2008-04-16 21:43 /dev/lp0
    $ sudo pacman -Syu
    Password:
    :: Synchronizing package databases...
    core 24.5K 33.5K/s 00:00:01 [#####################] 100%
    extra is up to date
    community 331.3K 198.1K/s 00:00:02 [#####################] 100%
    archlinuxfr is up to date
    :: Starting full system upgrade...
    resolving dependencies...
    looking for inter-conflicts...
    Targets: rsync-3.0.2-1 abs-2.0-3
    Total Download Size: 0.27 MB
    Proceed with installation? [Y/n] Y
    :: Retrieving packages from core...
    abs-2.0-3-x86_64 7.4K 27.8K/s 00:00:00 [#####################] 100%
    :: Retrieving packages from extra...
    rsync-3.0.2-1-x86_64 266.2K 120.3K/s 00:00:02 [#####################] 100%
    checking package integrity...
    (2/2) checking for file conflicts [#####################] 100%
    (1/2) installing rsync [#####################] 100%
    ==> ABS now uses rsync, instead of cvsup, to synchronize your tree.
    ==> Please note the new configuration in /etc/abs.conf
    warning: /etc/abs/supfile.unstable saved as /etc/abs/supfile.unstable.pacsave
    warning: /etc/abs/supfile.testing saved as /etc/abs/supfile.testing.pacsave
    warning: /etc/abs/supfile.extra saved as /etc/abs/supfile.extra.pacsave
    warning: /etc/abs/supfile.core saved as /etc/abs/supfile.core.pacsave
    warning: /etc/abs/supfile.community saved as /etc/abs/supfile.community.pacsave
    warning: /etc/abs/abs.conf saved as /etc/abs/abs.conf.pacsave
    (2/2) upgrading abs [#####################] 100%
    Reboot Archlinux.  No warning in connection with udev was found on text scrolling.  Problem remains
    I found "FS#9867 - /dev/lp0 not created by udev"
    http://bugs.archlinux.org/task/9867
    The case is similar to mine.  Problem happens after running update/upgrade.  Previously the Fax_Printer worked w/o problem.
    Remark: I have WindowsXP running on this box (on another HD).  Sending and receiving faxes are w/o problem.
    I think I have to downgrade "udev" if w/o a solution.  Please advise how to do it?  TIA
    B.R.
    satimis
    Last edited by satimis (2008-04-16 14:58:13)

    Please provide the following relevant information so someone can help including:
    Printer Model -
    Detailed Problem Description -
    Operating System of computer (including service pack revision) - Done
    Connection Method - USB, Hardwired LAN, Wireless? -
    Make and model of router and modem? -
    Error messages - on printer screen and/or computer, any blinking light patterns? 
    If wireless, when the problem occurs, what is status of Blue Wireless light on printer, on, off or blinking? -
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Printing from Windows = only the first half of documents print

    I'm trying to set up a home print server, to allow access to an HP LaserJet 1005.  It's working OK locally and accessed when printing from another Linux box.  From XP and Vista, however, the first half of multiple-page documents print, and one-page ones don't print at all.  This seems to be the case when using any Windows postscript driver (such as Apple LaserWriter 16/600 PS and HP LaserJet III Postscript Cartridge), and with documents from any program.
    I can't see anything obvious in the logs when set to debug, as far as I understand them, they appear to show all pages printing, including the one-page documents which disappear completely.  Whether this show it to be a Cups problem rather than a Windows one, I'd rather not attempt to say!  This is /var/log/cups/error_log when printing a five-page document, in case there's something useful in it which I have missed.
    /etc/cups/cupsd.conf:
    LogLevel debug
    SystemGroup sys root lp
    # Allow remote access
    Port 631
    Listen /var/run/cups/cups.sock
    # Enable printer sharing and shared printers.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseRemoteProtocols CUPS
    BrowseAddress @LOCAL
    BrowseLocalProtocols CUPS dnssd
    DefaultAuthType Basic
    DefaultEncryption Never
    <Location />
    # Allow shared printing and remote administration...
    Order allow,deny
    Allow all
    Allow From all
    </Location>
    <Location /admin>
    # Allow remote administration...
    Order allow,deny
    Allow all
    Allow From localhost
    Allow From 192.168.1.33
    Allow From 192.168.1.34
    </Location>
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    # Allow remote access to the configuration files...
    Order allow,deny
    Allow all
    Allow From localhost
    Allow From 192.168.1.33
    Allow From 192.168.1.34
    </Location>
    <Policy default>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    <Policy authenticated>
    <Limit Create-Job Print-Job Print-URI>
    AuthType Default
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    /etc/cups/printers.conf:
    # Printer configuration file for CUPS v1.4.3
    # Written by cupsd on 2010-04-11 22:13
    # DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
    <Printer hp-laserjet-1005>
    Info HP LaserJet 1005 series
    Location Presario
    MakeModel HP LaserJet 1005 Series hpijs, 3.10.2, requires proprietary plugin
    DeviceURI hp:/usb/hp_LaserJet_1005_series?serial=0
    State Idle
    StateTime 1271020410
    Type 8425484
    Filter application/vnd.cups-raw 0 -
    Filter application/vnd.cups-postscript 100 foomatic-rip-hplip
    Filter application/vnd.cups-pdf 0 foomatic-rip-hplip
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy retry-job
    </Printer>

    Are you using Samba?
    Firstly a shot in the gloom:  If so, have you tried setting
    use client driver = yes
    in smb.conf, under the printers section? Or if it is yes, try no.
    The other thing you can try is to stop the file being printed/removed from the spool directory(s), and see where the lost stuff gets lost.
    To be honest, I'm not sure where/how you can do this, but I believe that samba will store the file initially in a spool file specified by smb.conf and then Cups will store it somewhere else. Changing the print commands to not print/remove the file from these two points may help identify the loss point.
    Can you plug the printer directly into the windows box and see what happens?

  • [SOLVED] Can't get printer to work

    Hi.  I followed the wiki on how to set up cups and add a printer.  But it's not working.  Here is the result of
    [paco@archnme ~]$ tail -n 100 -f /var/log/cups/error_log
    E [06/Jun/2011:19:56:35 -0400] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    E [06/Jun/2011:19:58:53 -0400] [CGI] Unable to create avahi client: Resource temporarily unavailable
    E [06/Jun/2011:19:58:53 -0400] [cups-deviced] PID 9453 (dnssd) stopped with status 1!
    E [06/Jun/2011:20:03:29 -0400] [CGI] Unable to create avahi client: Resource temporarily unavailable
    E [06/Jun/2011:20:03:29 -0400] [cups-deviced] PID 9492 (dnssd) stopped with status 1!
    E [06/Jun/2011:20:06:38 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:06:38 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:06:38 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:11:33 -0400] [Job 1] Stopping unresponsive job!
    E [06/Jun/2011:20:14:13 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:14:13 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:14:13 -0400] Request from "localhost" using invalid Host: field "archnme:631"
    E [06/Jun/2011:20:15:07 -0400] [CGI] Unable to create avahi client: Resource temporarily unavailable
    E [06/Jun/2011:20:15:07 -0400] [cups-deviced] PID 9656 (dnssd) stopped with status 1!
    E [06/Jun/2011:20:31:10 -0400] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    and here is my /etc/hosts
    # /etc/hosts: static lookup table for host names
    #<ip-address> <hostname.domain.org> <hostname>
    127.0.0.1 localhost.localdomain localhost archnme
    ::1 localhost.localdomain localhost archnme
    # End of file
    Here is /etc/cups/cupsd.conf
    # "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $"
    # Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
    # complete description of this file.
    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn
    # Administrator user group...
    SystemGroup sys root
    # Only listen for connections from the local machine.
    Listen localhost:631
    #Listen archnme:631
    Listen /var/run/cups/cups.sock
    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseLocalProtocols CUPS dnssd
    # Default authentication type, when authentication is required...
    DefaultAuthType Basic
    # Restrict access to the server...
    <Location />
    Order allow,deny
    </Location>
    # Restrict access to the admin pages...
    <Location /admin>
    Order allow,deny
    </Location>
    # Restrict access to configuration files...
    <Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    Order allow,deny
    </Location>
    # Set the default printer/job policies...
    <Policy default>
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # Set the authenticated printer/job policies...
    <Policy authenticated>
    # Job-related operations must be done by the owner or an administrator...
    <Limit Create-Job Print-Job Print-URI Validate-Job>
    AuthType Default
    Order deny,allow
    </Limit>
    <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    # All administration operations require an administrator to authenticate...
    <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # All printer operations require a printer operator to authenticate...
    <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
    </Limit>
    # Only the owner or an administrator can cancel or authenticate a job...
    <Limit Cancel-Job CUPS-Authenticate-Job>
    AuthType Default
    Require user @OWNER @SYSTEM
    Order deny,allow
    </Limit>
    <Limit All>
    Order deny,allow
    </Limit>
    </Policy>
    # End of "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $".
    Last edited by Pacopag (2011-06-07 14:35:48)

    It works now.  I'm not 100% sure what fixed it, but my guess is that it was blacklisting usblp
    Here are the steps.
    delete the printer using cups if it is already installed (this is what I didn't do at first, and what caused me to waste a couple hours screwing with other config files).
    open /etc/modprobe.d/modprobe.conf and add this line to it: blacklist usblp
    reboot.
    add the printer using CUPS  (this time "Local Printers" showed my Canon MP730 as an option)
    Cheers,

  • [SOLVED] Printer not showing up in print options but working (CUPS)

    I am using Lexmark X1270 and have got it working via CUPS web interface (printed test page and all), but even after restarting CUPS daemon and rebooting, it does not show up in File > Print in any apps like Firefox, Openoffice, etc. All I see in the print is "Print to file," no printer shows up.
    Last edited by colbert (2010-12-11 03:18:44)

    Same problem here with a HP LaserJet Professional 1102W.
    Also:
    [luc@borlox ~]$ lp
    lp: Error - scheduler not responding!
    [luc@borlox ~]$ lpstat -a
    lpstat: Connection refused
    /var/log/cups/error_log:
    W [06/Dec/2010:14:27:23 +0100] Duplicate listen address "127.0.0.1" ignored!
    E [06/Dec/2010:14:27:23 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    W [06/Dec/2010:14:30:19 +0100] Duplicate listen address "127.0.0.1" ignored!
    E [06/Dec/2010:14:30:19 +0100] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported
    /etc/cups/cupsd.conf:
    # "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $"
    # Sample configuration file for the CUPS scheduler.  See "man cupsd.conf" for a
    # complete description of this file.
    # Log general information in error_log - change "warn" to "debug"
    # for troubleshooting...
    LogLevel warn
    # Administrator user group...
    SystemGroup sys root
    HostNameLookups Double
    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen 127.0.0.1:631
    Listen /var/run/cups/cups.sock
    # Show shared printers on the local network.
    Browsing On
    BrowseOrder allow,deny
    BrowseAllow all
    BrowseLocalProtocols CUPS dnssd
    # Default authentication type, when authentication is required...
    DefaultAuthType Basic
    # Restrict access to the server...
    <Location />
      Order allow,deny
      Allow from All
    </Location>
    # Restrict access to the admin pages...
    <Location /admin>
      Order allow,deny
    </Location>
    # Restrict access to configuration files...
    <Location /admin/conf>
      AuthType Default
      Require user @SYSTEM
      Order allow,deny
    </Location>
    # Set the default printer/job policies...
    <Policy default>
      # Job-related operations must be done by the owner or an administrator...
      <Limit Create-Job Print-Job Print-URI Validate-Job>
        Order deny,allow
      </Limit>
      <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>
      # All administration operations require an administrator to authenticate...
      <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      </Limit>
      # All printer operations require a printer operator to authenticate...
      <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      </Limit>
      # Only the owner or an administrator can cancel or authenticate a job...
      <Limit Cancel-Job CUPS-Authenticate-Job>
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>
      <Limit All>
        Order deny,allow
      </Limit>
    </Policy>
    # Set the authenticated printer/job policies...
    <Policy authenticated>
      # Job-related operations must be done by the owner or an administrator...
      <Limit Create-Job Print-Job Print-URI Validate-Job>
        AuthType Default
        Order deny,allow
      </Limit>
      <Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job CUPS-Get-Document>
        AuthType Default
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>
      # All administration operations require an administrator to authenticate...
      <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      </Limit>
      # All printer operations require a printer operator to authenticate...
      <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
        AuthType Default
        Require user @SYSTEM
        Order deny,allow
      </Limit>
      # Only the owner or an administrator can cancel or authenticate a job...
      <Limit Cancel-Job CUPS-Authenticate-Job>
        AuthType Default
        Require user @OWNER @SYSTEM
        Order deny,allow
      </Limit>
      <Limit All>
        Order deny,allow
      </Limit>
    </Policy>
    # End of "$Id: cupsd.conf.in 9310 2010-09-21 22:34:57Z mike $".
    I would be very thankful for any hint.

  • PI 7.1 doesnu00B4t show DB02 history

    Hi friends,
    We have an NW PI 7.1 running on oracle 10.2.0.4 and AIX 6.1. I´am trying to view the Tablespace size history in TX:DB02 but when I view the table space detail layout in the tab of history, It shows me just the history by week and months but not for days.
    I tried to refresh the space overview, but with the same results.
    I check the saposcol and it is running.
    Do you have any idea of this problem?
    Thanks in advance.
    Enrique.

    Thank you.
    I executed the standar JOB SAP_COLLECTOR_FOR_PERFMONITOR.
    So now, I can see the space history completely, but when I see the job log, it shows:
    <<
    Job started
    Step 001 started (program RSCOLL00, variant , user ID DDIC)
    Database system not supported
    SAPOSCOL not running (shared memory available)
    Buffer statistics for piapppp transferred to MONI
    Job finished
    >>
    I have read the sap note (it references to note Note 966631 - Contents of TCOLL table in SAP_BASIS 710)that Warren Wong gave me and it has some points about to "avoid" some reports registered in table TCOLL with reference to Oracle 10 and higher, these reports are obsolete to this DB level. My question is about if I have to delete these reports(RSORAHCL) from table TCOLL, in order to avoid errors when I execute the SAP_COLLECTOR_FOR_PERFMONITOR log.
    Thanks in advance
    Enrique.

  • Protection of SAP Log Files

    Does anyone know of any tools (SAP or third-party) to protect SAP log files (system logs, security audit logs, etc.) from alteration by an authorized user (e.g., someone with SAP_ALL)?  We are looking for an audit-friendly method to protect log files such that someone with SAP_ALL privileges (via Firefighter or special SAP userid (DDIC, SAP*)) can't perform actions and then cover up their tracks by deleting log entries etc.  For example, we're wondering if any tools exist that enable the automatic export of the log files to a protected area (that's inaccessible to users with SAP privileges)?  We'd certainly appreciate any advice or insight as to how to resolve this issue.
    Regards,
    Gail

    For anyone who is interested, I wanted to pass along what we did (this was in response to an audit finding):
    First, SAP_ALL access is restricted to monitored Firefighter accounts (we already had that in place).  Recognizing that users with SAP_ALL and super-user access at the UNIX level (i.e., our Basis Team) can still circumvent pretty much any measure we take (e.g., can disable alerts in CCMS, delete batch jobs, deactivate Security Audit Log filters, delete Security Audit Log files, etc.), at least the actions would be captured via FF  (although they could disable that as well) or other utilities at the UNIX level.  And the more things the person has to disable/deactivate, the more likely it becomes that someone would notice that something was amiss. 
    Our company was already using SPLUNK to capture logs from other (non-SAP) systems so we decided to leverage that to capture and retain certain SAP Security Audit Log entries.  We created a batch job on SAP that runs a custom program at 5 minute intervals to extract records from the Security Audit Log files into a UNIX file (the program includes some logic that uses timestamps in the UNIX file to determine which records to extract).  The UNIX file is monitored by the UNIX tail-f command which is spawned by a Perl script.  The output from the tail-f command is then piped to a file on a central syslog server via the logger command in the script.  Finally, a SPLUNK process, which monitors syslog entries, extracts the information into SPLUNK real-time.
    This process is not bulletproof as our Basis Team (with SU privileges at the UNIX level) could disable the Perl script or delete/change entries within the UNIX file.  All we can really do is make it difficult for them to cover their tracksu2026
    Gail

  • Non-admin Printer Setup?

    At my work, none of the 350 users are admins. Before we can deploy Mac OS X 10.5.x, we have to allow them to add/delete their own printer. With Mac OS X 10.4.x, the Printer Setup Utility did not require an administrator name and password, so all was fine. But, I can't have 350 users submitting requests to me to add or delete printers for them 12 hours a day (there would have to me more than two more of me) from five time zones. Since there are remote users in 15 states and a total of 70 different offices, there's no way I can add all the printers someone might use ahead of time. How can I change Mac OS X 10.5.x to allow non-admin users to add printers?
    -Doug

    Follow up to my previous post.
    After some further thought, there are permutations to the procedure I set out before. If you want to open it up for all users to add and administer printers, you can comment out the applicable Policy sections of cupsd.conf. Specifically, the following blocks commented out will allow a Standard user (or any user) to add and administer printers. This can be done through the web interface, command line 'lpadmin', or through *Add Printer* from a print window. With this configuration, no password will be required.
    EDIT: No Parental Controls need be set with this method. The user could be Standard or Managed.
    <pre style="overflow: auto;font-size:small; font-family: Monaco, 'Courier New', Courier, monospace; color: #222; background: #ddd; padding: .3em .8em .3em .8em; font-size: 9px;"># <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
    # AuthType Default
    # Require user @SYSTEM
    # Order deny,allow
    # </Limit>
    # <Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs CUPS-Reject-Jobs>
    # AuthType Default
    # Require user @AUTHKEY(system.print.admin) @admin @lpadmin
    # Order deny,allow
    # </Limit></pre>
    Obviously, there are policy and security implications with the above. You will have to decide if the new policies are within your overall security limits.
    Note that I have left in place the earlier directive to allow only admin (sudoers) to change the cupsd.conf file.
    <pre style="overflow: auto;font-size:small; font-family: Monaco, 'Courier New', Courier, monospace; color: #222; background: #ddd; padding: .3em .8em .3em .8em; font-size: 9px;"><Location /admin/conf>
    AuthType Default
    Require user @SYSTEM
    # Restrict access to the configuration files...
    Order allow,deny
    Allow localhost
    </Location></pre>
    Matt
    Message was edited by: Matt Broughton

Maybe you are looking for

  • How to run a command line for every folder in a share

    I'm trying to use Robocopy to merge two user home directories shares from two different servers to a new server, but the only problem is that I can't use the /purge to mirror deletes because it will delete the other servers stuff (since one server's

  • Background image on a JPanel

    Hi I wonder if there's possible to set a background image, not just a colour, on a JPanel, and if so, how do I do it? /Nicklas

  • Converting larger documents

    I have downloaded Adobe ExportPDF and it seems to work when I try it on a single page. Then when I try to convert a 9 page document to Word in will not complete the upload, even after an hour or more. DHow do I get it to work on multi-page documents?

  • BDC - differentiate PO

    HI gurus I am doing BDC for me21 but in my flat file there is nothing to differentiate 1 PO from the other , how can I ??

  • Custom Lock objects few question issues

    Hello guys , i create a custom lock object for my z tables ( ZFISGC_MCFG )  which have 3 key field MANDT ID_EMPRESA CL_MVTOSGC now in my program doing testing i put a break point after the ENQUEUE_ of the lock object then when i go to the sm30 and tr