Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: nelsonc@colossus.cs.rpi.edu (Chris Nelson)
Subject: ftp to ln03?
Date: 7 May 1993 18:08:39 GMT	[thread overview]
Message-ID: <1se8j7$ss6@usenet.rpi.edu> (raw)

I've got a PC running Interactive Unix and a VAX running VMS connected
via TCP/IP.  There is an existing script on the PC which uses the VAX
as a print server by ftp'ing a file to the line printer.  I don't
really know how it works but the input to ftp looks like:
 
  open vaxhost$
  user user_id passwd$
  put somefile vaxhost::lpa0:user_id.-somefile$
  close$

For what it's worth, SHOW QUEUE has this to say about lpa0:

   $ sho queue lpa0
   Printer queue LPA0, on VAXHOST::, mounted form DEFAULT

I'd like to adapt this to print on the ln03 attached to the same host.
The queue name is ln03_2 and SHOW QUEUE gives:

  $ sho queue ln03_2
  Printer queue LN03_2, on VAXHOST::LTA9002, mounted form CPS$DEFAULT
  (stock=DEFAULT)

I've tried the obvious:

  open vaxhost$
  user user_id passwd$
  put somefile vaxhost::ln03_2:user_id.-somefile$
  close$

but ftp gives me 550 errors (can't create destination file).  I assume
this has to do with the LTA9002 which is in the ln03_2 show queue but
I don't know where to go from here.  I'm out of my depth here.  Can
anyone help me?  Thanks.

                                     Chris


-- 
------------------------------+------------------------------------------
Chris Nelson                  |  Rens-se-LEER is a county.
Internet: nelsonc@cs.rpi.edu  |  RENS-se-ler is a city. 
CompuServe: 70441,3321        |  R-P-I is a school in Troy!


                 reply	other threads:[~1993-05-07 18:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox