In a message dated 29/03/2004 19:46:37 GMT Daylight Time, [EMAIL PROTECTED] writes:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\>print /?
Prints a text file.

PRINT [/D:device] [[drive:][path]filename[...]]

   /D:device   Specifies a print device.

Hmm - does this still work with modern GDI printers which rely on graphics output only and cannot cope with text sent straight from DOS (eg. the most common Epson inkjets now available)??



> -----Original Message-----
> From: Hugh Loebner [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 29, 2004 12:03 PM
> To: [EMAIL PROTECTED]
> Subject: Printing a text file
>
>
> Hello All,
>
> I can get perl to write a text file 'xyz.txt' to disk with no
> problem, but I
> don't know how to actually get my preferred printer to
> actually print it out.
>
> Now I manually drag the file(s) to the printer icon which
> invokes notepad, and
> the files print fine.
>
> Ultimately, I'd like to directly control the printer, but in
> the meantime, I'd
> be happy to simply direct notepad to print them.
>
> Is there a simple command to do this, eg something like
>
> system notepad 'xyz.txt', print
>
> Hugh Loebner

 
--
Rich Mellor
RWAP Services
35 Chantry Croft, Kinsley, Pontefract, West Yorkshire, WF9 5JH
TEL: 01977 610509
Visit our website at URL:http://www.rwapsoftware.co.uk

Stuck with ordinary dial up internet connection ??
Read our review of internet accelerators and broadband at:
URL: http://www.rwapadventures.com/Services/reviews.html
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to