unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Can't Print with Emacs 21.2 on WindowsXP
@ 2002-11-04  1:05 Doug M
  2002-11-04  5:53 ` Eli Zaretskii
  2002-11-04  8:20 ` Julien Avarre
  0 siblings, 2 replies; 5+ messages in thread
From: Doug M @ 2002-11-04  1:05 UTC (permalink / raw)


Hi,

Can't print with emacs on WindowsXP.  Other apps do.
Can't find .emacs file, but found .emacs.d directory.  Hmm?
Made sure ps-printer-name and printer-name were set to one of "LPT1", "USB",
and "USB001" with the printer connected as indicated.  Did this with M-x
set-variable.  Looked with C-h v <var name> and noted descriptions.  Also
made sure lpr-command and ps-lpr-command were the empty string, i.e. "" .

Looked in emacs manual (C-h i mEmacs) for instructions.  Hence above
approach.

Looked online via google.  Found indication that variable pairs
printer-name/ps-printer-name and lpr-command/ps-lpr-command need to be the
same thing.  Tried that.

Here are relevant facts:

21.2 of GNU Emacs taken from archive
emacs-21.2-bin-i386.tar.gz
Emacs shows version: GNU Emacs 21.2.1 (i386-msvc-nt5.1.2600) of 2002-03-19
on buffy
Windows XP
Samsung ML-1430 Laser Printer
Tried USB and Parallel Connections/Ports
The USB port seems to be a virtual port according to the driver properties.
The printer works with other apps.

Any insights or note of similar problem appreciated,

--Doug Morris,
dougbmorris@yahoo.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't Print with Emacs 21.2 on WindowsXP
  2002-11-04  1:05 Doug M
@ 2002-11-04  5:53 ` Eli Zaretskii
  2002-11-04  8:20 ` Julien Avarre
  1 sibling, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2002-11-04  5:53 UTC (permalink / raw)



On Sun, 3 Nov 2002, Doug M wrote:

> Can't print with emacs on WindowsXP.  Other apps do.
> Can't find .emacs file, but found .emacs.d directory.  Hmm?
> Made sure ps-printer-name and printer-name were set to one of "LPT1", "USB",
> and "USB001" with the printer connected as indicated.  Did this with M-x
> set-variable.  Looked with C-h v <var name> and noted descriptions.  Also
> made sure lpr-command and ps-lpr-command were the empty string, i.e. "" .
> 
> Looked in emacs manual (C-h i mEmacs) for instructions.  Hence above
> approach.

The Emacs manual has Windows-specific instructions in the node named 
"MS-DOS Printing" (don't be turned off by its name: it's not only for 
DOS).  Did you read that as well?  If so, did you try the port-capture 
method or the "net use" method?

Can you get a text file printed on that machine by typing this from the 
DOS box:

	copy foo.txt lpt1

?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't Print with Emacs 21.2 on WindowsXP
  2002-11-04  1:05 Doug M
  2002-11-04  5:53 ` Eli Zaretskii
@ 2002-11-04  8:20 ` Julien Avarre
  1 sibling, 0 replies; 5+ messages in thread
From: Julien Avarre @ 2002-11-04  8:20 UTC (permalink / raw)


"Doug M" <dougbmorris@yahoo.com> has said on 11/04/02 :

> From: "Doug M" <dougbmorris@yahoo.com>
> Subject: Can't Print with Emacs 21.2 on WindowsXP
> Newsgroups: gnu.emacs.help
> Date: Sun, 3 Nov 2002 20:05:37 -0500
>
> Hi,
>
> Can't print with emacs on WindowsXP.  Other apps do.
> Can't find .emacs file, but found .emacs.d directory.  Hmm?
> Made sure ps-printer-name and printer-name were set to one of "LPT1", "USB",
> and "USB001" with the printer connected as indicated.  Did this with M-x
> set-variable.  Looked with C-h v <var name> and noted descriptions.  Also
> made sure lpr-command and ps-lpr-command were the empty string, i.e. "" .
>
> Looked in emacs manual (C-h i mEmacs) for instructions.  Hence above
> approach.
>
> Looked online via google.  Found indication that variable pairs
> printer-name/ps-printer-name and lpr-command/ps-lpr-command need to be the
> same thing.  Tried that.

When I use Emacs on Ms Windows®, I'm printing with printfile.
You'll need to use customize you Emacs.

M-x customize-group lpr

I forgot the exact values to put in. But I guess you should put the path for
printfile instead of _lpr-command_.

                   http://www.lerup.com/printfile/


Good luck and tell me your results.

-- 
Julien ``Eole'' Avarre
julien@avarre.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't Print with Emacs 21.2 on WindowsXP
       [not found] <mailman.1036389991.1511.help-gnu-emacs@gnu.org>
