home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!timbuk.cray.com!raistlin!uc.msc.edu!noc.msc.net!news.gac.edu!msus1.msus.edu!vax1.mankato.msus.edu!robin
- Newsgroups: comp.protocols.tcp-ip
- Subject: LPR and Fortran flow control RFC 1179
- Message-ID: <1993Jan22.170024.2775@vax1.mankato.msus.edu>
- From: robin@vax1.mankato.msus.edu
- Date: 22 Jan 93 17:00:24 -0600
- Organization: Mankato State University
- Lines: 37
-
- ********* Help ******** Help ******** Help ********
- I am trying to implement an LPR client using RFC 1179. When trying to
- send fortran flow control to the server machine, I send a control file
- with an 'r'+file+LF. What exactly should I be sending as file???
- Currently, I am sending the name of the df (same as is being sent by
- the 03 (receive data file) subcommand. So to sumerize I'm sending the
- following data:
-
- /*connect to remote host*/
- [02]<queue>[LF]
- [02]<size of control file> cfA100POJ1[LF] /*POJ1 = hostname, 100 = JobNo */
- CAS400-1.Mankato.MSUS.Edu[LF]
- HAS400-1.Mankato.MSUS.Edu[LF]
- J<Jobname>[LF]
- L<Userid>[LF]
- N<Source name>[LF]
- P<Userid>[LF]
- rdfA100POJ1[LF]
- /*wait for ack here*/
- [03]<size of data file> dfA100POJ1[LF]
- <insert entire data file here>
- [0]
- /*wait for ack here*/
- /*disconnect*/
-
- For output we get a complete printout on the host... but the fortran flow
- control is NOT interpreted and the "1" "0" "+".. etc. are printed.
-
- Please reply directly to:
-
- j3gum@vax1.mankato.msus.edu
- AND
- robin@vax1.mankato.msus.edu
-
-
-
- THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU THANKYOU
-