Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* ftp to ln03?
@ 1993-05-07 18:08 Chris Nelson
  0 siblings, 0 replies; only message in thread
From: Chris Nelson @ 1993-05-07 18:08 UTC (permalink / 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!


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-05-07 18:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-05-07 18:08 ftp to ln03? Chris Nelson

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