Software :: Printing To Cups-pdf Via Command Line With Options?

Jun 30, 2011

I'm having a hard time trying to print documents to PDF via cups-pdf at the command line and get all of the nice formatting options that the GUI print spooler dialogs provide. I know how to do "lpr -P Generic-CUPS-PDF-Printer filename" to get a general file printed to a PDF, but this method clearly is missing all of the nice formattingptions that get passed when using a GUI print spooler (margins, fonts, dpi, paper size, etc..). I tried to use ps to capture whatever command is being sent by the spooler but couldn't figure it out, since I'm not really sure what commands get called by the spooler

View 8 Replies


ADVERTISEMENT

Fedora Hardware :: Printing Options Shrank In Cups?

Nov 29, 2010

I managed to print from fedora without rebooting into windows.

--installed rpms provided by canon
--installed cups
--logged into cups
--selected my printer (ip2770)
--printed a page--and bang! too dark!

In cups, or on the computer, I only have one option, 600 dpi, which I'm assuming is why it is so dark, ugly, and nothing like it needs to look like This whole process (which is way over my head) put two printers in my printer set up, both called ip2700 series, and I'm not sure which should be the default. I am thrilled to be printing now from linux, but not happy with the quality.

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Ubuntu :: Running Cups From Command Line?

Dec 23, 2010

I need some help desperately, and would appreciate a quick response. To begin, here's the output from 'uname -a' for the machine I'm using: Linux ubuntu 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux

Now, when I start my computer, cupsd is running:

[Code]...

View 2 Replies View Related

General :: How To Resume CUPS Printer From Command Line

Mar 3, 2010

I have printer in CUPS that due driver problems (hp 1010) form time to time goes into pause. I would like to write a shell script that will be once per hour resuming printer in cups.But I have no idea after googling for couple of minutes how to resume printer from shell command line.

View 5 Replies View Related

General :: Enable Printer In CUPS Using Command Line?

Oct 22, 2010

How to enable Printer in CUPS using Command Line?

View 3 Replies View Related

Server :: What Is XMX Command Line Options (API Error)

Feb 26, 2010

I install software called Sunflow v0.07.2 in my Ubuntu. When I try to run it,it says
"API error : JVM available memory is below 800 MB (found 728 MB only). Please make sure you launched the program with the -Xmx command line options". What is that xmx command line.What should i do to run Sunflow.

View 2 Replies View Related

Ubuntu Networking :: Printing Documents Via The Command Line?

Dec 2, 2010

how to send a document to print on a network printer (via IP address) from the command line (not a GUI interface).

View 4 Replies View Related

General :: Command Line Options - Listing MP3 Over Certain Size

Jan 6, 2011

How would I list every mp3 over a certain size on an entire hard drive?

View 1 Replies View Related

Programming :: Using Command-line Options With A Program That's Called Using Env

Oct 11, 2010

I thought about this a while ago when reading through a Python tutorial and I googled some and couldn't find an answer. Now I want to know it for Ruby, also, and it's more important now because I want to invoke Ruby with -w.

How can you use:

Code:

with a -w option to ruby, like:

Code:

This doesn't work and I can't find an explanation of how to do it.

Code:

View 1 Replies View Related

CentOS 5 :: Pidof: Invalid Options On Command Line?

Aug 19, 2009

when i show status ricci on centos5.3x86_64 #service ricci status pidof: invalid options on command line pidof: invalid options on command line p is stopped how can i fix that bug ?

View 4 Replies View Related

Ubuntu Multimedia :: Command Line Or With Abcde's Built-in Options?

Jan 15, 2010

(1) I'm wondering if there is a way to have abcde play the songs while it is encoding? I understand that this would be a lot slower.

(2) Is it possible to have abcde start playing right after it finishes ripping the first track and then have it add on the other tracks to the playlist as it rips them.

Is there anyway to do one or both of these from the command line or with abcde's built-in options?

View 4 Replies View Related

Ubuntu :: Mounting A Hard Drive With Options On Command-line?

Sep 3, 2010

I have a working fstab entry:

Quote:

/dev/sdc1 /media/sdc vfat rw,nosuid,nodev,uhelper=devkit,uid=1000,gid=1000,s hortname=mixed,dmask=0077,utf8=1,flush 0 0

But how do I mount the sdc drive with those options from the command-line without restarting? I've tried to do so with 'mount' utility, but had no luck.

View 1 Replies View Related

General :: Selecting A Font When Printing A Text File From The Command Line?

Jul 29, 2011

I don't understand why this is so difficult.In the old days, there was lpforms which allowed some formatting. CUPS did not see fit to implement this into it's lp package.cgi-...-cgi?lpforms+1In the old days, lpr allowed you to select a font in the command line with -1=fontname. CUPS did not see fit to implement this into it's lpr package.htmIn the old days, printers had fonts installed on them that you could access. Modern printers don't seem to have this. So now I still need to be able to select a font when I print certain text files from the command line but it seems this is impossible. I've been working with instances and lpoptions, which allows me to do a lot of other things I need like orientation and margins and even set the font size, but I still cannot choose a font other than the default.

