Hot answers tagged

14

To cancel a print job : List all jobs: lpq Rank Owner/ID Class Job Files Size Time active bob A 11 zarma.txt 8000 10:12:10 Delete the job by it's id, which is 11 here: lprm 11 You must be root to delete jobs that you don't have initiated. If the printer is not the default printer, add the -P option, e.g....


9

With system-config-printer Following these steps, I can now print documents using Evince on Arch Linux 4.16.9 with an HP LaserJet P1102 connected via USB: Install CUPS: sudo pacman -Sy cups Install HP Linux Imaging and Printing: sudo pacman -S hplip Install a driver plug-in via sudo hp-setup -i. Root privileges are important here, otherwise it says "error: ...


7

If avahi-daemon is running then, avahi-browse -a | grep Printer


6

Adding yourself to the lp group is probably the best solution here. That would not cause the lp0 file not to appear. (It's theoretically possible that your system has been configured to cause lp0 not to appear if you're in the lp group, but 1. that would have to be a local configuration, not a default setup from a distribution; and 2. I don't see why someone ...


6

PCL and PostScript (PS) are not driver specifications but page description languages (PDL): if your printer supports either of these, the job of the printer driver would be to convert the print job to either PCL or PS. Both PCL and PS can do high-quality photos. But PCL is actually more efficient with large high-resolution bitmap images, especially when ...


5

KX-P1170, to a certain old computer. In such old computer, which is the only one I have with a serial port, I installed a Linux ope... I know this is an old thread, but what the heck... maybe it will be useful to someone who stumbles in. Are you sure that the KX-P1170 is a serial port printer? If the connector on the back is a 36 pin connector ...


4

I understand that network printers use a protocol called RAW (or Jetdirect), is that correct? Yes. There are two network protocols for print jobs that are still relevant today: LPD, running on TCP port 515, and JetDirect, running on TCP port 9100. LPD was designed by Berkeley for BSD UNIX in the old days. It's pretty much obsolete now, but it's still ...


4

Always Start Here When Buying A New Printer Start at the Linux Foundation Open Printing Project Database. Click Printer Listing. On the Printer Listing Page, choose Manufacturer: Brother, and Model: MFC-L8650CDW Click Show This Printer, and arrive at this results page Put the page in Step 1 in your Bookmarks, and do some more research... As you can see ...


3

Interface scripts are run under the control of cups and are not run as the user doing the printing. This means that it's not connected to your terminal or X-display; it can not open windows or write to your home directory. If you look at /etc/cups/cups-files.conf (maybe different location on your OS) there are lines such as # Default user and group for ...


3

I generally use this approach when plugging in a USB based printer. Unplug the USB printer cable from your computer and enter this command: $ tail -f /var/log/syslog Reconnect the USB printer cable, you should see some messages appearing. Press Ctrl-C to stop the logging. Check whether the printer gets correctly detected by the USB subsystem and ...


3

You should check out LPRng (packaged as lprng in Debian); it supports remote printing using JetDirect (which is the protocol used over port 9100), with an /etc/printcap file like remote :lp=192.168.0.6%9100 where remote is the name your printer is given locally. See the documentation for details and caveats, and the Debian package's documentation too. ...


3

Whenever you encounter a stray missing library file such as this one you can use the command repoquery to find out what package provides it. Example $ repoquery -q -f */libltdl.so* libtool-ltdl-devel-0:2.4.2-16.fc19.x86_64 libtool-ltdl-0:2.4.2-23.fc19.x86_64 libtool-ltdl-devel-0:2.4.2-16.fc19.i686 libtool-ltdl-0:2.4.2-23.fc19.i686 libtool-ltdl-devel-0:2.4....


3

There isn’t a program that does this specifically, but with nmap -A (advanced host detection/fingerprinting) may be able to identify most printers. You’re going to have to filter it after.


3

CUPS allows you to share printer with (at least) IPP, LPD and samba protocols out of the box. IPP is supported by most operation systems and IBM was part of the Printing Working Group which came up with IPP so it's likely supported in AIX as well. Also, samba has AIX protocol so one or the other should work. search for AIX But none of the documents I came ...


3

Initially I installed KDE on Arch linux. After many hours of trying to configure my HP laserjet professional, I reinstalled Arch linux wth the xfce desktop. Pacman install hplip and wget. Check with the Arch wiki to make sure all the dependancies are installed. Update the system frequently. Make sure your printer is visible to your system. I rebooted three ...


3

In Arch Linux at least, the proper place to fix this issue is in the file: /etc/cups/cups-files.conf The above file (instead of /etc/cups/cupsd.conf) will contain the SystemGroup setting. (That's probably why @simplegamer couldn't find it in the file mentioned in the other answer here.) The standard way to resolve this issue in Arch Linux is to: First ...


2

PDF has been the standard printing format for a while. Prepare a PDF file once and for all. You can use the convert command from the ImageMagick suite (either the original or the GraphicsMagick variant). convert foo.jpg /path/to/foo.pdf You can find printing logs in /var/log/cups/page_log. Only the administrator account can read them. Old logs are in files ...


2

See Brainydeal Receipt Printer (alternatively Brainydeal Receipt Printer) which is useful and probably relevant. In particular, you are using a socket connection. As that thread observes, this is almost certainly wrong. A socket connection is for a printer which is accessed over the network. Your printer is not networked; it has a direct USB ...


2

Just fetch the source of the binary package with apt-get source epson-inkjet-printer-escpr This will create the directory epson-inkjet-printer-escpr-1.6.4/ in the current directory. There are lots of PPDs in epson-inkjet-printer-escpr-1.6.4/ppd. As regards question #1: Since I have the "approved" binary, printer-driver-escpr, I don't see the need to ...


2

On ubuntu: sudo apt-get install printer-driver-all This will install all open-source filter wrappers and PPDs. I tested it with 3 printers, they can print after "Add Printer" without downloading any proprietary software. I don't know for OpenBSD, but if you have CUPS running, try this for your Brother HL-2340DW: Search for Brother-HL-2170W-hpijs-pcl5e....


2

Turns out CUPS offers the commands cupsreject and cupsaccept to mark/unmark a printer as unusable (so it will appear greyed out in print dialogs). cupsreject also accepts an optional -r parameter with a string that gives a reason for the printer's unavailability. Combined with two udev rules that are executed when the printer is connected to the USB port (...


2

I do not recommend this solution, for this problem. You can edit /etc/sudoers to configure sudo to allow execution of a script without a password.


2

Exactly the same in my case (including what edit 1 reports) on Ubuntu 18.10, amd64 machine, Pixma MG3650. export SANE_DEBUG_PIXMA=128 gave: [... blah blah...] [pixma] pixma_read_image() failed ETIMEDOUT [pixma] Reader task terminated: ETIMEDOUT [pixma] read_image():reader task closed the pipe:195228 bytes received, 1678578 bytes expected sane_read= 9 =...


2

Those errors simply mean that scanimage tried to load the v4l backend, but failed. That’s not particularly surprising, because the v4l backend isn’t well supported nowadays (if at all) — it was designed for the old V4L kernel API, and as far as I’m aware hasn’t been updated to the current API (V4L2). On Debian derivatives (including Mint), it’s disabled. In ...


2

Read man 4 ucom. You are probably looking for /dev/cuaU0 which is the "calling unit" (see man 4 tty) for the ttyU0 terminal. Try # cu -s 115200 -l /dev/cuaU0 to see if you can chat with the printer. Change the baud rate from 115200 to something else, if needed be (the default is 9600). Also, remember that only root and users on the dialer group have ...


2

For the CUPS client the driver is not needed, since the client talks to printer through the CUPS server. For the CUPS server you do need to install a driver for each printer. Usually CUPS server comes equipped with a bunch of Gutenprint drivers and when you add a printer, you can choose the maker and then the model of your driver in the menu. But for some ...


2

The .ppd file is automatically loaded via CUPS web interface. Go to your web browser, open localhost:631, choose Administration > Printers > name of your printer (for me, that would be localhost:631/printers/epson). Choose to "Modify" your printer from the drop-down menu. If prompted, type root as username and its corresponding password. Follow the guided ...


2

Actually the issue has nothing to do with the architecture. By "chance" my laptop froze and I found myself in a "Failed to load SELinux policy. Freezing." situation at boot, then with SELinux disabled awkwardly the printer worked. Apparently it is known that SELinux prevents Brother printer drivers to do their job since Fedora 21. The solution is quite ...


1

If the PDF contains a bitmap/image representation of the bar code that is not 203 PPI/DPI then Ghostscript will need to subsample the image leading to the kind of output issues you are seeing. Please check these posts: https://github.com/apple/cups/issues/4820. https://en.opensuse.org/SDB:Using_Your_Own_Filters_to_Print_with_CUPS


1

There are many ways to get a print job to CUPS: a local process might just pipe ASCII text or PostScript to the CUPS's implementation of the lp or lpr command for printing, if the process is a traditional Unix program. or it might use the LPD printing protocol in port 515/TCP on localhost, if CUPS has LPD compatibility enabled or it might talk IPP over ...


Only top voted, non community-wiki answers of a minimum length are eligible