Tag Info

Hot answers tagged

10

In principle, it is possible to print a PDF through some chain of programs that ends in a PDF generation with no quality loss. Two major things have to happen to guarantee a perceptually lossless conversion: Every link in the chain has to understand all of the document elements, and be able to pass them along to the next piece in the chain losslessly: ...


10

127.0.0.1 is not the "outside world", it is looking around inside the house. Check your firewall configuration (iptables in Linux today), most of them shouldn't be accessible from the ouside. Don't run services you don't need. Uninstall all not required software. Change passwords to be stronger. Check your usage of the system, don't go chasing any ...


9

Determine your exposure Taking your output from the netstat command, what looks like a lot of services is actually a very short list: $ netstat -lntup | awk '{print $6 $7}'|sed 's/LISTEN//'| cut -d"/" -f2|sort|uniq|grep -v Foreign avahi-daemon:r dhclient dropbox nmbd rpcbind rpc.statd smbd sshd Getting a lay of the land Looking at this list there are ...


5

The print server running CUPS is the only machine that needs to have the drivers. Read about CUPS on Wikipedia for example - in Overview section it states this quite clearly : CUPS allows printer manufacturers and printer-driver developers to more easily create drivers that work natively on the print server. Processing occurs on the server, allowing for ...


5

Have a look at the files in /etc/cups. I don't have a Fedora 15 system to hand - but looking at a recent RHEL box, the relevant bits are in /etc/cups/cupd.conf .... # Administrator user group... SystemGroup sys root .... # Restrict access to configuration files... <Location /admin/conf> AuthType Basic Require user @SYSTEM Order allow,deny ...


5

If I understand your main goal correctly, you don't need to go through any hassle with printing to PDF. You can use a command-line tool like pdftk to extract any set of pages directly from a PDF file and save them as a new one. (It also allows many more operations like optimizing, adding/removing password, rotating some pages, etc.) The tool is available in ...


4

Inkscape can convert between various vector graphics formats, including SVG to PDF. Although it's normally a GUI application, it can run in batch mode without an X server available. inkscape --without-gui --export-pdf=foo.pdf foo.svg lpr foo.pdf Or if you want to print directly: inkscape --without-gui --export-pdf=/dev/stdout foo.svg | lpr Another ...


4

You can use lpoptions. See man lpoptions. The command looks like lpoptions -d myprinter and creates a line in ~/.lpoptions (or on some systems ~/.cups/lpoptions) like Default myprinter See Command-Line Printing and Options, section "Setting the Default Printer".


4

The fix is in the UDEV rule. Since it is not possible through standard ways. You just create an UDEV rule which would detect printer adding and then run lpadmin -p PRINTERNAME -v CONNECTION?serial= so printer would be automatically reconfigured to use another connection. P.S: I would give 300 of points if someone gave me right direction. I hope I will ...


4

You should compare the following file between your account and an account for which printing works: ~/.config/evince/print-settings (and/or backup your copy and replace with one from another user). If that doesn't help you might try to replace the whole ~/.config/evince directory.


3

Have a look at the CUPS port in cygwin-ports, they provide version 1.4.6 as of January 30th 2011. It patches quite a lot...


3

Apple made some modifications to the locale detection in the version of CUPS that it ships. Looking through the Apple-modified version of cups/language.c (specifically, 10.6.8’s language.c), I found that you should be able to override the language by setting LANG to your preferred language as long as you also set SOFTWARE (any value, even the empty string). ...


3

If you're using Samba/CUPS as a print server for windows based clients then the clients will normally have drivers for that printer, although in some cases CUPS can do its own translation. For example, it is possible to set up ghostscript and render postscript to display on a non-PS printer, although the Windows clients would need a PS driver that plays ...


3

In general, no, quality loss should not occur. If it does, the program is to blame, not the format. Some things that could occur that could be construed as quality loss: Images may be recompressed (potentially causing generation loss) Text (and other vectors) may be turned into splines, potentially causing usability issues (inability to copy text) etc I ...


3

I found a simple way to do it over the browser. Just went to http://localhost:631 and then to administration. On the right side there are several options, I activated these and restarted: Share printers connected to this system Allow printing from the Internet Advertise web interface Allow remote administration Allow users to cancel any job (not just ...


3

