home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / protocol / tcpip / 6063 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.5 KB

  1. Path: sparky!uunet!timbuk.cray.com!raistlin!uc.msc.edu!noc.msc.net!news.gac.edu!msus1.msus.edu!vax1.mankato.msus.edu!robin
  2. Newsgroups: comp.protocols.tcp-ip
  3. Subject: LPR and Fortran flow control RFC 1179
  4. Message-ID: <1993Jan22.170024.2775@vax1.mankato.msus.edu>
  5. From: robin@vax1.mankato.msus.edu
  6. Date: 22 Jan 93 17:00:24 -0600
  7. Organization: Mankato State University
  8. Lines: 37
  9.  
  10. *********   Help    ********   Help   ********    Help    ********
  11. I am trying to implement an LPR client using RFC 1179.  When trying to 
  12. send fortran flow control to the server machine, I send a control file
  13. with an 'r'+file+LF.  What exactly should I be sending as file???
  14. Currently, I am sending the name of the df (same as is being sent by
  15. the 03 (receive data file) subcommand.  So to sumerize I'm sending the
  16. following data:
  17.  
  18. /*connect to remote host*/
  19. [02]<queue>[LF]
  20. [02]<size of control file> cfA100POJ1[LF]     /*POJ1 = hostname, 100 = JobNo */
  21. CAS400-1.Mankato.MSUS.Edu[LF]
  22. HAS400-1.Mankato.MSUS.Edu[LF]
  23. J<Jobname>[LF]
  24. L<Userid>[LF]
  25. N<Source name>[LF]
  26. P<Userid>[LF]
  27. rdfA100POJ1[LF]
  28. /*wait for ack here*/
  29. [03]<size of data file> dfA100POJ1[LF]
  30. <insert entire data file here>
  31. [0]
  32. /*wait for ack here*/
  33. /*disconnect*/
  34.  
  35. For output we get a complete printout on the host... but the fortran flow
  36. control is NOT interpreted and the "1" "0" "+".. etc. are printed.
  37.  
  38. Please reply directly to:
  39.  
  40. j3gum@vax1.mankato.msus.edu
  41. AND
  42. robin@vax1.mankato.msus.edu
  43.  
  44.  
  45.  
  46. THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU 
  47.