Kernel Ring Buffer The kernel ring buffer is not really a log file per se, but rather an area in the running kernel you can query for kernel bootup messages via Press h for help, or q to quit. Alternatively, to run hp-setup with the command line interface, use the -i flag. Use the less command, which pages through a file one screen at a time: lessexample.log You don't need sudo to look at a file.
Print a document and watch error_log to get a more detailed and correct image of the printing process. share|improve this answer answered Jan 6 '13 at 17:57 lub 1,121610 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign However, some graphical applications (for instance, some versions of LibreOffice ) have no way to prompt for credentials, so printing fails. As a workaround for the time being you can switch to an alternative program for generating the PostScript which is sent to the printer. https://wiki.ubuntu.com/DebuggingPrintingProblems
Make sure the desired protocols and DNS-SD/mDNS/BonJour support are active in the printer's hardware configuration. But why sys? Money transfer scam Antsy permutations Can a nuclear detonation on Moon destroy life on Earth? The web interface can be used to perform all printer management tasks.
Reason: chmod 666 on a system device sounds dubious to say the least (Discuss in Talk:CUPS/Troubleshooting#) Change the permissions of the printer USB port. If the problem you are seeing is not listed there or none of the workarounds seem to help, please consider filing a bug report to help us make Fedora run better Not the answer you're looking for? Ubuntu Cups Filter Failed I still have no idea how the file got lost in the first place though.
Please attach /tmp/log to your bug report. In most cases you will have to print the data obtained from the section "Getting the data which would go to the printer" this way, often after editing it. Open a terminal/console and check if the usb kernel modules are loaded: $lsmod|grepusb Unplug the USB printer cable from your computer and enter this command: $tail-f/var/log/syslog Reconnect the USB printer cable, https://help.ubuntu.com/community/LinuxLogFiles If the file is PostScript, try to send uncompressed PostScript.
This is less useful for standard log files, which always start with a date and time, but it can be handy otherwise. Ubuntu Add Printer Command Line This can help you trouble-shoot problems with a particular daemon. If the printer refuses the job, check in the printer's web configuration interface whether JetDirect/AppSocket/9100 printing is enabled (see also the section "Network printer" above). Echoing Messages to syslogd With Logger A neat utility exists in the logger tool, which allows one to place messages into the System Log (i.e. /var/log/syslog) arbitrarily.
To automatically have CUPS reactivate the printer, change ErrorPolicy from the default stop-printer to retry-current-job. https://fedoraproject.org/wiki/How_to_debug_printing_problems Note that the main menu will be in the bar at the top of the screen if Oneiric (or newer) with Unity is used. Cups Error Log Are illegal immigrants more likely to commit crimes? Cups Not Printing Boo Hoo.So, as you can see, we received the messages both via standard error, at the terminal prompt, and they also appear in our syslog.
What is Wi-Fi Sense and Why Does It Want Your Facebook Account? 6 Ways To Customize the Windows 8 Start Screen 10 Quick Ways to Speed Up a Slow Windows PC Discuss this page CategoryBugSquad CategoryDebugging DebuggingPrintingProblems (last edited 2016-04-28 09:52:08 by knome) The material on this wiki is available under a free license, see Copyright / License for details. One step in this process is to print a test page. actions Log when print jobs are submitted, held, released, modified, or canceled, and any of the conditions for config. Ubuntu Printer Not Working
CUPS: "/usr/lib/cups/backend/hp failed" The factual accuracy of this article or section is disputed. Contents 1 Identifying your problem area 1.1 Printing troubleshooter 1.1.1 Getting debug information by other means 1.2 What make and model is my printer? 1.3 Which driver am I using? 1.4 Each different printer has a model-specific Device ID. Install the "nmap" package if needed.
Use one of the following methods for unfiltered printing: Independent how your printer is connected, you can print unfiltered by using the "lp" or "lpr" commands with the "-oraw" argument: $lp-d
Copyright © 2006-2016 How-To Geek, LLC All Rights Reserved
The first page is empty, the second page contains the following error message: ERROR: invalidaccess OFFENDING COMMAND: filter STACK: /SubFileDecode endstream ... The Fedora Project is maintained and driven by the community and sponsored by Red Hat. There is a button in the troubleshooter to print a test page for you, but if the problem you are seeing is specific to printing from a certain application, or printing Ubuntu Install Cups What is the main spoken language in Kiev: Ukrainian or Russian?
Browse other questions tagged ubuntu-12.04 diskspace error-log or ask your own question. Further reading The main printing page has more information about how printing works in Fedora. To check the printer's settings go to Printers, then Modify Printer. To report errors in this serverguide documentation, file a bug report.
GhostScript takes the input and figures out which filters it should use, then applies them and converts the .ps file to a format understood by the printer. Check whether the printer gets correctly detected by the USB subsystem and determine its USB vendor/product IDs and the USB bus and device addresses: $lsusb Note: The USB bus and device After following this process you will most likely end up with a troubleshoot.txt file. Where is the kernel documentation?
Retrieved from "https://wiki.archlinux.org/index.php?title=CUPS/Troubleshooting&oldid=454799" Category: PrintersHidden categories: Pages or sections flagged with Template:AccuracyPages or sections flagged with Template:StylePages or sections flagged with Template:Out of date Navigation menu Views Page Discussion View source In the previous section we captured what the application has sent to CUPS. hp-setup: finds the printer automatically but reports "Unable to communicate with device" when printing test page immediately afterwards This at least happens to hplip 3.13.5-2 for HP Officejet 6500A through local Reason: The bug was reported in 2012; is this still an issue? (Discuss in Talk:CUPS/Troubleshooting#) There is a bug that causes CUPS to fail when printing images on HP LaserJet (in
Running filters by hand More advanced users may like to try running the CUPS filters by hand and examining the data file at each step as it is converted between different How to heal religious units? dmesg | less If a grep search produces a large amount of results, you can pipe its output to less, too: dmesg | grep something | less In addition to opening This log is helpful for diagnosing issues with your X11 environment.
For information on contributing see the Ubuntu Documentation Team wiki page. For network printers you may have different protocols you can try. Once the modules are installed, plug in the printer and check if the kernel detected it by running the following: # journalctl -e or # dmesg If you are using usblp, Many routers you can configure that the printer always gets the same IP and you can also assign a host name.