* Printing Problems
@ 2010-09-04 21:15 John Burns
2010-11-14 20:39 ` Mark Shroyer
0 siblings, 1 reply; 6+ messages in thread
From: John Burns @ 2010-09-04 21:15 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
To all,
I need help in getting my version of emacs - 22.3.1, under Windows 7, to
print to my Samsung laser printer which is ported to USB001.
Can anybody who has solved a problem utilizing a USB port or anyone in
general who can explain what
I need to do in layman's terms to get the printer working, please respond to
this email and help me out? I have
read the documentation but it just isn't clear to me. I hit the print
button at the top of the emacs page, but nothing happens. The mini-buffer
tells me that the printing has been done.
Thanks in advance,
John
[-- Attachment #2: Type: text/html, Size: 22465 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Printing Problems
@ 2010-09-06 2:47 John Burns
0 siblings, 0 replies; 6+ messages in thread
From: John Burns @ 2010-09-06 2:47 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
I have found the solution to my problem with printing within Emacs.
It is truly amazing what an extra "/" at the end of the printer-name will do
to you!
Sorry to have cried wolf to the group.
John
[-- Attachment #2: Type: text/html, Size: 21784 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Printing Problems
2010-09-04 21:15 Printing Problems John Burns
@ 2010-11-14 20:39 ` Mark Shroyer
0 siblings, 0 replies; 6+ messages in thread
From: Mark Shroyer @ 2010-11-14 20:39 UTC (permalink / raw)
To: help-gnu-emacs
On 9/4/2010 5:15 PM, John Burns wrote:
> I need help in getting my version of emacs - 22.3.1, under Windows 7,
> to print to my Samsung laser printer which is ported to USB001.
>
> Can anybody who has solved a problem utilizing a USB port or anyone
> in general who can explain what I need to do in layman’s terms to get
> the printer working, please respond to this email and help me out? I
> have read the documentation but it just isn't clear to me. I hit
> the print button at the top of the emacs page, but nothing happens.
> The mini-buffer tells me that the printing has been done.
Do the following:
1) Download and install GPL Ghostscript for Windows here:
http://pages.cs.wisc.edu/~ghost/
2) Configure Emacs to use Ghostscript for PostScript printing:
> (setq
> ps-lpr-command "C:/Program Files/gs/gs8.64/bin/gswin32c.exe"
> ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2")
> ps-printer-name t)
...adjusting the path name for the exact version of Ghostscript you've
installed, of course. Note that I'm using an older version above; I
assume it'll work the same with Ghostscript 9.00, but I haven't tried it
myself. 8.64 is still available for download if in doubt.
Then you just need to use the ps-print-* commands instead of the print-*
commands, for instance M-x ps-print-buffer. When you do, a Windows
print dialog should pop up, which you can use to select your printer and
modify print settings just like in most other Windows applications.
I hope this helps,
--
Mark Shroyer
http://markshroyer.com/contact/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Printing Problems
@ 2015-10-03 21:13 Robert Thorpe
0 siblings, 0 replies; 6+ messages in thread
From: Robert Thorpe @ 2015-10-03 21:13 UTC (permalink / raw)
To: help-gnu-emacs
I'm having some problems with printing.
If I use the "ps-print" functions then the top of the block-shaped
header is cut off. I have "ps-paper-type" set to A4 and an A4 printer.
If I use normal printer function like "print-region" then there is no
margin and the first letter in each column is cut in half. I think this
is because my printer is an A4 printer and the default for "lp" is
letter. But, I can't find an Emacs variable that can change the paper
type for the normal print functions.
BR,
Robert Thorpe
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Printing Problems
[not found] <mailman.385.1443906816.16064.help-gnu-emacs@gnu.org>
@ 2015-10-03 21:56 ` Javier
2015-10-04 19:30 ` Robert Thorpe
0 siblings, 1 reply; 6+ messages in thread
From: Javier @ 2015-10-03 21:56 UTC (permalink / raw)
To: help-gnu-emacs
> If I use the "ps-print" functions then the top of the block-shaped
> header is cut off. I have "ps-paper-type" set to A4 and an A4 printer.
Did you try setting these variables?
;; (info "(emacs) PostScript Variables")
(setq ps-printer-name t)
(setq ps-lpr-command "D:/gs6.01/bin/gswin32c.exe")
(setq ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2" "-sPAPERSIZE=a4"))
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Printing Problems
2015-10-03 21:56 ` Javier
@ 2015-10-04 19:30 ` Robert Thorpe
0 siblings, 0 replies; 6+ messages in thread
From: Robert Thorpe @ 2015-10-04 19:30 UTC (permalink / raw)
To: help-gnu-emacs
Javier <nospam@nospam.com> writes:
>> If I use the "ps-print" functions then the top of the block-shaped
>> header is cut off. I have "ps-paper-type" set to A4 and an A4 printer.
>
> Did you try setting these variables?
>
> ;; (info "(emacs) PostScript Variables")
> (setq ps-printer-name t)
> (setq ps-lpr-command "D:/gs6.01/bin/gswin32c.exe")
> (setq ps-lpr-switches '("-q" "-dNOPAUSE" "-dBATCH" "-sDEVICE=mswinpr2" "-sPAPERSIZE=a4"))
I should have mentioned, I'm using Xubuntu in this case. I also have
Emacs installed on Windows and in that case printing works fine, though
in that case the printer is better too.
Still, I'll have a look at the lpr switch variables.
Thanks,
Robert Thorpe
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-10-04 19:30 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-04 21:15 Printing Problems John Burns
2010-11-14 20:39 ` Mark Shroyer
-- strict thread matches above, loose matches on Subject: below --
2010-09-06 2:47 John Burns
2015-10-03 21:13 Robert Thorpe
[not found] <mailman.385.1443906816.16064.help-gnu-emacs@gnu.org>
2015-10-03 21:56 ` Javier
2015-10-04 19:30 ` Robert Thorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).