home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 19 Printer / 19-Printer.zip / epdf2b5.zip / Print2PS.cmd < prev    next >
OS/2 REXX Batch file  |  2002-11-30  |  352b  |  13 lines

  1. /* Print2PS v0.2 for ePDF*/
  2.  
  3. parse arg lptport
  4. if lptport = "" then do
  5. say "PrintMon PS error:"
  6. say "No port specified. Please enter a port to be scanned as parameter."
  7. say "e.g. 'lpt3' (without the quotes)"
  8. end
  9. else do
  10. call rxFuncAdd "SysLoadFuncs", "REXXUTIL", "SysLoadFuncs"
  11. call SysLoadFuncs
  12. ADDRESS CMD '@PRINTMON' lptport 'PSDump'
  13. end