[solved] Printing via Cups fails

Hello Community,
software:
extra/poppler 0.20.0-1 [installed]
extra/cups 1.5.3-4 [installed]
extra/cups-filters 1.0.18-2 [installed]
aur/cups-xerox 2008.01.21-1 [installed]
for some days I have some bad problems with my two printers (a dell and a xerox workcentre)
If I try to print a testpage via cups it ends with:
"/usr/lib/cups/filter/pdftops failed" on both printers.
Same with printing via libre office, but the dell gives me a: "/usr/lib/cups/filter/foomatic-rip failed"
I already tried downgrading cups, cups-filters and poppler, no soloution, so any suggestions for me?
Regards
t4c
Last edited by t4c (2012-06-15 08:15:17)

My hp p1005 just stopped working.I tried everything and got nothing.I was blacklisting hplip,as once hplip-plugin was missing from aur,and had small problems.
Now it looks like brick.
Could hplip-plugin be included in repos instead aur?
Edit : works again with new packages.
Last edited by dare023 (2012-06-14 19:56:34)

Similar Messages

  • Printing via CUPS

    No device
    My printer (an HP ;-)) is not wireless. It is cabled to my Linux desktop, which serves it on the network for clients via CUPS (port 631). Can you give us a way to connect to it from the TP?

    exactly! It should be no problem to access a printer via ipp or lp in addition to the probably used socket connection. I have two HP printers connected to a NAS device to be able to print on both printers over the network. I would love to do so with my new touchpad. Besides with ipp the touchpad would be able to print on a wide variety of printers at once. Most printers, even from other vendors, unterstand PCL anway (ok, forget the really cheap ones with no own brain). Regards

  • Can't install local printer via cups

    I am trying to install a local parallel port printer (hp laserjet 5m) via the cups browser option.
    I followed the arch wiki on this topic.
    I am using windowmaker and dillo on an old p2 350.
    Loaded cups, ghostscript gimp-print and hpijs (which also loaded foomatic filters).
    Started the cups daemon and put it in rc.conf.
    Rebooted and dmesg shows the printer as HP Laserjet 5M and that lp0 is on parport0 (interrupt driven).
    But when I go to http://localhost:631 -> manage printers -> add printer I get an error that reads:
    "Unauthorized:
    This server could not verify that you are authorized to access this device."
    This happens whether I su - into root or not, which seems crazy!
    The wiki says it should at least ask me for a username and password.
    It seems as if no users at all are being recognized by cups.
    I have searched the net for the said error but have found little and nothing that makes any sense to me.
    Can anyone tell me why this happening and what I need to do.
    Peter

    I have now been able to add the printer as root via the command line:
    usr/sbin/lpadmin -p LaserJet -E -v parallel:/dev/lp0 -m HP_LaserJet_5M.ppd
    Now it shows up in dillo http://localhost:631 and prints a test page ok, but I still cannot configure it or do any admin task... same error message.
    For example I want to change the paper from letter to A4 etc....
    Can this be done from the command line... can't find it in the cups manual?
    Is the problem a cupsd.conf setting? If so which one? All the right ones for local host seem to be enabled by default.
    Why can I add a printer via the command line but not add it via the web browser?
    Peter

  • Xerox 8560 IP printer via IPP over WAN, CUPS?

    Hey discussers,
    I want to print via WAN on a local Xerox machine.
    I have a XEROX 8560 with integrated NIC,( local IP 192.168.0.100), according to Xerox they user prt 9100 for ipp instead of 631 for CUPS. I forwardet it to the printer, and they communicate, because it is printing out non-sense papers with CUPS Version and the IP and some unreadable lines.
    So I would like to know if I have to take a server (mac mini with leopard) and share the printer via cups through the server (which port must I forward to the server, 631?), or connect the printe directly via portforwarding ?
    Thans for any hints.

    Hey, PAHU, thx for your support.
    I solved the problem as the following:
    1. Portfw: 631 to local printer IP
    2. Use CUPS (localhost:631), add the printer with the Informations from the printer ( check correct Informations: name, place, IP), added as HP JetDirect / Appsocket, - important URL: (ipp://hostname/ipp/port)
    3. Choose model
    4. Print.
    5. when there is a authentication error, press restart at the printer window and then you can enter the ipp account.
    Don`t use as mentioned from Xerox Support Port 9100. That will create a lot of wasted paper!

  • Error printing with CUPS (SOLVED)

    Could some kind CUPS guru help me with a problem printing through CUPS?
    I have a postscript file which rendesr normally in all the software I have (okular etc) but for some reason does not print.
    The CUPS log shows:
    D [18/Dec/2012:08:27:57 +0000] [Job 167] Auto-typing file...
    D [18/Dec/2012:08:27:57 +0000] [Job 167] Request file type is application/postscript.
    D [18/Dec/2012:08:27:57 +0000] cupsdMarkDirty(---J-)
    D [18/Dec/2012:08:27:57 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
    I [18/Dec/2012:08:27:57 +0000] [Job 167] File of type application/postscript queued by "andrew".
    I [18/Dec/2012:08:27:57 +0000] [Job 167] Adding end banner page "none".
    D [18/Dec/2012:08:27:57 +0000] cupsdMarkDirty(---J-)
    D [18/Dec/2012:08:27:57 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] time-at-processing=1355819277
    D [18/Dec/2012:08:27:57 +0000] cupsdMarkDirty(---J-)
    D [18/Dec/2012:08:27:57 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
    D [18/Dec/2012:08:27:57 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
    D [18/Dec/2012:08:27:57 +0000] cupsdMarkDirty(----S)
    D [18/Dec/2012:08:27:57 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] job-sheets=none,none
    D [18/Dec/2012:08:27:57 +0000] [Job 167] argv[0]="Fprint"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] argv[1]="167"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] argv[2]="andrew"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] argv[3]="notes.ps"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] argv[4]="1"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] argv[5]="nocollate Duplex=None InputSlot=Default number-up=1 outputorder=normal PageSize=A4 position=center Resolution=600x600dpi nowrap job-uuid=urn:uuid:08c52a0f-73f7-3ac7-7632-7ee1e4465007 job-originating-host-name=localhost time-at-creation=1355
    819277 time-at-processing=1355819277"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] argv[6]="/var/spool/cups/d00167-001"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[0]="CUPS_CACHEDIR=/var/cache/cups"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[1]="CUPS_DATADIR=/usr/share/cups"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[4]="CUPS_REQUESTROOT=/var/spool/cups"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[5]="CUPS_SERVERBIN=/usr/lib/cups"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[6]="CUPS_SERVERROOT=/etc/cups"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[7]="CUPS_STATEDIR=/var/run/cups"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[8]="HOME=/var/spool/cups/tmp"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[10]="SERVER_ADMIN=root@hp-dm1"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[11]="SOFTWARE=CUPS/1.6.1"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[12]="TMPDIR=/var/spool/cups/tmp"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[13]="USER=root"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[14]="CUPS_MAX_MESSAGE=2047"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[15]="CUPS_SERVER=/var/run/cups/cups.sock"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[16]="CUPS_ENCRYPTION=IfRequested"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[17]="IPP_PORT=631"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[18]="CHARSET=utf-8"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[19]="LANG=en.UTF-8"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[20]="PPD=/etc/cups/ppd/Fprint.ppd"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[21]="RIP_MAX_CACHE=128m"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[22]="CONTENT_TYPE=application/postscript"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[23]="DEVICE_URI=fprint://home/andrew/.fprint"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[24]="PRINTER_INFO=Print to Fprint"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[25]="PRINTER_LOCATION=hp-dm1"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[26]="PRINTER=Fprint"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[27]="PRINTER_STATE_REASONS=none"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[28]="CUPS_FILETYPE=document"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[29]="FINAL_CONTENT_TYPE=printer/Fprint"
    D [18/Dec/2012:08:27:57 +0000] [Job 167] envp[30]="AUTH_I****"
    I [18/Dec/2012:08:27:57 +0000] [Job 167] Started filter /usr/lib/cups/filter/pstopdf (PID 7895)
    I [18/Dec/2012:08:27:57 +0000] [Job 167] Started filter /usr/lib/cups/filter/pdftopdf (PID 7896)
    I [18/Dec/2012:08:27:57 +0000] [Job 167] Started filter /usr/lib/cups/filter/foomatic-rip (PID 7897)
    I [18/Dec/2012:08:27:57 +0000] [Job 167] Started backend /usr/lib/cups/backend/fprint (PID 7898)
    So it seems to be identifying the files correctly as postscript, and then tries to conver it to a pdf using its pstopdf filter, then proceeds to run pdftopdf for some reason, filter it through foomatic-rip and then through the fprint filter (mine).
    I have no idea why it needs to go through all those filters first, however it fails early,at the pstopdf step:
    pstopdf 6 args: 167 andrew notes.ps 1 nocollate Duplex=None InputSlot=Default number-up=1 outputorder=normal PageSize=A4 position=center Resolution=600x600dpi nowrap job-uuid=urn:uuid:08c52a0f-73f7-3ac7-7632-7ee1e4465007 job-originating-host-name=localhost time-at-creation=1355819277 time-at-processing=1355819277 /var/spool/cups/d00167-001
    PID 7895 (/usr/lib/cups/filter/pstopdf) stopped with status 1.
    I looked at /var/spool/cups/d00167-001 and it is a faithful copy of the postscript file, but running the command from the command line produces:
    # /usr/lib/cups/filter/pstopdf 167 andrew notes.ps 1 nocollate Duplex=None InputSlot=Default number-up=1 outputorder=normal PageSize=A4 position=center Resolution=600x600dpi nowrap job-uuid=urn:uuid:08c52a0f-73f7-3ac7-7632-7ee1e4465007 job-originating-host-name=localhost time-at-creation=1355819277 time-at-processing=1355819277 /var/spool/cups/d00167-001
    DEBUG: pstopdf 18 args: 167 andrew notes.ps 1 nocollate Duplex=None InputSlot=Default number-up=1 outputorder=normal PageSize=A4 position=center Resolution=600x600dpi nowrap job-uuid=urn:uuid:08c52a0f-73f7-3ac7-7632-7ee1e4465007 job-originating-host-name=localhost time-at-creation=1355819277 time-at-processing=1355819277 /var/spool/cups/d00167-001
    DEBUG: PPD:
    ERROR: /usr/lib/cups/filter/pstopdf job-id user title copies options [file]
    Running the command without the options produces a PDF file on stdout.
    The questions seem to be, why does CUPS try to convert a Postscript file to a PDF and then back to Postscript via foomatic-rip, and why does that conversion fail for me?
    Incidentally I am using one of the Generic Postscript PPD files
    Thanks for any guidance
    Andrew
    Last edited by fdservices (2012-12-19 12:14:09)

    Turns out this whole thing was nothing to do with CUPS, but resulted from my root partition filling up.
    Embarrasing or what?
    Sorry
    Andrew

  • CUPS print job options fail when called from lp (UNIX command line)

    Under Leopard this command-line print request fails to respect the specified job options:
    lp -o number-up=2 -o page-border=double <filename>
    Though it worked great in Tiger, the number-up and page-border job options are now disregarded. I have tried lots of things (and wasted lots of paper) such as setting them permanently with lpoptions (and they do appear changed when the lpoptions command is repeated), using lpr instead of lp, reinstalling the printer via the CUPS localhost web interface, enabling non-Bonjour scanning with the hack to the CUPS preference file, deselecting "Last Printer Used" for the default printer in the System Preferences -- nope.
    I have not tried other job options; I assume that whatever is breaking these two is breaking all the others, and even if it isn't, these two are what I want.
    Is something new in Leopard overriding lpoptions job options? How do I make it stop? It is sooooo aggravating when something that used to work fine breaks. The printer is an HP LaserJet 4000N connected by Ethernet and discovered with AppleTalk.
    Thanks for any advice!

    Thanks John, I did search but somehow missed that thread.
    However it did not help. With or without the "-p printername" argument lpoptions does make a persistent change to its own data:
    +$ lpoptions+
    +media=Letter sides=one-sided finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=2 auth-info-required=none job-sheets=none,none printer-info=Barrow printer-is-accepting-jobs=1 printer-is-shared=0 printer-location='Local Zone' printer-make-and-model='HP LaserJet 4000 Series' printer-state=3 printer-state-change-time=1209495301 printer-state-reasons=none printer-type=2134228 page-border=double+
    You can see that the printer "Barrow" has remembered "number-up=2" and "page-border=double". Regardless if I give any of these commands:
    +lpr <filename>+
    +lpr -P Barrow <filename>+
    +lp <filename>+
    +lp -d Barrow <filename>+
    none of them show the results of these option settings (and somewhere in the forest another tree is cut down).

  • [SOLVED] Unable to Print from CUPS - DBus Errors?

    Hi all-
    I'm unable to print on CUPS after doing a recent system upgrade. Not excatly sure what's going on, but below is an output of the error log. Just as a side note- I have two arch machines. The one I'm having problems with has XFCE, my other arch has aweosme and cups works fine. So we can rule out the actual printer as being the problem.
    A few of the errors below are attempts to cancel a test print page job and getting forbidden. Not sure why this would happen other than possibly not logging in as root, but that's not even the main issue. So yea, any help would be appreciated.
    Just one more thing, I've noticed in /etc/cups that one of the config files was renamed to cupsd.conf.pacnew. Anyone know why pacman is over-writting those config files?
    W [27/Mar/2013:12:37:37 -0400] AddProfile failed: org.freedesktop.DBus.Error.UnknownMethod:No such interface `org.freedesktop.ColorManager' on object at path /org/freedesktop/ColorManager/devices/cups_EPSON_Stylus_Photo_R220
    E [27/Mar/2013:15:37:31 -0400] Returning HTTP Forbidden for Cancel-Job (ipp://localhost/jobs/44) from localhost
    E [27/Mar/2013:15:39:22 -0400] Returning HTTP Forbidden for CUPS-Add-Modify-Printer (ipp://localhost/printers/EPSON_Stylus_Photo_R220) from localhost
    E [27/Mar/2013:15:40:34 -0400] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
    E [27/Mar/2013:15:40:34 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
    E [27/Mar/2013:15:41:19 -0400] Returning HTTP Forbidden for Cancel-Job (ipp://localhost/jobs/44) from localhost
    E [27/Mar/2013:15:42:07 -0400] Returning HTTP Forbidden for Purge-Jobs (ipp://localhost/printers/EPSON_Stylus_Photo_R220) from localhost
    E [27/Mar/2013:15:42:31 -0400] Returning HTTP Forbidden for CUPS-Get-Devices (no URI) from localhost
    E [27/Mar/2013:15:42:31 -0400] [CGI] CUPS-Get-Devices request failed with status 401: Forbidden
    Last edited by w201 (2013-03-27 21:57:26)

    Inxsible wrote:
    w201 wrote:Just one more thing, I've noticed in /etc/cups that one of the config files was renamed to cupsd.conf.pacnew. Anyone know why pacman is over-writting those config files?
    In fact, it's not overwriting the config file, which is why you have a pacnew file. You need to read up a bit more on pacman and pacnew and pacsave in general.
    You should merge any and all pacnews with your corresponding config files if pacman tells you that it has created a pacnew file during upgrade. Don't just replace them with newer versions though, because it can lead to bad things like locking you out of the system if you do that for certain files like group or gshadow etc.
    You're completely right, it's not overwriting the files, hence pacnew... bad choice of words.
    ***EDIT***
    Okay....well, I read up on pacnew and pacsave. Thanks for pointing that out, Inxsible. Merging the files solved the problem.
    Thanks again!
    Last edited by w201 (2013-03-27 21:57:00)

  • [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.

  • CUPS - printer via network /printserver

    Hi there,
    I have got some problems with a printer via network.
    Situation:
    Me - Arch (updated)
    The Printer is connected with a printserver (Canyon) - this one is normaly conected with our LAN and is run by our Server (Windows 2000).
    Normally (which also worked with Ubuntu) I have to install the printer via the Window2000-PC.
    This I did with the gnome-cups-manager (the whole process with the ppd-files and so on)....
    Now the problems: I can't print: All the time, when I want to print a test-page, the printer is stopped - the job, too!
    I saw the part in the wiki (deleting the printer and adding it again) but it doesn't work!
    Next problem is, that I'm just able to print or configure the printer as root,
    what can I do?
    If you need more information, you'll get them
    Thanks
    Martin

    With network printers the better way, at least in my opinion, is to use the printer's IP address and use that to communicate with it. I tend to add it to my /etc/hosts and that gives me a simple way to "talk" to the printer accurately.
    Hope this helps.
    R

  • I am trying to print via blue tooth to a canon printer.  so soon as I send a document it fails

    I am trying to print via blue tooth to a canon printer.  so soon as I send a document it fails

    It may be a problem with your printer. Try posting on a Canon forum. Often times it is not your Mac.
    <Edited By Host>

  • Trouble printing with my HP Deskjet printer using CUPS and hplip

    tl;dr This 1,646 word post describes my frustration with CUPS and hplip. I cannot get my HP Deskjet F4400 set up with CUPS, and all the solutions I've tried don't work.
    I'm running Arch Linux ARM on my Seagate DockStar, a small ARM-based "plug computer" that I use as a home server. My printer is the HP Deskjet F4480, which is part of the HP Deskjet F4400 series.
    I previously had CUPS set up to share my printer with my home network, using hplip for the printer driver. I never upgraded CUPS or hplip because those versions worked fine, and I didn't want to break anything avoid breaking anything. The versions that I was using had to have been at least one to two years old.
    Everything was working very smoothly... until a few days ago. The drive I was running Arch Linux ARM on became corrupt, so I had to install a fresh copy of the operating system. That meant losing all of the working versions and configuration files each application I had installed, including CUPS. I thought I had a backup image of the drive, but it didn't work when I tried to restore it. (Yes, it was stupid of me not to test my backup.)
    Setting up CUPS was one of the first things that I wanted to do after reinstalling, since my family depends on the network printing functionality almost daily. Unfortunately, I could not get CUPS to work with my printer correctly. It wouldn't be able to display a list of drivers, HP's setup utility encountered an error adding it, and it threw various errors when I tried to print test pages. I ended up reading hundreds of forum posts, wiki articles, and CUPS/hplip tutorials to try to figure out how to properly set it up. I ended up spending a total of nearly ten hours trying to get the printer to print with CUPS, and it's still not working after all that work.
    I'm going to explain in this post some of the many things that I've tried so far. I just removed all of the printing packages from my system and any extra files that were left behind. I'm now going to be installing all of the packages again and documenting everything that I have been trying to do to get it to work. I'll try to include exact error messages and logs where necessary.
    1. I first found this article on the Arch Linux ARM website on how to set up a CUPS printer. I didn't really want to use webmin, but I did it anyway so that I could follow the guide. I installed all the packages mentioned except for cups-pdf, since I didn't need print to PDF support. Everything installed smoothly, and I configured CUPS and webmin to allow access to other computers on the network. I started to notice problems in the instructions - /etc/rc.d/cups was actually /etc/rc.d/cupsd, /etc/printers.conf was actually /etc/cups/printers.conf, and webmin didn't actually add anything to the printers.conf file. I uninstalled webmin at this point because I didn't need it, and I decided I wasn't going to follow that guide with incorrect information.
    2. I then tried to set up the printer on my own using the CUPS web interface listening on port 631. I clicked the Add Printer button and it switched me to the HTTPS web interface. I then logged into the root account and was presented with the list of printers. My printer was listed as "HP Deskjet F4400 series (HP Deskjet F4400 series)", so I selected it and continued. I saw a list of printer models (PPD files) ending in CUPS+Gutenprint v5.2.9. There was no entry for my printer, so I tried the "HP DeskJet Series (en)" one. I set the default options and chose Maintenaince->Print test page. I then got a ridiculously simple error: "Unable to print test page: No such file or directory". How do I even know what file or directory it's referencing? I read online that it may be because I'm not in the lp group, but root is indeed in there. I saw in the error log "Avahi client failed: -26". I started dbus and avahi-daemon just in case, but I still got that silly error. I restarted cups and the same error message occured.
    3. I researched online that pretty much the only way for my printer to have a driver would be to install hplip. Before installing hplip, I uninstalled CUPS, leaving cupsd.conf but deleting printers.conf. Then I installed CUPS and hplip together, with hplip requiring foomatic-db, foomatic-db-engine, and foomatic-filters. Everything seemed to install correctly. I started CUPS again and then ran hp-setup -i to try to install my printer. I selected USB and it found my printer, hp:/usb/Deskjet_F4400_series?serial=[printer serial number here]. I entered a simple name and then was told that no PPD file was found for the printer but that I could specify one manually. There were none I could find online; everywhere it just said to install hplip. I used the find command to find "f4400" and finally found 2 compressed PPDs located at /usr/share/ppd/HP/hp-deskjet_f4400_series-hpijs.ppd.gz and /usr/share/ppd/HP/hp-deskjet_f4400_series.ppd.gz. I gunzipped both of them and pointed hpsetup to the hpijs one, knowing that I was using the hpijs one when it was working before. It told me "Description for the file: HP Deskjet f4400 Series hpijs, 3.12.6". Hooray! I selected to use it, but then setup failed: "error: Printer queue setup failed. Please restart CUPS and try again." Ugh!
    4. I restarted CUPS and went into the hp-setup process again. It gave me the same printer queue setup failed error. I don't know if these entries in the CUPS error log are related or not, but these errors relating to foomatic showed up. I restarted CUPS again and this time used the non-hpijs file with hp-setup. This one was called "Description for the file: HP Deskjet f4400 Series, hpcups 3.12.6". It failed again with the same error and the same entries in the error log. I found lots of posts online about this error, but none seemed to have a solution that would work for me. Now I tried running hp-setup in debug mode with -g. Here is what it said before the error. I then tried to Google "debug: addPrinter() returned (0, Unable to connect to CUPS server)". I saw on an Arch bug report to install dbus-python and python2-gobject, as well as create a symlink for /usr/bin/python2 to /usr/bin/python. It didn't work - same error.
    5. I then tried to add the printer to CUPS via its web interface. Now there were two listed,  HP Deskjet F4400 series (HP Deskjet F4400 series) and HP Deskjet F4400 series USB [printer serial number here] HPLIP (HP Deskjet F4400 series). So, hplip added the second one. I tried both of them, but after clicking Continue the page started to hang. I got another stupid, undescriptive error. "Unable to get list of printer drivers: Success". I saw the same foomatic errors in the error log as before. I then started reading the ArchWiki page on CUPS, located here. I tried the blacklisting usblp. I tried changing the permissions on the device node, although this starts to become ridiculous that it is even required to do that. Nothing was working; the printer installation still didn't work with hp-setup or with CUPS. Then, I found what I was looking for: the exact error I had on the wiki page! It said for "Unable to get list of printer drivers" you should "Try to remove Foomatic drivers." WTF? Foomatic is required for hplip, and hplip is required for my printer. I can't do that. Forum posts say to try that or do the permissions or usblp thing. Nothing is working.
    6. I tried various other things to get it to work, even though I knew they probably wouldn't make it any different. I copied the PPDs from hplip to another folder and uninstalled hplip and foomatic. I then added them to /usr/share/cups/model and CUPS successfully found them and set up the printer. I reinstalled hplip and foomatic since they're needed for those PPDs to function, and I tried printing a test page. It failed. I tried using the CUPS web interface to modify the printer driver; nope, that wasn't going to happen: "Unable to get list of printer drivers: Success".
    That concludes the list of some of the things that I have tried so far. I really want to get this printer working, but right now I am really fed up with CUPS and hplip. It's things like this that make me hesitant to recommend Linux to anyone else. So much manual configuration and tinkering the inner workings of things is required to do tasks that would be quite simple on Windows. For example, I can plug this printer into my Windows 7 machine right now, wait for the driver to automatically be installed and configured, and have a test page in my hands less than a minute after I first plugged in the USB cable. I can share the printer with any other Windows machine on the network by checking a single checkbox.
    But back to my problem with getting the printer to work on my DockStar. I just uninstalled all of CUPS, hplip, and foomatic again and removed all of their files. I can walk through things to try that you guys post and then give you full logs of everything - just give me exactly what to do and install and the exact order to do it all in. I just don't know what to do at this point and am so frustrated with this that I'm about to give up.
    Does anyone have any suggestions on how to get this printer working? I know this was a very long post, but I just wanted to explain everything that I've tried and how nothing worked. I really hope that we can figure this out so that I'll be able to print, and maybe it'll solve a few other people's problems with their printers, too. Thanks for reading, and thanks in advance for the help.

    Had similar issue with my HP Deskjet F4500C All in one printer, here's what I did:
    make sure these packages are installed or install them
    pacman -S cups cups-pdf hplip pyqt3 python2-pyqt
    pacman -S system-config-printer-gnome
    rc.d cups start
    To add device and install hp driver:
    1. Run ‘hp-setup’ as root.
    2. Click ‘Show Advanced Options’ button and check-enable ‘Manual Discovery’.
    3. Enter IP address 192.168.59.63 in the ‘…device ID…’ entry and click ‘Next’ to install driver.
    run system-config-printer as root, to add printer
    # system-config-printer
    click “Add”, Select Device -> Network Printer -> input the IP address of the printer such as “192.168.1.3″, click “Find” -> “Process”
    you should be ok from here, if not some further steps:
    If you encounter the following error:
    File “/usr/share/system-config-printer/newprinter.py”, line 1531, in getNetworkPrinterMakeModel
    debugprint (host + “: ” + args)
    TypeError: cannot concatenate ‘str’ and ‘list’ objects
    You should comment out the error line at 1531 of newprinter.py, and then continue to add the printer.
    4). Finally, you can run hp-check to see what problems exists for the printer.

  • LaserJet P2055DN - will not print via network

    Set up the printer last night as a network printer (replacing an older LJ 2300dn). It would not print a test page. To verify that the printer was good, I loaded the drivers into my laptop and connected via usb.  Was able to print a test page via usb.  Disconnected usb and reconnected network cable. Released and reset ip address.  Verified ip address by pinging from host.   When I ping the printer I loose usually half of the packets.  There are two other HP printers on the network, a P2015dn and a LJ color 2605dn. Pinging their ip address returns 100% with a ttl=255. Pinging the p2055 produced 4 packets sent, 2 packets received, 2 packets lost, ttl=64 on the 2 returns.  I have changed cables to the printer and interchanged ports on the network switch (verified the ports on the network switch by printing to the LJ 2605) with the same result. I cannot get the internal web server to come up, or it partially displays, or combinations of the above.  If this had the older style removable print server like in my lj2300, I could swap it out, but it doesn't look like I can do that with this model.  When I send a test page to the printer, it displays "printing", the green light on the top is flashing, the activity light on the network card is flashing, but nothing happens. Eventually, I get a "this document failed to print' notification on the host, but the printer still indicates "printing" and the lights are still flashing.  Anyone have any ideas?  I think I'm looking at a bad network/print server card in the P2055.
    This question was solved.
    View Solution.

    I also had problems printing via the network to hp p2055dn. There was no problem printing via USB. All network settings were ok. Can ping, etc...
    Many days of wrangling, finally found that the Network Config.Security had to be Reset on the printer's physical control panel.
    Press Ok on the printer control panel --> press down arrow, you get to Setup Menu Network Config  --> press Ok --> A number of down arrows down you get to Network Config. Security --> press Ok --> you have two options - Keep or Reset --> Choose Reset........ Network printing should be working fine.

  • Printing: (old) Lexmark Printer via USB - Router - Arch

    Hey Guys,
    i am trying to get my printer working on Arch.
    Printer: Lexmark T632
    Router: (Vodafone) EasyBox 802
    System: Arch
    The printer is kinda old and does not have a network connection, so it is connected via usb with the router.
    Printing works with windows (xp to 8).
    At the moment i have cups installed, as well as "lexmark-inkjet-legacy".
    Cups is working and i can access the network interface, also i can set up a printer. (i did, and its not working - when i try to print the interface says "Filter Failed")
    What i did in windows to get it working:
    1. add a local printer
    2. create a new interface -> default TCP/IP
    3. enter ip of the router, in my case 192.168.2.1
    4. select the driver
    5. for devicetype select custom and not generic
    6. in this custom window select protokoll "lpr"
    7. and it works.
    So, i tried doing this in cups:
    1. add printer, LPD/LPR Host or Printer
    2. entered ip: "192.168.2.1/515" (as 515 is his queue name given in the router settings), just "192.168.2.1" did not work
    3. enter name etc
    4. now i can either choose a specific driver, or upload a ppd file. i did the last one as the list does not contain my printer. The file i used for this is http://support.lexmark.com/index?docLoc … rlocale=EN
    Now, if i try to print via "lpr filename", no error occurs. But in the networkinterface under "Jobs" under "State" says "stopped, Filter failed"
    Guess this is because i dont have the right driver for my printer.
    The Lexmark webside provides a .deb package for my printer, but installing this did not help (see http://support.lexmark.com:80/lexmark/i … id=DR21363 ) or get me more entries in the driver selection.
    This download also provides a tool called "lexmark" where you can setup printers - but i did not figure out how to use this to set up an lpd printer.
    does anyone has an idea what i could do?
    Last edited by cars10 (2014-04-21 20:35:08)

    czubek wrote:Qinohe had a good suggestion with the RPi. It has two usb ports. One could serve the printer and the other a usb wifi dongle. I have an RPi for my print server but it is hard wired to my router.
    Using a RPI has another advantage, you could setup SANE to act as a server together with xinetd, that way everybody in the house can use the scanner too, could be a lot of walking, though
    I seldom use the scanner, so I decided to keep that one local, on the PI.
    Btw. Mine is also hardwired..

  • [SOLVED] Printer prints garbage text - Error with pstoraster

    I have a Epson Stylus C43SX printer, which is connected to LPT#1.
    When I try to print something, the printer will print garbage text.
    From cups manager browser interface ( http://localhost:631 ), if I try to print the test page, it prints out garbage.
    If I select 'Print self-test page', the cups manager reports an error -
    "/usr/lib/cups/filter/pstoraster failed"
    The description of printer, as seen on cups manager page -
    Description: Epson Stylus C43SX
    Location:
    Printer Driver: Epson Stylus C43SX - CUPS+Gutenprint v5.0.1
    Printer State: idle, accepting jobs, published.
    Device URI: parallel:/dev/lp0
    Cups package version                      cups 1.3.4-1
    Gutenprint package version              gutenprint 5.0.1-3
    Thanks in advance!
    Edit: Added [SOLVED] to the subject
    Last edited by d2v (2007-11-17 08:21:25)

    I can print properly again. I reinstalled arch and added the printer using cups http interface.

  • Installing HP Photosmart B210 (network) fails - posts error 'The Printer Installati​on Failed'

    Hi - I have an HP Pavilion Elite HPE on a home network containing a wireless HP Photosmart B210 printer/scanner.  This setup has been working for >1.5 years, then about 2 wks ago, I couldn't print from any application.  Win7 would post 'cannot communicate with printer'.  Here is what I've done:
    1) uninstalled - reinstalled driver SW multiple times - however, Win7 posts 'The Printer installation failed' at the end of installation.
    2) The HP print and scan doctor finds the wireless printer - but finds no faults or issues. All green check marks
    3) I copied/pasted the webpage address into IE - in the Embedded Webserver home tab it states 'System Error - Network connection error.
    4) scanning works fine wirelessly and if I connect the printer via USB cable - I can print.
    5) I have a Lenovo desktop and Ipad on my network that prints wireless - so it appears the issue is with the Elite HPE only and not the router.
    6) If i'm in Excel and select find printer - i get the error 'The active directory domain services is currently unavailable'
    7) I checked the printer spooler and it is started and set to Automatic.
    I want to keep the ability to print wirelessly, however, if I can't fix this, i'll have to permanently connect using USB.  Any suggestions on what is wrong?  Thanks, Rob 
    This question was solved.
    View Solution.

    Try the Windows system file checker to see if your operating system has corrupt or otherwise damaged files.. The Command line windows needs to have admin priveleges. The following images are from my Windows 7 desktop, but Vista is virtually the same.
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

Maybe you are looking for

  • Photoshop CS6 can't save to server after upgrading to Mac OS Yosemite Server from Mac Lion Server

    We recently upgraded our server from a Mac Pro 2008 with OS X Lion Server to a Mac Mini 2014 with LaCie 20TB 5Big Thunderbolt 2 RAID drive. Everything is working fine with the exception of Photoshop. It does it intermittently but once it happens it w

  • Connection pooling with SQL Server 2008 and Tomcat 6.0

    Hello Everybody, I'm creating a web application using struts 2.0 , tomcat 6.0 and sql server 2008. Everything works fine but i'm unable to create connection pooling with sql server 2008.Please help me to solve this issue. Code for this is as foolows:

  • How do I get admin access to my child's iPad

    I am setting up my child's iPad using my apple ID. I want to let her have her own passcode, but I want to have ultimate admin access. Is this possible on iPad 3 and if so how?

  • Anyone get iZotope Vinyl UB to work with the following...?

    Anyone get iZotope Vinyl UB to work with the following...? I keep getting an error -1 when I try to load it in Logic pro. I tried emailing iZotope about this but never got any response. Any help would be appreciated. I'm running: 50gb HD space availa

  • Adobe Reader X install issues

    Right now when i try to install Adobe reader X it begins to install the program and then stops part way and tells me I have a newer verision already installed... but I do not! I have one verison that will read basic PDF but I need it to read the more