Tag Info

New answers tagged

0

As you can see at this post: https://bugs.launchpad.net/ubuntu/+source/cups/+bug/270046/comments/28 SOLVED by the easiest way (Disabling cups apparmor profile) Run these commands ... sudo mv /etc/apparmor.d/usr.sbin.cupsd /etc/apparmor.d/disable sudo /etc/init.d/apparmor restart


0

Step 1: Printers > Add > Windows Printer Via SAMBA Step 2: Browse Select the printer Forward Like a normal person I chose "HP LaserJet Professional P1102w" because thats the name of the printer. HOWEVER: In order to get it working. CHOOSE: HP LaserJet Pro P1102w Foomatic/foo2zjs-z2 (recommended) Notice how the name doesn't match? Note: ...


0

Use the lpadmin command (as root): lpadmin -p printer -o cpi-default=12 This works immediately, a restart of cups is not required. (The command adds a line to /etc/cups/printers.conf - might take a while before the new line appears there. If you don't want to wait, you can restart cups which updates printers.conf immediately).


1

Use the lpoptions command. That writes settings to ~/.cups/lpoptions or, if run as root, in the system-wide /etc/cups/lpoptions file. These settings are used when submitting jobs via lp or lpr, hence changes take effect immediately without the need to restart services.


1

Use fold. Extracts from the man page: Wrap input lines in each FILE (standard input by default), writing to standard output. -b, --bytes count bytes rather than columns -c, --characters count characters rather than columns -s, --spaces break at spaces -w, --width=WIDTH use WIDTH columns instead of 80 Use fold (maybe using the -s ...



Top 50 recent answers are included