To print to a network printer from an application that is not designed to run on a network, follow these steps.
Your application sends the print job to the parallel ports. Before the print job arrives at the port, CAPTURE sets flags that redirects the job to the appropriate queue.
In most applications, printing begins immediately after you send the job.
In most applications, printing begins immediately after you send the job.
If your timeout is not long enough, you may have problems printing some files, especially files with graphics. Increase the timeout if only parts of files are being printed or if the files do not print at all. The default is ``TI=0'' (Timeout disabled).
Suppose you often use CAPTURE to print from two different applications: AppA and AppB. AppA does not allow you to designate which parallel port to send print jobs to; therefore, its print jobs are sent to LPT1. However, AppB has a SETUP program that allows you to designate a parallel port.
Suppose also that AppA requires a different form than AppB and that you want to put form A (for AppA) in printer P_1 and form B (for AppB) in printer P_2.
Use the SETUP program in AppB to send
your data through LPT2 to printer P_2. When
you capture data from AppA, type
CAPTURE LPT1 P=P_1
When you capture data from AppB, type
CAPTURE LPT2 P=P_2
You can add other options to these commands.
To print information displayed on your screen, follow these steps.
You can include any of the CAPTURE options except SH (show).
LOCAL PRINTERS = 0
Suppose you want to move in and out of applications or files, saving data from each, and store all the data in one file called TEST on a network drive.
Use the CR (create) and NA (no autoendcap) options. Specifying no autoendcap allows you to move in and out of applications or files without prematurely closing the file you are creating.
To save data to a file to your current directory, type
CAPTURE CR=TEST NA TI=0
To save data to a file called TEST
that is located in the REPORTS
directory, type
CAPTURE CR=COUNT_SYS:SALES\REPORTS\TEST NA TI=0
To end the capture, type
CAPTURE EC
If you specify a NetWare server you are not attached to in your CAPTURE command, CAPTURE attaches you as user GUEST unless GUEST requires a password. In this case, you are prompted to enter both a username and a password before you continue with the capture.