Emacs won't print!
Hi All
I'm running Fedora 12 (new to me as I was always Ubuntu until recently), I have an Epson SX115 which works ok with the 105 driver (scanner won't work though). All my programmes including Vim print fine but Emacs just says 'spooling done' and then nothing happens. How do I get this to work, I'd actually worked all the way through the tutorial only to crash and burn when I tried to print. Thanks Eric |
I think you should do more debugging.
If the problem is emacs specific, then it will be a new bug |
Quote:
But supposing that it is an Emacs configuration issue, I'll reply with a follow-up post in a bit with a more long-winded response since I wrote it up before I realized your issue probably is not an Emacs issue, per se., but that the long-winded answer would be of some use to others. Do you know which version of Emacs you are running? What does M-x emacs-version show you? bg |
The wind-baggy long-in-the-tooth reply about Emacs printing
Quote:
Supposing that your issue is related to some Emacs configuration problem ... For detailed info on printing done inside Emacs, do the following (See footnote [2] for the idiom I'm using for key sequences): Inside Emacs, type C-h r to open up the Emacs Manual [1].If you used a key sequence to print the current buffer, identify what Emacs Lisp function is doing the printing for you, since that ultimately will call some print spooler like "lpr" or something else depending upon your configuration [5]. To find out the name of the Elisp function that is going to execute for a given key sequence in Emacs, type C-h k followed by the key sequence you typed in. You can identify what version of Emacs you are running. You can do this by: Type ESC x emacs-version RET (explanation: That means type ESC key, release it, type x, then release it, then type emacs-version, and then type the RETurn key). At this point, the message will show up at the bottom of the Emacs window in what is called the "minibuffer". To be able to cut and paste it into some other X window, you need to get into the *Messages* buffer which keeps a limited number of messages such as the one emitted from the emacs-version function called above. Type C-h e then you should see the *Messages* buffer shown in one of the "windows" inside Emacs. [6]Once you have the name of the function, you can find out more info about that function either by looking it up in the Emacs Manual (type C-h F print-buffer RET (notice that is a capital F, so hold down shift when typing it)), or its more detailed Elisp manual (C-h i d g (Elisp) RET s then type in the name of the function, and hit RET; note that print-buffer will not be discussed in the Elisp manual), or by examining any help documentation that is on the function itself. For the latter, type C-h f print-buffer RET to see the help doc for the print-buffer Elisp function. Thanks, bg Footnotes:
|
printer-name
It's probably better to use the Emacs printer-name variable than the lpr-switches variable. It's more intuitive and more specific, and frees you to use lpr-switches for other purposes. If your printer was called abc, you would set the value of the printer-name variable to "abc".
To get there quickly, type "C-h v" to be prompted for a variable name to edit, then type "printer-name" (no quotes). At the bottom of the page, you'll see "You can customize this variable." The underlined word "customize" on that page is a link. Click it, and you'll be taken to a page that allows you to customize the variable. Click on the "Value Menu" button. Type the printer name (e.g., "abc") into the gray field to the right of the "Name:" prompt. Then click the "State" button and select "Save for future sessions". |
All times are GMT -5. The time now is 12:01 AM. |