home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
prtsmp.zip
/
printing
/
print
/
1000.0
next >
Wrap
Text File
|
1993-11-07
|
664b
|
22 lines
Arg window self
/* Set item value Text */
CALL VpSetItemValue window,1008,'Printing in progress please wait...'
If PrinterQ = "" Then Do
Call RxQueueList 'queues.'
def = queues.default
PrinterQ = queues.def || '.' || queues.def.drivername
End
Call RxRead 'dummy.', SaveFile
/* Get item value Text */
dummy.jobname = VpGetItemValue(window,1003)
/* Get item value Spin Button */
dummy.copies = VpGetItemValue(window,1005)
/* Get item value Spin Button */
dummy.priority = VpGetItemValue(window,1007)
Call RxQueueWriteStem PrinterQ, 'dummy.'
response=VpMessageBox(window,'Printing','Printing complete.')
CALL VpWindow window,'CLOSE'