Art Alexion on Tue, 21 May 2002 08:30:56 -0400


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [OT] Re: [PLUG] print to file in windows?




Time wrote:

On Fri, May 17, 2002 at 08:16:29PM -0400, Bill Jonas wrote:

On Fri, May 17, 2002 at 08:05:08PM -0400, W. Chris Shank wrote: > anyone know how to do this in win2k? i'd like to convert the ps to pdf.

Reaching back, I think there's some print driver that will print to the
FILE: device.  It may be that you can connect any printer driver to
FILE:, or that there's a special driver.  Try poking around in the print
setup.

Thinking back I remember being able to Print to File then from dos, doing the following:

cp filename lpt

Which would print that file 'filename'

... but then its been a long while since I've done this.

The syntax is

copy /b filename.prn lptn:

the /b parameter tells DOS that filename.prn is binary. N is the number of the printer port, as in lpt1:.

this is not how to CREATE a print file. It's how you send the binary print file to the printer.

to create an ascii print file

print file.txt > filename.prn

the creation of binary, formatted filename.prn requires a filter or printer driver.
_____________________________


art alexion
mailto:arthur@alexion.com

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug