1. Printing to local Windows Printers
(36.13.2) Printer Setup Maintenance
Printer Definition
Output to: Myprinter Printer type: HP LASER
Description: Local Printer LJ4SI Lines/Page: 60
Max Pages:0 Scroll Output: no
Device Pathname: LPT1 Spooler: no
Printer control
Win 3.11: The "Device Pathname" should refer to the port where the Windows printer is attached to. This can be found in Print Manager or in the [PrinterPorts] sections of the win.ini file. If multiple printers are attached to the same port, Progress will utilize the first printer found in the win.ini file.
c:windowswin.ini:
[PrinterPorts]
HP LaserJet 4Si/4SiMX PS 600dpi=adobeps,LPT2:,15,45 This is the printer recognized by Progress
HP LaserJet IIISi PostScript=PSCRIPT,LPT1:,15,90
Win 95 and WinNT: The printer must be setup to operate with RAW data formatting. To do this, click on Spool Settings. In spool settings set the data format to RAW instead of EMF.
DOS character clients: Add a colon to the device pathname, such as "LPT1:" -- the colon must be left off for Windows.
2. Printing to remote Windows Printers
Printer Setup Maintenance
Printer Definition
Output to: QADprinter Printer type: HP LASER
Description: Network Printer LJ4SI Lines/Page: 60
Max Pages:0 Scroll Output: no
Device Pathname: SERVERLJ4SI Spooler: no
Printer control
Remote printers defined in the 3.11 Windows Print Manager can also be utilized from MFG/PRO with the "Device Pathname" set to LPTx, where LPTx is the Windows definition for the remote printer. In the Windows Print manager, the printer is defined with a UNC name such as NTSERVERLJ4SI or UnixServerLJ4SI.
Win 95: If you use LPTn as a "Device Pathname" in 36.13.2, make sure that LPTn is captured for the network printer. This pathname must be mapped to a LPT type name such as LPT2 or LPT3 (this is a current restriction caused by Progress in progress versions 7.3 and 8.0). You can check this under "Printer Properties" -> "Details". If there is no printer port captured, click on the "Capture Printer Port.."
button to add one. Then change the setting from "servernameprintername" to "LPTN: [servernameprintername]".
Win 95 and WinNT: The printer must be setup to operate with RAW data formatting. To do this, click on Spool Settings. In spool settings set the data format to RAW instead of EMF
3. Printing to other (non-standard) devices such as a Faxmodem:
(36.13.2) Printer Setup Maintenance
Printer Definition
Output to: Fax Printer type:
Description: Winfax modem on COM1 Lines/Page: 60
Max Pages:0 Scroll Output: no
Device Pathname: printer Spooler: no
Printer control
Win 3.11, Win95, WinNT: Setup the required device according to the installation media supplied with the faxmodem or use Microsoft at Work fax. Make the faxmodem the default printer in Windows Print manager.
c:windowswin.ini
[PrinterPorts]
Note: In WIN95 win.ini file, the faxmodem is
WinFax=Winfax,FaxModem,15,45 not mapped to a port such as COM1
[PrinterPorts]
WINFAX=WINFAX,COM1:,15,45
4. Printing to ClipBoard
(36.13.2) Printer Setup Maintenance
Printer Definition
Output to: Clip Printer type:
Description: Windows clipboard Lines/Page: 60
Max Pages:0 Scroll Output: no
Device Pathname: CLIPBOARD Spooler: no
Printer control
Fill in Lines/Page as you like (page-breaks will be added). Paste works OK in Write and in Word, but not in notepad. This works for Progress version 7 + higher only.
5. Printing to Window
For 8.3k, and 8.4g, ECO G1MR is necessary before you can print to WINDOW. This ECO includes a utility uxprup.p that will insert the necessary records in the MFG/PROqaddb database in order to print all GUI reports and inquiries to a Notebook-like editor widget. Previously, only so-called "FullGui" reports could be printed in
this way. This ECO is not needed for 8.3m, 8.4h, 8.5 and 8.6.
(36.13.2) Printer Setup Maintenance
Printer Definition
Output to: Window Printer type:
Description: Editor Widget Lines/Page: 72
Max Pages:0 Scroll Output: no
Device Pathname: WINDOW Spooler: no
Printer control
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/443058/viewspace-914006/ ,如需转载,请注明出处,否则将追究法律责任。