View 2 Replies View Related

General :: Printing From Command Line Won't Work - Just Sits In Print Queue

Apr 3, 2011

CUPS was not originally installed on my server, I have installed it but cannot print to my network printer. On my laptop, I can... they are both running the same version of Debian. What could be missing?

Here are some details...

I have two computers running the same version of Debian. One is a server with no GUI and the other is my laptop with GDM installed. My laptop (which prints with no problem) is connected via Wifi. My server is connected directly to the router via Ethernet. I cannot print from the server.

The printer is a Canon Pixma MP495 that connects to the router via Wifi. I have downloaded drivers for the printer from [url] and installed them successfully using dpkg on both computers.

Right now I have a regular text file that I am using for a test page. To print from my laptop (with success) I type:

Code:

This does not work from the server. What could I be missing?

lpq run on server:

Code:

lpinfo readout:

Code:

View 14 Replies View Related

Programming :: MHC Modula-2 - Cannot Access The Command Line Options And The Environment Variables

Jul 2, 2010

Anyone else using the Mill Hill & Canterbury (MHC) Modula-2 to Java compiler?

[URL]

I cannot access the command line options and the environment variables.

View 2 Replies View Related

Programming :: Running Gcov When Executable Has Command Line Input Options

Mar 3, 2011

I have an executable with input options, like so:
Code:
./executable -n 42 -s 42
I've added gcov to the makefiles (compiling with --coverage, -fprofile-arcs, and -ftest-coverage, and linking with -lgcov). It builds fine and creates executable.gcno.

When I try to run gcov, gcov things the options belong to it:
Code:
$ gcov ./executable -n 42 -s 42
gcov: invalid option -- 's'
Usage: gcov [OPTION]... SOURCEFILE...
When I use quotes this happens:

Code:
$ gcov './executable -n 42 -s 42'
executable -n 42 -s 42.gcno:cannot open graph file

The command line options must remain. How can I get gcov to generate the same .gcno file it later looks for?

View 2 Replies View Related

CentOS 5 Server :: Setting Up CUPS (command Line) On New Server?

Mar 29, 2009

I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:

a) do this

b) do that

View 4 Replies View Related

Fedora :: 5 Second Delay Printing From Cups?

Aug 26, 2010

Not sure if this is hardware or software so I am raising the question here. I have an Ithaca 280 printer that worked great on fedora 8 with cups 1.3.3. When I upgraded my server and installed Fedora 12 with cups 1.4.2 i noticed a 5 second delay between sending a print job to the printer and it actually printing. This issue doesnt happen with laser printers, just the ithaca thermal printer. I have tested this with 10 other ithaca 280 printers and all of them have the same result. I am using a raw driver, and it is an IP based printer setup for Jetdirect in cups. The setup is identical on a Fedora 8 server as it is on this Fedora 12 server. I have even taken the steps to upgrade to cups 1.4.4 just to see if it was corrected in a newer version, but the issue is still there. I have a utility that writes the raw text directly to the printer which i used to test that it wasnt an issue with the printer or its internal print server. That utility allows the document to print immediately.

what is causing this delay and how to correct it? If not, does anyone know how to print directly to the printer using cups instead of letting it go to the queue first like cups normally does for print jobs?

View 2 Replies View Related

Ubuntu :: Printing From DOSemu To Cups-pdf?

Mar 12, 2010

Anyway im trying to do a simple thing pointed out in the thread title. Everything is set up, cups-pdf works, in dosemu.conf lpt1 command is "lpr" printer-timeout is 10... I "work" in an accounting agency that has a program written in clipper back in 1992. Apparently some prints from this program produce text/plain and some produce application/octet-stream. text/plain is printed. The later is always aborted. I have uncommented the lines in mime.types and mime.convs. Which are located in /usr/share/cups/mime.

View 2 Replies View Related

Ubuntu :: Server 10.4 Printing - Without Cups

Nov 30, 2010

I'm not looking to setup a print server. I want to print documents TO an existing network printer while I'm logged in via ssh to my Ubuntu Server 10.4 command line shell. Things like admin emails, pdf docs, etc.

All the clients on my LAN are able to print directly to the network printer without any help from the Ubuntu Server. I don't want to setup CUPS on the server unless that's the only way to print from the server itself to a networked printer.

Do I need CUPS or can I print from the command line in some other way?

View 4 Replies View Related

Ubuntu :: CUPS Pdf Printing Is Broken?

Dec 19, 2010

I can't print to pdf through the "cups-pdf" print module. Here is my error logfile:

Code:
@ubuntu:/var/spool$ cat /var/log/cups/error_log
E [19/Dec/2010:20:52:44 -0600] [cups-driverd] Bad driver information file "/usr/share

[code]...

View 2 Replies View Related

Ubuntu :: Wireless Printing Using CUPS?

Apr 4, 2010

I'm doing work at a home office that uses all Ubuntu computers. They have wireless printing setup on a few computers using CUPS. One of the computer's wireless printing isn't working. could someone please help me with getting this set up? Is this something really basic that most people would understand how to do?