@ 2002-11-11  2:23 ` Doug M
  2002-11-11  5:58   ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Doug M @ 2002-11-11  2:23 UTC (permalink / raw)


Thanks for the suggestions.  Very helpful!

Turns out that the Windows XP supported Samsung ML-1430 laser printer does
not work from the DOS command line interface.  I suspect the driver was not
written to support it.  Samsung's unsatifactory reply to my inquery is
below.  I have not yet investigated whether
printfile (http://www.lerup.com/printfile/) will work around this.
------Samsung-Support-Dialog-----------------

This unit cannot print in DOS. This is very simple and straight
forward. When making a major hardware purchase in the furture we advise
varifing what its capibilities are, before making this type of investment.

---------------------------------------------------------------------
**********  Don't Remove "[SN********]" from the title  *************
  When you inquire about our answer...
  With the Serial Number, we could identify your message.
---------------------------------------------------------------------


[ You Wrote ]
Dear Samsung Representative,

Thanks for your reply.  However, I cannot just buy
another printer.  I spent $200 on the ML-1340 and
can't take it back since it has been too long.  I
would like to have known it handles Windows and Linux
but not handle DOS!  The DOS is emulated on Windows XP
and who would have thought a printer would only print
in Windows XP without using the DOS command line?

Why does the ML-1340 not print from DOS of Windows XP?
 Is it just a lack of driver function?  Other reason?

I will consider posting my dissatisfaction on usenet
and the web if Samsung does not convince me the
technology barrier is more substantial than writing a
DOS driver for the ML-1430.

Thanks for your consideration,
--Doug Morris

--- Electronics <electronics@samsung.com> wrote:
>
> This unit cannot print in DOS.
> Please consider our other Printer Models, which do
> support Dos printing, The ML-1250 or ML1650.
>
>
>
---------------------------------------------------------------------
> **********  Don't Remove "[SN********]" from the
> title  *************
>   When you inquire about our answer...
>   With the Serial Number, we could identify your
> message.
>
---------------------------------------------------------------------
>
>
> [ You Wrote ]
> Samsung,
>
> I do appreciate your support and got the ML-1430 to
> work with RedHAt 7.3.
>
> The new problem is with the DOS emulation on Windows
> XP.  Quite simply, the DOS jobs are queue by Windows
> XP and handed off to the ML-1430 laser printer.  If
> the printer is conserving power, it does warm up but
> it does not ever print.  Applications that use
> Windows XP directly do print, however.
>
> To make it clearer, the following applications will
> print:
> * Word
> * WordPad
> * NotePad
>
> The following applications fail to print but do go
> to the queue and do cause the printer to wake up if
> resting:
> * GNU Emacs 21.2.1 for Windows NT/XP on i386
> architecture.
> * print <file.txt> on the DOS emulated command line.
> * copy <file.txt> lpt1
>
> I think it is a driver issue.  What do you think and
> what can I do?

------Samsung-Support-Dialog-----------------

"Eli Zaretskii" <eliz@is.elta.co.il> wrote in message
news:mailman.1036389991.1511.help-gnu-emacs@gnu.org...
>
> On Sun, 3 Nov 2002, Doug M wrote:
>
> > Can't print with emacs on WindowsXP.  Other apps do.
> > Can't find .emacs file, but found .emacs.d directory.  Hmm?
> > Made sure ps-printer-name and printer-name were set to one of "LPT1",
"USB",
> > and "USB001" with the printer connected as indicated.  Did this with M-x
> > set-variable.  Looked with C-h v <var name> and noted descriptions.
Also
> > made sure lpr-command and ps-lpr-command were the empty string, i.e. ""
.
> >
> > Looked in emacs manual (C-h i mEmacs) for instructions.  Hence above
> > approach.
>
> The Emacs manual has Windows-specific instructions in the node named
> "MS-DOS Printing" (don't be turned off by its name: it's not only for
> DOS).  Did you read that as well?  If so, did you try the port-capture
> method or the "net use" method?
>
> Can you get a text file printed on that machine by typing this from the
> DOS box:
>
> copy foo.txt lpt1
>
> ?
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Can't Print with Emacs 21.2 on WindowsXP
  2002-11-11  2:23 ` Can't Print with Emacs 21.2 on WindowsXP Doug M
@ 2002-11-11  5:58   ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2002-11-11  5:58 UTC (permalink / raw)



On Sun, 10 Nov 2002, Doug M wrote:

> Turns out that the Windows XP supported Samsung ML-1430 laser printer does
> not work from the DOS command line interface.

Nevertheless, your cause is not lost yet.  I suggest to explore the 
possibility of using the port-capture feature of Windows to redirect LPT1 
(or any other LPTx) port to your printer.  This can be done via START -> 
Settings -> Printers, then right-click on your printer's icon and choose 
Properties.  Finally, click on the Ports tab.  (The names of the menu 
items could be different on your version of Windows.)

Once you told Windows to capture LPT1 and redirect it to your printer, 
set printer-name to "LPT1" and try printing something.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-11-11  5:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1036389991.1511.help-gnu-emacs@gnu.org>
2002-11-11  2:23 ` Can't Print with Emacs 21.2 on WindowsXP Doug M
2002-11-11  5:58   ` Eli Zaretskii
2002-11-04  1:05 Doug M
2002-11-04  5:53 ` Eli Zaretskii
2002-11-04  8:20 ` Julien Avarre

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).