![]() |
![]() ![]() APPX Winprint 2.4 |
Installation:
1) Rename or move your existing $APPXPATH/winprint.exe file. 2) Move the file winprint24.exe into the place of the former $APPXPATH/winprint.exe. (winprint24.exe must be renamed to winprint.exe, and reside in your $APPXPATH directory, in order to be accessible.) New Features: Version 2.4 introduces the following enhancements: Running WINPRINT24.exe without parameters (or clicking on it from Explorer) now gives you a list of all available options (in addition to the version number).
Version 2.3 introduces support for the SCRATCH Disposition attribute, and will allow CANCELing of a spooling print request, if the FORMs or PRINTER options specify '-interactive', as does Version 2.0 introduced the following new options (which can be specified on the command line, in the form options field, or in the printer options field): -interactive - Invokes the printer setup dialog for the selected printer. You can use this to override the specifications given by the configuration file, and to select options which are not otherwise supported by winprint. If you have difficulty getting any of the "-form_*" switches described below to work, you can use the -interactive switch at runtime to perform any function a given printer driver supports. -source= - Can be used to select the paper source. Valid values vary by printer driver. Winprint will recognize the following paper sources:
Upper
Lower
Middle
Manual
Envelope
Manual Envelope
Automatic
Tractor
Small format
Large format
Large capacity
Paper cassette
-form_id= 10 by 14 sheet - 10 x 14 inches 11 by 17 sheet - 11 x 17 inches A3 - 297 x 420 millimeters A4 - 210 x 297 millimeters A4 small - 210 x 297 millimeters A5 - 148 x 210 millimeters B4 - 250 x 354 millimeters B5 - 182 x 257 millimeters C - 17 x 22 inches D - 22 x 34 inches #10 envelope - 4.125 x 9.5 inches #11 envelope - 4.5 x 10.375 inches #12 envelope - 4.75 x 11 inches #14 envelope - 5 x 11.5 inches #9 envelope - 3.875 x 8.875 inches B4 envelope - 250 x 353 millimeters B5 envelope - 176 x 250 millimeters B6 envelope - 176 x 125 millimeters C3 envelope - 324 x 458 millimeters C4 envelope - 229 x 324 millimeters C5 envelope - 162 x 229 millimeters C6 envelope - 114 x 162 millimeters C65 envelope - 114 x 229 millimeters DL envelope - 110 x 220 millimeters Italy envelope - 110 x 230 millimeters Monarch envelope - 3.875 x 7.5 inches 6 3/4 envelope - 3.625 x 6.5 inches E - 34 x 44 inches Executive - 7.25 x 10.5 inches German legal fanfold - 8.5 x 13 inches German standard fanfold - 8.5 x 12 inches U.S. standard fanfold - 14.825 x 11 inches Folio - 8.5 x 13 inches Ledger - 17 x 11 inches Legal - 8.5 x 14 inches Letter - 8.5 x 11 inches Letter small - 8.5 x 11 inches Note - 8.5 x 11 inches Quarto - 215 x 275 millimeters Statement - 5.5 x 8.5 inches Tabloid - 11 x 17 inches -length= Specifies length and width of the form in either -width= inches or millimeters. If the value ends in an 'm' (for example 250m), it is specified in millimeters. If it ends in 'i' (for example 11i), or no unit is specified, the value is considered to be in inches. Since most printer drivers do not support custom form sizes, winprint will try to exactly match the given form size to one of the pre-defined forms above, if possible. If winprint cannot match the length and width to a form above, it will attempt to pass to the Windows Print manager a manual specification of the form length and width. Due to a bug in Windows NT 3.51 and 4.0, this manual length and width passing to printer drivers may fail. If it fails, Windows will select default length/width. This may be worked around by using "-interactive". -ansi The print file is assumed to contain text in an OEM character set and will be translated to ANSI while printing -oem The print file is assumed to contain text in the ANSI character set and will be translated to an OEM character set while printing -log= Use this flag to specify the pathname of a debugging log if you experience trouble with winprint. For example:
-log=c:\winprint.log If you need technical support, please gather a debugging log to help the support personnel diagnose your problem. Winprint 2.0 also fixes a problem under Windows NT: winprint would try to use a custom form size, which is not supported by most printer drivers. Please note that many of the options listed above are not supported by some printer drivers. Also, some options are only allowed in specific combinations. For example, some printer drivers will not allow you to specify "-form=DL Envelope", without changing the paper source to "Envelope" or "Manual Envelope" (using -source= ). Some printer drivers use non-standard properties which winprint cannot access programmatically. The only way to use these properties is to specify "-interactive", and select the properties at run-time. Manual operation: Normally, winprint.exe is invoked automatically when the jobstream or enduser submits the printfile to the operating system to be queued to print. Winprint operates upon an ASCII file containing text to be printed, and on a configuration file. The user can get the pathname/filename of a printfile to be printed at runtime by displaying the report to the screen, then pressing the HELP key followed by option/5. This displays the printfile's pathname and filename at the bottom of the screen. The APPX print manager also creates a printing configuration file, after the editor displaying the report on the screen is (optionally) invoked. This configurations file is located in the same directory as the original printfile. It is named the same as the printfile, but with '.cfg' appended. The configuration file contains printer setup information, as obtained from the 'Printer Options', 'Forms Options', and user-interactive printing selections. It is a readable and modifiable text file. winprint.exe can be manually invoked, with the following format: winprint.exe -config=<config.file> <print.file>
This will cause 'print.file' to be submitted to the Windows Print Manager, using options specified in 'config.file'.
| |
[Append to This Answer] | |
2010-May-20 12:29am |
Previous: |
![]() |
Next: |
![]() |
|