From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,d93043af9698a08f,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,d93043af9698a08f,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-05-07 11:48:51 PST Xref: gmd.de comp.os.vms:23147 comp.sys.dec:7543 Path: gmd.de!ira.uka.de!howland.reston.ans.net!zaphod.mps.ohio-state.edu!usenet.rpi.edu!nelsonc From: nelsonc@colossus.cs.rpi.edu (Chris Nelson) Newsgroups: comp.os.vms,comp.sys.dec Subject: ftp to ln03? Followup-To: comp.os.vms Date: 7 May 1993 18:08:39 GMT Organization: Rensselaer Polytechnic Institute, Troy, NY Message-ID: <1se8j7$ss6@usenet.rpi.edu> NNTP-Posting-Host: colossus.cs.rpi.edu 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!