Printing a file with print codes in it

Bob Rasmussen ras at anzio.com
Wed Nov 29 16:00:55 PST 2006


On Wed, 29 Nov 2006, Kenneth Brody wrote:

> How do you print the file once it's on the other system?
> 
> I do this all the time, by dropping to a command prompt and typing
> 
>     copy /b filename printername
> 
> For example:
> 
>     copy /h c:\temp\printfile.txt lpt1

First, an obvious typo: that "/h" should be "/b".

Second, "lpt1" is the name of the port, not the name of the printer as 
it's defined to Windows. This WILL work, for a parallel-connected printer. 
I don't believe it will for a USB-connected printer. I'm not sure about a 
network-connected printer.

Print Wizard can do this:
   printwiz c:\temp\printfile.txt /p"your printer name"
When it sees the escape codes, it will switch to "spooler mode", and 
output this data directly via the print spooler.

If you needed to print this same file to a printer that didn't understand 
PCL-5, you could tell Print Wizard to translate it for you:
   printwiz c:\temp\printfile.txt /p"your printer name" /translatepcl

Regards,
....Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: ras at anzio.com
 company e-mail: rsi at anzio.com
          voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
            fax: (US) 503-624-0760
            web: http://www.anzio.com


More information about the Filepro-list mailing list