"Broken Pipe" with JetDirect printers usually indicates a problem establishing a network connection to the printer. It may come down to enabling debug logging in cups and seeing if that has anything, but here are some ideas: use netcat to see if you can form a TCP-level connection with the printer, this will let you know if there's a network problem (if ...


3

Maybe you are looking for lpoptions ? Use lpoptions -l in order to know what's the name for your printer. You can play it like thi (example with an HP Photosmart) : lp -o scaling=//100// -oColorModel=KGray image.jpg


3

You don't say in your question but are you able to print using other applications? The command line? I'd confirm that you're printer is still configured and working correctly by doing the following: 1. confirm that printer is setup and accessible using: lpq # check for jobs on the default printer % lpq mfc-8480dn is ready no entries # check for any jobs ...


3

I agree with @don_crissti that this is most likely being caused by the ColorManager interface, (i.e. org.freedesktop.ColorManager). If you're not familiar with ICC profiles they're profiles which describe a particular device's color attributes, you printer in this case. You can read more about ICC Profiles here on wikipedia, or color management in general. ...


3

First two warnings appear in the function guessmake() of Foomatic::DB. Looking at the code path, $manufacturer and $model are always undefined, so doing an eq comparison does not make sense here, but are harmless here except for the noise. I did not look at the other warnings. The easist to "fix" this is to remove the -w option from foomatic-configure's ...


2

sudo lpoptions -d sets the system-wide default printer (by editing /etc/cups/lpoptions). You may also have a per-user default printer, which overrides the system-level setting. The per-user default is stored in ~/.cups/lpoptions; you can change it with lpoptions -d.


2

a) Removing cups doesn't actually remove CUPS. b) you want to use apt-get purge not remove, probably. You want to purge this lot, at a minimum. You can do it with a wildcard or regex. apt-get purge '^cups' seems to delete all packages beginning with cups, but really we want all files containing cups. Regex experts to the rescue, please. :-) See apt-get ...


2

Use spadmin, which is a utility that comes with LibreOffice. Log in as root! Find the directory that contains all the LibreOffice executables. On my openSUSE 11.4 installation, it is /usr/lib64/libreoffice/program. You can find it on your system by finding the soffice executable. $ which soffice /usr/bin/soffice $ cd /usr/bin If it is the ...


2

You can configure CUPS defaults for your account by running the lpoptions command. Run lpoptions -l to see what options are available for your printer, and determine which one corresponds to the color/monochrome choice. For example, with this output $ lpoptions -l | grep Color ColorModel/Color Model: Gray Black *RGB CMY CMYK KCMY I would set ColorModel to ...


2

less /var/log/cups/page_log shows me: hp-oj-5510 243 stefan [24/Apr/2012:10:36:05 +0200] 1 1STATE: - localhost xy-file-46 - - hp4p 244 stefan [24/Apr/2012:10:38:33 +0200] 1 1 - localhost Unbenannt1 - - hp-oj-5510 243 stefan [24/Apr/2012:10:39:09 +0200] 2 1INFO: - localhost xy-file-46 - - hp-oj-5510 246 stefan [24/Apr/2012:10:40:28 +0200] 1 1STATE: - ...


2

I figured it out by myself: do lpq to get the job id and then lp -i job-id -H resume See this page for a reference. See also this one.


2

While you can 'shut' individual services - perhaps it may just be easier to setup a firewall. Nearly all common distro's (Ubuntu, Debian, Centos, etc) have support for iptables built-in. A simple rule-set to get started: (you can just type these in at a command-prompt; to make them permanent add them to your startup scripts or tell us what distro you're ...


2

I see this line in the logs (/var/log/cups/error_log): m_Job initialization failed with error = 48 A web search indicates that many HP printers, including yours, require a proprietary plugin to print, and that you will see this message if you haven't install this plugin (e.g. Fedora bug #611255). The logs from hp-check -t confirm this: error: Required ...


1

PPD files are platform-independent. However, they may reference external executables, and those are platform-dependent. In particular, cupsFilter specifies a program that converts the input from a format that CUPS understands (here, application/vnd.cups-raster, i.e. a bitmap format) into a format that the printer understands. You'll need to find a Linux ...


1

I also have this printer, so I wrote a driver which you can use with it. This is a GDI-printer. It uses PJL with JBIG1 images to interact with host. You can download this driver from my github account, madlynx/ricoh-sp100. Installation instructions: Copy pstoricohddst-gdi to cups' filters directory (usually /usr/lib/cups/filter). Install jbigkit package ...



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