prt2win, v1.35

This is "Print To Windows", a small Win32 utility to print Unicode or ASCII text using any Windows printer queue, using driver text imaging, no matter how it's hooked up, LPT, USB, network or other.  prt2win will also send raw printer codes, without driver text imaging; it does, however, always use the Windows print queue system.  It works either from the command line (prt2win.exe) or entirely behind the scenes in Win32 invisibility (hprt2win.exe).  Both binaries are included in the packages.

Downloads:

prt2win135.zip (binary package, simple docs; 20,809 bytes)
prt2win-all135.zip (binary plus src plus simple docs; 24,446 bytes)

prt2win is entirely free of charge or license.

Usage:  prt2win [-f"File Name"] [-p"Printer Name"] [-r] [-h|--help|/h|/?]
       hprt2win [-f"File Name"] [-p"Printer Name"] [-r] [-d] [-h|--help|/h|/?]

The -f option specifies a text file for input. Default is standard input. Quotes are necessary only if there is space within the name of the file.

The -p option specifies the Windows printer name. Default is Windows default. Quotes are necessary only if there is space within the name of the printer.

The -r option sends output to the printer device as raw data bytes, does not use printer driver text imaging.

The -d is diagnostic mode for hprt2win only. It brings up all usual messages in Win32 message boxes, for feedback.

-h, --help, /h, or /? brings up this information.

This is the sixth public version, 1.35. prt2win has always been completely free of charge or license. If you have bugs, comments, or suggestions, please email, or visit the project thread at the FreeBASIC forums.


This project is very happily made using FreeBASIC .


Version history:

1.35, 11/14/2013, current release
Revised source code for current version (0.90.1) of FreeBASIC, recompiled and tested under Windows 8.

1.3, 7/11/2006, current release
Fixed usage text. Fixed file-not-found and printer-not-found error reporting bugs. Added hidden mode binary. Revamped display code for efficient dual-mode source.

1.2, 6/26/2006
Major rewrite, starting from original 1.0 src, using improvements in new FB 0.16b and latest CVS rtlib (thanks especially to FB's coderJeff). Unicode capability added. Working raw mode added. Buglet found, -r not visible in usage text.

1.02, 6/23/2006
Buglet found and fixed.

1.01, 4/29/2006
Buglets found and fixed, code revised. Raw mode found to be not useful, removed.

1.0 Initial release.


This is a Joshua Corps project. Help has come from many, especially including coderJeff, Zippy, and mjs at the FreeBASIC forums. Membership in Joshua Corps is neither stated nor implied with help in these projects; however, we desire to give kudos to such excellence. The whole FreeBASIC team deserves it.

Joshua Corps places absolutely no restrictions on use of its projects. In place of place resctriction or license, members of Joshua Corps offer a blessing:

May you do good, and not evil;
May you find forgiveness for yourself, and forgive others;
May you share freely all of the good that you have been given,
And may you enter the Kingdom of God, by His Son.

http//joshuacorps.org

hosting graciously provided by ibiblio.org.