View 4 Replies View Related

General :: Firefox 3.6 Not Printing By Cups

Feb 1, 2010

I cannot print form firefox 3.6 form linux suse 11.2. All the rest is printing. Piece form error log off cups

D [01/Feb/2010:19:52:00 +0100] [Job 62] page 2 1
D [01/Feb/2010:19:52:00 +0100] Discarding unused job-progress event...
D [01/Feb/2010:19:52:01 +0100] [Job 62] successfully sent print file, 24. packet, 65536 bytes (1536KB) ...
D [01/Feb/2010:19:52:02 +0100] [Job 62] successfully sent print file, 25. packet, 65536 bytes (1600KB) ...
D [01/Feb/2010:19:52:03 +0100] [Job 62] successfully sent print file, 26. packet, 65536 bytes (1664KB) ...
D [01/Feb/2010:19:52:05 +0100] [Job 62] successfully sent print file, 27. packet, 65536 bytes (1728KB) ...
D [01/Feb/2010:19:52:06 +0100] [Job 62] successfully sent print file, 28. packet, 65536 bytes (1792KB) ... .....
D [01/Feb/2010:19:52:08 +0100] Discarding unused printer-state-changed event...
D [01/Feb/2010:19:52:08 +0100] Discarding unused job-completed event...
D [01/Feb/2010:19:52:09 +0100] [Job 62] Unloading...

View 6 Replies View Related

Server :: CUPS - Cannot Get Printing To Work

Apr 8, 2010

I just brought up a new server on RHEL4 to replace an existing older one. The server is using CUPS for printing. I copied the cupsd.conf, printers.conf, and lpoptions files over from the old server. I also copied the printer files in the /etc/cups/ppd directory over to the new server. But I can't get printing to work. And when I run system-config-printer-tui I don't see any of the printers in the dialog box. What other file(s) am I missing?

View 1 Replies View Related

Software :: Printing Pdf,doc And HTML With Cups?

Apr 27, 2010

Using Debian Lenny.Using CUPS and lp. I would like to know how to print files from Openoffice such as doc files, pdf and html. I know I can print from the applications, but sometimes I want to print using lp or xpp. I would like to also set the font size on pdf or html pages before I print. I never know what size of print I'm going to get. Can I chose the font I want to use in text files with Cups?

View 1 Replies View Related

Ubuntu Networking :: Wireless Printing Using CUPS?

Apr 2, 2010

I am doing work at an office that only uses Linux Ubuntu 9.10 . They have wireless printing setup on all of the computers there, except one of them isn't working. I was not the one who setup the wireless printers so I'm not clear on how to do this.

View 2 Replies View Related

Ubuntu :: CUPS Japanese Text Printing?

Apr 22, 2010

I am facing a peculiar issue when printing Japanese text through CUPS (though I am not sure if this is the right forum).

I developed a Java application (that uses a graphical object to print to a PrinterJob class) that prints text (of Japanese characters) to a printer. When I login in en_US/en_UK locale, the Japanese characters get printed from my Java app just fine. However, when I login in ja_JP and give a print job through my Java app, no Japanese text is printed at all. I get characters from only within the ASCII subset printed instead. I am using Serif and Courier New fonts in my app. Relevant details are:

In ja_JP,
a@a:/usr/share/cups/charsets$ fc-match serif:lang=ja
ttf-japanese-mincho.ttf: "Sazanami Mincho" "Regular"
a@a:/usr/share/cups/charsets$ fc-match sans serif:lang=ja
ttf-japanese-gothic.ttf: "VL Gothic" "regular"

[Code]...

View 1 Replies View Related

Ubuntu :: Cups-pdf Printing No Extension On File?

Apr 24, 2010

I am running 10.04 beta2 and have installed cups-pdf printing. I can print to the PDF printer and it works fine saving the file to ~/PDF. It saves it with the PDF extension as expected. I am trying to save the file by default to a windows share. I changed the DEVICE URI line to smb://HOME/SERVER/PDF. When I print, the job shows up on the windows share but without a PDF extension

View 8 Replies View Related

Ubuntu :: Printing To Cups-PDF From Windows Config?

Aug 1, 2010

I installed cups_pdf and I am able to print pdf files locally but not Windows.

When I connect to the PDF printer in Windows it ask for a driver so I point it to the generic Microsoft one. I also tried some hp ones as well. When I print I don't get any errors or anything like that. The file appears in the PDF printer queue and disappears but doesn't make it to my computer. I have tried using instructions from various Internet sites but the information is vague, wants me to edit lines that don't exist in cupsd.conf, and/or adds lines that breaks the back-end scheduler to the PDF printer. Every once in a while they tell me to use a raw driver for Windows but what does that mean.

So right now Windows can see and interact with my PDF printer but the file never gets made on the Linux machine. I have reinstalled the cups-pdf, created a pdf printer, and windows can see and connect to it but wants a driver. I am using Ubuntu 10.04 and Windows 7 and everything is up to date. What do I need to do?

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved