Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Network:
Windows 2000 Server
>with my suggestion you don't do anything special to print from the correct tray, no >tray info in the report file and no special functions are required. The clue is to >install the same printer many times and use different names. Then you configure >these 'virtual' printers with different trays using the Windows Printer settings.
Yes you right!
Let figure out for example if I want to process 50,000 statements and one field name tray have the number 1,2,3 or 4 for selecting the right tray and each tray have a special form preprint and color with different credit card ect., what will be the process to generate only one spool file or print to a file.prn.
Maybe you have the solution I am thinking too much.
EXP:
select myTable
scan
do case
case myTable.tray = 1
store sortkey to msort
set printer to name Prntray1
REPORT FORM myreport.frx for sortkey = msort while sortkey =msort TO FILE myReport.prn NOCONSOLE
case myTable.tray = 2
store sortkey to msort
set printer to name Prntray2
REPORT FORM myreport.frx for sortkey = msort while sortkey =msort TO FILE myReport.prn NOCONSOLE
case myTable.tray = 3
store sortkey to msort
set printer to name Prntray3
REPORT FORM myreport.frx for sortkey = msort while sortkey =msort TO FILE myReport.prn NOCONSOLE
case myTable.tray = 4
store sortkey to msort
set printer to name Prntray4
REPORT FORM myreport.frx for sortkey = msort while sortkey =msort TO FILE myReport.prn NOCONSOLE
encase
endscan
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement