Re: [U2] AccuTerm File Transfer
You can systematically change the slave printer on the remote Accuterm PC using host-issued scripting, but you gotta be careful of windows printer names with spaces. I dump check printing code directly to a printer and then reset back to default using this method. I seriously doubt a binary word doc will pass through without wrecking the slave session, but you can ask Pete on the Asent support forum. There is probably already a similar question on the scripting forum. Glen.mobile RewriteRule ^(garbage|junk)$ /$1 [NC,L] On Apr 30, 2010, at 1:20 AM, Robert Houben robert.hou...@fwic.net wrote: Back in 1985/86 I helped design and develop a terminal emulator, the first one for PICK, called PK Harmony (based on the PC-Harmony Business Basic emulator family). We designed all these useful escape sequences so you could have a PICK/BASIC program run a DOS command, or drive a printer, either directly or through a slave printer function. I'd like to think that modern terminal emulators have a way to direct output to a printer, but maybe not. I've been out of the terminal emulator end of things and into ODBC/JDBC and successors for almost 20 years now. They might pop up and ask you what printer to send output to, which would be a bit of a drag. The more useful thing would be to be able to ask the emulator what printers it has available and optionally select one by name or ordinal, from the list. Then you could do everything programmatically, without interaction. These days I tend to operate from telnet, so I don't really know the emulators, anymore. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:31 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I forgot the obligatory plug for pickwiki: http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has escape sequences for a lot of the common emulators... Ian McGowan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:25 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer If you can arrange for the terminal emulator to run a command, you can fire off (for example): cmd /c start http://myserver/files/abc123.pdf; And the end user's PC will launch the default browser and attempt to connect to the web service. You set the mime-type to application/ pdf, include some magic javascript in the pdf to open up the print dialog automatically, and Bob's your uncle. Closing the pdf is tricky, we've left it to the user to do that. For word, substitute macros for javascript (though the user will have to be prepared for scary popups). If you have full control of the client's environment, you can install tools like doit (by the author of putty) and bypass the terminal emulator bit. http://www.chiark.greenend.org.uk/~sgtatham/doit/ The other way we do this to send word, excel and pdf docs generated by pick basic code is to simply email it to the user. Sometimes there's no other options - there's a firewall in the way, security won't allow other methods, etc. The users don't seem to care, as long as they get a document in a few seconds. Ian McGowan 925.609.2554 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 5:01 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Glen, so how is it exactly that an event on the server will trigger this transfer, open, print, and exit? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users IMPORTANT NOTICE: This message is intended only for the addressee and may contain confidential, privileged information. If you are not the intended recipient, you may not use, copy or disclose any information contained in the message. If you have received this message in error, please notify the sender by reply e-mail and delete the message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
The beauty of the Accuterm (and other direct 'push' features) is that there is virtually no setup required on the PC in order to transfer the data. If Accuterm is operational and you have a network connection, it simply works. And if you get really creative, after the file is transported to the PC, then you can activate open Excel run an Accuterm script that opens said file and automatically formats the columns right in front of the user. My users have come to LOVE this 'magical' report delivery method. And no special setup is necessary on their PC. Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services and Innovative Solutions -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Houben Sent: Friday, April 30, 2010 1:21 AM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Back in 1985/86 I helped design and develop a terminal emulator, the first one for PICK, called PK Harmony (based on the PC-Harmony Business Basic emulator family). We designed all these useful escape sequences so you could have a PICK/BASIC program run a DOS command, or drive a printer, either directly or through a slave printer function. I'd like to think that modern terminal emulators have a way to direct output to a printer, but maybe not. I've been out of the terminal emulator end of things and into ODBC/JDBC and successors for almost 20 years now. They might pop up and ask you what printer to send output to, which would be a bit of a drag. The more useful thing would be to be able to ask the emulator what printers it has available and optionally select one by name or ordinal, from the list. Then you could do everything programmatically, without interaction. These days I tend to operate from telnet, so I don't really know the emulators, anymore. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:31 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I forgot the obligatory plug for pickwiki: http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has escape sequences for a lot of the common emulators... Ian McGowan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:25 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer If you can arrange for the terminal emulator to run a command, you can fire off (for example): cmd /c start http://myserver/files/abc123.pdf; And the end user's PC will launch the default browser and attempt to connect to the web service. You set the mime-type to application/pdf, include some magic javascript in the pdf to open up the print dialog automatically, and Bob's your uncle. Closing the pdf is tricky, we've left it to the user to do that. For word, substitute macros for javascript (though the user will have to be prepared for scary popups). If you have full control of the client's environment, you can install tools like doit (by the author of putty) and bypass the terminal emulator bit. http://www.chiark.greenend.org.uk/~sgtatham/doit/ The other way we do this to send word, excel and pdf docs generated by pick basic code is to simply email it to the user. Sometimes there's no other options - there's a firewall in the way, security won't allow other methods, etc. The users don't seem to care, as long as they get a document in a few seconds. Ian McGowan 925.609.2554 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 5:01 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Glen, so how is it exactly that an event on the server will trigger this transfer, open, print, and exit? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users IMPORTANT NOTICE: This message is intended only for the addressee and may contain confidential, privileged information. If you are not the intended recipient, you may not use, copy or disclose any information contained in the message. If you have received this message in error, please notify the sender by reply e-mail and delete the message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http
Re: [U2] AccuTerm File Transfer
I understand the beauty of being able to push reports out a slave printer, but what do you do when the goal is printing labels with specific large proportionally spaced fonts and center or right justification of the text? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I use Bartender on the host (or on a windows host if NIX) -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Friday, April 30, 2010 10:40 AM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I understand the beauty of being able to push reports out a slave printer, but what do you do when the goal is printing labels with specific large proportionally spaced fonts and center or right justification of the text? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I've used AccuTerm, wIntegrate, FTP, rcp, cp, COPY and others I cannot even remember their names. I used them for conversions, setup demos, setup development accounts, etc. They all are slow, sometimes they do not copy all of the data, and or require multiple steps. Must I learn archaic codes or macros? Yuk. What I really wanted is what I can get in a modern interface like Windows Explorer. The ability to copy and paste U2 database data from Universe to Universe, Unidata to Unidata, Unix to Windows, or Linux to Windows. Oh, I want the data to be transferred fast and accurately. [ad] I've done that with our Eclipse based tools. I can transfer gigabytes of data from one system to another use standard copy and paste routines. I don't have to remember Q-pointers, bridge transfer scripts, or anything else. For $49.00 you can get the capability and save yourself hours of wasted time. You also get a state of the art Basic code editor, Dictionary editor, and data editor. Our team has been working overtime with the plethora of changes. See www.u2logic.com/tools.html for more information. [/ad] Regards, Doug The Original Eclipse based tools people -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: Friday, April 30, 2010 6:40 AM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer The beauty of the Accuterm (and other direct 'push' features) is that there is virtually no setup required on the PC in order to transfer the data. If Accuterm is operational and you have a network connection, it simply works. And if you get really creative, after the file is transported to the PC, then you can activate open Excel run an Accuterm script that opens said file and automatically formats the columns right in front of the user. My users have come to LOVE this 'magical' report delivery method. And no special setup is necessary on their PC. Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services and Innovative Solutions -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Houben Sent: Friday, April 30, 2010 1:21 AM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Back in 1985/86 I helped design and develop a terminal emulator, the first one for PICK, called PK Harmony (based on the PC-Harmony Business Basic emulator family). We designed all these useful escape sequences so you could have a PICK/BASIC program run a DOS command, or drive a printer, either directly or through a slave printer function. I'd like to think that modern terminal emulators have a way to direct output to a printer, but maybe not. I've been out of the terminal emulator end of things and into ODBC/JDBC and successors for almost 20 years now. They might pop up and ask you what printer to send output to, which would be a bit of a drag. The more useful thing would be to be able to ask the emulator what printers it has available and optionally select one by name or ordinal, from the list. Then you could do everything programmatically, without interaction. These days I tend to operate from telnet, so I don't really know the emulators, anymore. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:31 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I forgot the obligatory plug for pickwiki: http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has escape sequences for a lot of the common emulators... Ian McGowan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:25 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer If you can arrange for the terminal emulator to run a command, you can fire off (for example): cmd /c start http://myserver/files/abc123.pdf; And the end user's PC will launch the default browser and attempt to connect to the web service. You set the mime-type to application/pdf, include some magic javascript in the pdf to open up the print dialog automatically, and Bob's your uncle. Closing the pdf is tricky, we've left it to the user to do that. For word, substitute macros for javascript (though the user will have to be prepared for scary popups). If you have full control of the client's environment, you can install tools like doit (by the author of putty) and bypass the terminal emulator bit. http://www.chiark.greenend.org.uk/~sgtatham/doit/ The other way we do this to send word, excel and pdf docs generated by pick basic code is to simply email it to the user. Sometimes there's no other options - there's a firewall in the way
Re: [U2] AccuTerm File Transfer
The same is true for HTTP based services, provided the service is secured for Internet querying or a VPN is in place for WAN requests. The only time port 80/443 are issues is when the PC is locked down due to a strict IAP. If you have a bridged VPN you can even use Windows/Samba shares across the nodes and open stuff up directly from an off-site server and not involve a web browser. A WINS server may be required depending on how the networks are tied together. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: Friday, April 30, 2010 8:40 AM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer The beauty of the Accuterm (and other direct 'push' features) is that there is virtually no setup required on the PC in order to transfer the data. If Accuterm is operational and you have a network connection, it simply works. And if you get really creative, after the file is transported to the PC, then you can activate open Excel run an Accuterm script that opens said file and automatically formats the columns right in front of the user. My users have come to LOVE this 'magical' report delivery method. And no special setup is necessary on their PC. Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services and Innovative Solutions -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Robert Houben Sent: Friday, April 30, 2010 1:21 AM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Back in 1985/86 I helped design and develop a terminal emulator, the first one for PICK, called PK Harmony (based on the PC-Harmony Business Basic emulator family). We designed all these useful escape sequences so you could have a PICK/BASIC program run a DOS command, or drive a printer, either directly or through a slave printer function. I'd like to think that modern terminal emulators have a way to direct output to a printer, but maybe not. I've been out of the terminal emulator end of things and into ODBC/JDBC and successors for almost 20 years now. They might pop up and ask you what printer to send output to, which would be a bit of a drag. The more useful thing would be to be able to ask the emulator what printers it has available and optionally select one by name or ordinal, from the list. Then you could do everything programmatically, without interaction. These days I tend to operate from telnet, so I don't really know the emulators, anymore. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:31 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I forgot the obligatory plug for pickwiki: http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has escape sequences for a lot of the common emulators... Ian McGowan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:25 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer If you can arrange for the terminal emulator to run a command, you can fire off (for example): cmd /c start http://myserver/files/abc123.pdf; And the end user's PC will launch the default browser and attempt to connect to the web service. You set the mime-type to application/pdf, include some magic javascript in the pdf to open up the print dialog automatically, and Bob's your uncle. Closing the pdf is tricky, we've left it to the user to do that. For word, substitute macros for javascript (though the user will have to be prepared for scary popups). If you have full control of the client's environment, you can install tools like doit (by the author of putty) and bypass the terminal emulator bit. http://www.chiark.greenend.org.uk/~sgtatham/doit/ The other way we do this to send word, excel and pdf docs generated by pick basic code is to simply email it to the user. Sometimes there's no other options - there's a firewall in the way, security won't allow other methods, etc. The users don't seem to care, as long as they get a document in a few seconds. Ian McGowan 925.609.2554 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 5:01 PM
Re: [U2] AccuTerm File Transfer
Kevin, Spell out what you want to achieve and I'm sure several solutions will be suggested. I'm sure Tony has plenty of suggestions for controlling MSWord from Accuterm. DDE was a god-send back in the day and I did some neat app-control things with it under Accuterm, but it's been replaced with COM mostly. The same things can happen, but they may require a bit more scripting work. I've moved away from heavy/critical Accuterm scripting, after running into session window name query issues with it. It was hit-or-miss as to whether or not I would get a null or the session name. Perhaps that has been fixed in later releases. For some things it's great, but for the few times I've (ab)used it the outcome was not 100% stable on high traffic calls. Of course, I typically run into odd problems the rest of the world doesn't so take it as you want. Did you read my 'transferring binary through FlashCONNECT from D3' article in Spectrum? The methodology behind that style of data handling and presentation is not unique to D3, FC, and Apache. I just happened to find that a great solution to help present the message. Too often people get stuck viewing one application as the center of the solution instead of a component of a larger plan. There are other ways to get a result 'outside of the box', while still using a required application as a trigger, controlling, or pass-through point. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Friday, April 30, 2010 10:40 AM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I understand the beauty of being able to push reports out a slave printer, but what do you do when the goal is printing labels with specific large proportionally spaced fonts and center or right justification of the text? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Later versions of AccuTerm support Print Wizard which will process documents that use PCL5 for formatting and print them on any Windows printer, or send the document as a pdf via email or fax. Lots of other bells whistles. The hooks to call Print Wizard can be used to pass the slave print job to any command. You just need to create a custom print adapter script (VBA) and tell AccuTerm to use it for slave printing. Regarding comments earlier in the thread, ASCII download (or simply using the data capture to capture the stream to a file) is faster because it is a blind transfer without any handshake or error checking. This is fine if you are using a network connection because the session is running TCP which by definition is an error-free flow-controlled connection. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
On file transfer: Kevin King explained to me how he can use directory files in Universe to create a file that is visible to the underlying OS. This raises the possibility of firing off an OS-based file transfer protocol (such as 'sz' for Zmodem) to do a robust transfer. What do you think? On Fri, 30 Apr 2010, Peter Schellenbach wrote: Later versions of AccuTerm support Print Wizard which will process documents that use PCL5 for formatting and print them on any Windows printer, or send the document as a pdf via email or fax. Lots of other bells whistles. The hooks to call Print Wizard can be used to pass the slave print job to any command. You just need to create a custom print adapter script (VBA) and tell AccuTerm to use it for slave printing. Regarding comments earlier in the thread, ASCII download (or simply using the data capture to capture the stream to a file) is faster because it is a blind transfer without any handshake or error checking. This is fine if you are using a network connection because the session is running TCP which by definition is an error-free flow-controlled connection. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users Regards, Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: r...@anzio.com company e-mail: r...@anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Hey Peter, that sounds like the ticket for what I need. What version should I look for? Glen, the goal is to be able to print a label on a laser printer from a keypress on the Unidata application side. The complexities are that the label needs various fonts, most of them proportionally spaced and center or right justified. That's the gig. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Kevin - AccuTerm 2K2 Standard version (not the Lite version) release 5.3c and 5.3c-sp2 includes the Print Wizard hooks. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
You will need to write sequentially (OPENSEQ, WRITESEQ) to make the DIR file not only visible but also usable to the OS, though. Unless you use CR:LF at the end of every line instead of attributes of course. I just changed a program today that was using the proprietary SB+ interface to write text files to Windows, which tended to hang more than not lately. I now write to a Samba share on Unix, convert the files using EXECUTE '!unix2dos...', and then fire off a DOS batch file using an SB+ process to copy them into the right directory on a Windows network drive. You can of course use zmodem, ftp or another protocol from Unix if you prefer. Then you are actually totally independent from any terminal emulation software. I've done this before on sites that where using only telnet. It works perfectly fine and is a lot faster and more reliable too. I did this on UniData, but I believe it works on Universe as well. Mecki Bob Rasmussen wrote: On file transfer: Kevin King explained to me how he can use directory files in Universe to create a file that is visible to the underlying OS. This raises the possibility of firing off an OS-based file transfer protocol (such as 'sz' for Zmodem) to do a robust transfer. What do you think? On Fri, 30 Apr 2010, Peter Schellenbach wrote: Later versions of AccuTerm support Print Wizard which will process documents that use PCL5 for formatting and print them on any Windows printer, or send the document as a pdf via email or fax. Lots of other bells whistles. The hooks to call Print Wizard can be used to pass the slave print job to any command. You just need to create a custom print adapter script (VBA) and tell AccuTerm to use it for slave printing. Regarding comments earlier in the thread, ASCII download (or simply using the data capture to capture the stream to a file) is faster because it is a blind transfer without any handshake or error checking. This is fine if you are using a network connection because the session is running TCP which by definition is an error-free flow-controlled connection. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users Regards, Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: r...@anzio.com company e-mail: r...@anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I'd opt for print wizard unless you want to hard code the PCL and avoid middleware. You can code the PCL font and spacing escape codes directly in your app and just print the code to the slave printer like normal. It's a little more design time, but it'll be a fairly static setup. If you want PCL example code to use print the label from Word to a Laserjet 4 driver set to print to file. Or, Google it. There are lots of PCL references on the web. I can help as well. Glen.mobile RewriteRule ^(garbage|junk)$ /$1 [NC,L] On Apr 30, 2010, at 1:04 PM, Kevin King precisonl...@gmail.com wrote: Hey Peter, that sounds like the ticket for what I need. What version should I look for? Glen, the goal is to be able to print a label on a laser printer from a keypress on the Unidata application side. The complexities are that the label needs various fonts, most of them proportionally spaced and center or right justified. That's the gig. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer (script to change windows printer selection)
If the default printer on the remote session is used for the label and for all other documents, then you don't need this code at all, but I figured I'd post it anyway for reference. Here's the code I use to change the default printer in Accuterm: ACCUTERM.PRINTERNAME = Local-Windows-Printer-Name PRINT CHAR(27):CHAR(2):'P InitSession.PrinterName=':ACCUTERM.PRINTERNAME:'':CHAR(13): To print PCL directly, make sure the slave printer section is marked Text mode and that the driver for Local-Windows-Printer-Name is a PCL-compatible driver. You will also need to set a specific printer in the session printer setup, so that it can be changed programmatically. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Friday, April 30, 2010 1:04 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Hey Peter, that sounds like the ticket for what I need. What version should I look for? Glen, the goal is to be able to print a label on a laser printer from a keypress on the Unidata application side. The complexities are that the label needs various fonts, most of them proportionally spaced and center or right justified. That's the gig. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
While the PW thing looks cool, and especially the integration with AccuTerm, the customer is on an earlier version of AccuTerm and I'm not entirely certain I can convince them to upgrade. But... we have some really good ideas floating around here, and I appreciate all the input. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
On Fri, 30 Apr 2010, Glen Batchelor wrote: I'd opt for print wizard unless you want to hard code the PCL and avoid middleware. You can code the PCL font and spacing escape codes directly in your app and just print the code to the slave printer like normal. It's a little more design time, but it'll be a fairly static setup. If you want PCL example code to use print the label from Word to a Laserjet 4 driver set to print to file. Or, Google it. There are lots of PCL references on the web. I can help as well. That works up to a point. But Kevin said he wanted to CENTER variable-pitch text, which would require knowing and using the width of every possible character. Regards, Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: r...@anzio.com company e-mail: r...@anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
On Fri, 30 Apr 2010, Kevin King wrote: While the PW thing looks cool, and especially the integration with AccuTerm, the customer is on an earlier version of AccuTerm and I'm not entirely certain I can convince them to upgrade. But... we have some really good ideas floating around here, and I appreciate all the input. In that case you can use Print Wizard Server Edition, and send the print job via LPD from the server to Print Wizard. Regards, Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: r...@anzio.com company e-mail: r...@anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
If that's the case, then check out HTMLDOC. You can generate PS from an HTML file and then have Ghostscript create a pcl3 file from that using the pcl3 output device option. You can then dump that file through the slave printer and clean up the temp files. I'm not 100% proven on the PCL support as an end-all solution, since I recently found a bug in the PDL code. But, the GPL stuff is stable for the most part and I use it regularly. The PCL data size is sometimes bloated due to vector graphics blobs, but it should work OK for simple text PCL layouts. Best thing is it's free. Of course, you should probably pay for an HTMLDOC license if it's installed for enterprise use. It's not that expensive. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Friday, April 30, 2010 2:29 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer While the PW thing looks cool, and especially the integration with AccuTerm, the customer is on an earlier version of AccuTerm and I'm not entirely certain I can convince them to upgrade. But... we have some really good ideas floating around here, and I appreciate all the input. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
From: Glen Batchelor If that's the case, then check out HTMLDOC. As a former devoted fan of HtmlDoc I'd now vote against it. - It only supports most HTML 3.2 specs, not all. These days anything that doesn't support HTML 4 is downright primitive. - There are always issues with fonts and character positioning. - To make up for the HTML deficiencies, one might thing CSS is an option, but this is not a browser and HtmlDoc does not support CSS. - While GPL, there is only one real author, Michael Sweet, who is more famous for writing CUPS. Michael is now an employee of Apple and projects like HtmlDoc seem to be in maintenance mode at best. HtmlDoc was always way behind in the priority queue after CUPS. So it's almost there, and not getting any better. The C++ source is available, but like most really popular Free and Open Source Software, most people just want it to be Free and Without Cost and the availability of source doesn't encourage anyone to enhance the source even for their own use. (I've dabbled with the code and even published a binary release on our freeware pages for people who didn't want to mess with source.) I shifted from HtmlDoc to PDFCreator, and then eventually moved to PrintWizard. PW is one of those tools that satisfies a Lot of needs- and I'm a big fan of using one, good, supported tool rather than resorting to a hodge-podge of little applets. 2 devaluated cents T Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD sells mv.NET worldwide and provides related development services remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I realize this is an old thread now, but is there any way to improve the speed of the AccuTerm file transfer (preferably using an error correcting protocol)? On SBClient a 25K file takes a couple of seconds, on AccuTerm the same file takes about 30 seconds. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Kevin, I've found using the ASCII version of the Accuterm transfer to be 'acceptable' regarding speed. A couple of things: Depending on the version of the FT programs, you may be limited to 10-meg files. A couple of tweaks here and there and that can easily be changed to 100-meg or more. Unfortunately, no control characters, except perhaps the CR/LF are transferred in this method. So you'll have to CONVERT all tab to '|' for example, transfer the file and convert them back again. Depending on what you're transferring, this may not be an issue. Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services and Innovative Solutions -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 12:32 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I realize this is an old thread now, but is there any way to improve the speed of the AccuTerm file transfer (preferably using an error correcting protocol)? On SBClient a 25K file takes a couple of seconds, on AccuTerm the same file takes about 30 seconds. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I noticed that the AccuTerm ASCII transfer is markedly faster, but ... there's no error correction there either (right?) and if this file loses an inopportune character or two, well, bad juju can happen. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Yes, it is as you say. I use it primarily to move reports back and forth, not critical like an EDI transfer. Also, I have been using it for a number of months and have not had a single failure, that has been brought to my attention at any rate. I've been considering writing an ftp script/subroutine to accomplish this much faster, but time and all. Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services and Innovative Solutions -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 1:59 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I noticed that the AccuTerm ASCII transfer is markedly faster, but ... there's no error correction there either (right?) and if this file loses an inopportune character or two, well, bad juju can happen. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Can you not deliver the file via web service? You can execute a DOS start command to pull the URL up. I'm doing that and also using net shares to pull files up across the network. The data transfer method is indeed a bit slow. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 1:59 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I noticed that the AccuTerm ASCII transfer is markedly faster, but ... there's no error correction there either (right?) and if this file loses an inopportune character or two, well, bad juju can happen. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
The end game at the moment is that a Unidata session will build a Word document which is then opened by the client and printed. So the web service probably isn't going to work in this context. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Why not? I do that with PDF files just fine. Just make sure the MIME content is correct in the response header, for the file type you're serving. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 2:55 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer The end game at the moment is that a Unidata session will build a Word document which is then opened by the client and printed. So the web service probably isn't going to work in this context. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
In message 491936aa72824093a41621174a396...@glen, Glen Batchelor webmas...@all-spec.com writes Why not? I do that with PDF files just fine. Just make sure the MIME content is correct in the response header, for the file type you're serving. And if the client and server are on the same network, why not have a specific type 1 file that is shared, so the client can reference it with an url and accuterm would just fire up Word directly (don't know accuterm, but if Wintegrate can do it surely accuterm can too). If it's a Windows server no probs, *nix server just run Samba. Cheers, Wol -- Anthony W. Youngman pi...@thewolery.demon.co.uk 'Yings, yow graley yin! Suz ae rikt dheu,' said the blue man, taking the thimble. 'What *is* he?' said Magrat. 'They're gnomes,' said Nanny. The man lowered the thimble. 'Pictsies!' Carpe Jugulum, Terry Pratchett 1998 Visit the MaVerick web-site - http://www.maverick-dbms.org Open Source Pick ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Glen, so how is it exactly that an event on the server will trigger this transfer, open, print, and exit? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
It depends on your MV web service capabilities and which browser. You can do it natively in IE, IIRC, with jscript calls, but I imagine you'll need two services to make it happen. One for a dynamic doc source and a another one to launch from Accuterm that controls the doc resource and window behavior. Too bad DDE has gone away. If you use a network share, you can do it with a direct call to winword via DOS command with some switches. That's what I do for non-PDF resources. Glen.mobile RewriteRule ^(garbage|junk)$ /$1 [NC,L] On Apr 29, 2010, at 8:00 PM, Kevin King precisonl...@gmail.com wrote: Glen, so how is it exactly that an event on the server will trigger this transfer, open, print, and exit? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
If you can arrange for the terminal emulator to run a command, you can fire off (for example): cmd /c start http://myserver/files/abc123.pdf; And the end user's PC will launch the default browser and attempt to connect to the web service. You set the mime-type to application/pdf, include some magic javascript in the pdf to open up the print dialog automatically, and Bob's your uncle. Closing the pdf is tricky, we've left it to the user to do that. For word, substitute macros for javascript (though the user will have to be prepared for scary popups). If you have full control of the client's environment, you can install tools like doit (by the author of putty) and bypass the terminal emulator bit. http://www.chiark.greenend.org.uk/~sgtatham/doit/ The other way we do this to send word, excel and pdf docs generated by pick basic code is to simply email it to the user. Sometimes there's no other options - there's a firewall in the way, security won't allow other methods, etc. The users don't seem to care, as long as they get a document in a few seconds. Ian McGowan 925.609.2554 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 5:01 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Glen, so how is it exactly that an event on the server will trigger this transfer, open, print, and exit? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users IMPORTANT NOTICE: This message is intended only for the addressee and may contain confidential, privileged information. If you are not the intended recipient, you may not use, copy or disclose any information contained in the message. If you have received this message in error, please notify the sender by reply e-mail and delete the message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I forgot the obligatory plug for pickwiki: http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has escape sequences for a lot of the common emulators... Ian McGowan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:25 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer If you can arrange for the terminal emulator to run a command, you can fire off (for example): cmd /c start http://myserver/files/abc123.pdf; And the end user's PC will launch the default browser and attempt to connect to the web service. You set the mime-type to application/pdf, include some magic javascript in the pdf to open up the print dialog automatically, and Bob's your uncle. Closing the pdf is tricky, we've left it to the user to do that. For word, substitute macros for javascript (though the user will have to be prepared for scary popups). If you have full control of the client's environment, you can install tools like doit (by the author of putty) and bypass the terminal emulator bit. http://www.chiark.greenend.org.uk/~sgtatham/doit/ The other way we do this to send word, excel and pdf docs generated by pick basic code is to simply email it to the user. Sometimes there's no other options - there's a firewall in the way, security won't allow other methods, etc. The users don't seem to care, as long as they get a document in a few seconds. Ian McGowan 925.609.2554 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 5:01 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Glen, so how is it exactly that an event on the server will trigger this transfer, open, print, and exit? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users IMPORTANT NOTICE: This message is intended only for the addressee and may contain confidential, privileged information. If you are not the intended recipient, you may not use, copy or disclose any information contained in the message. If you have received this message in error, please notify the sender by reply e-mail and delete the message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Back in 1985/86 I helped design and develop a terminal emulator, the first one for PICK, called PK Harmony (based on the PC-Harmony Business Basic emulator family). We designed all these useful escape sequences so you could have a PICK/BASIC program run a DOS command, or drive a printer, either directly or through a slave printer function. I'd like to think that modern terminal emulators have a way to direct output to a printer, but maybe not. I've been out of the terminal emulator end of things and into ODBC/JDBC and successors for almost 20 years now. They might pop up and ask you what printer to send output to, which would be a bit of a drag. The more useful thing would be to be able to ask the emulator what printers it has available and optionally select one by name or ordinal, from the list. Then you could do everything programmatically, without interaction. These days I tend to operate from telnet, so I don't really know the emulators, anymore. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:31 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I forgot the obligatory plug for pickwiki: http://www.pickwiki.com/cgi-bin/wiki.pl?RunAProgram - this page has escape sequences for a lot of the common emulators... Ian McGowan -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of McGowan, Ian Sent: Thursday, April 29, 2010 6:25 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer If you can arrange for the terminal emulator to run a command, you can fire off (for example): cmd /c start http://myserver/files/abc123.pdf; And the end user's PC will launch the default browser and attempt to connect to the web service. You set the mime-type to application/pdf, include some magic javascript in the pdf to open up the print dialog automatically, and Bob's your uncle. Closing the pdf is tricky, we've left it to the user to do that. For word, substitute macros for javascript (though the user will have to be prepared for scary popups). If you have full control of the client's environment, you can install tools like doit (by the author of putty) and bypass the terminal emulator bit. http://www.chiark.greenend.org.uk/~sgtatham/doit/ The other way we do this to send word, excel and pdf docs generated by pick basic code is to simply email it to the user. Sometimes there's no other options - there's a firewall in the way, security won't allow other methods, etc. The users don't seem to care, as long as they get a document in a few seconds. Ian McGowan 925.609.2554 -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Kevin King Sent: Thursday, April 29, 2010 5:01 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer Glen, so how is it exactly that an event on the server will trigger this transfer, open, print, and exit? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users IMPORTANT NOTICE: This message is intended only for the addressee and may contain confidential, privileged information. If you are not the intended recipient, you may not use, copy or disclose any information contained in the message. If you have received this message in error, please notify the sender by reply e-mail and delete the message. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I wasn't familiar with FTX; that looks like it could be a good option. Let me dig into that. Thanks so much! -K ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] AccuTerm File Transfer
What's the easiest way to have a program transfer a text file from the host to the workstation using AccuTerm? -Kevin http://www.PrecisOnline.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
The easiest way using Accuterm is to just PERFORM/EXECUTE an FT. But I'm surprised that Universe/Unidata doesn't support that sort of thing directly. George On Mon, Feb 15, 2010 at 10:35 AM, Kevin King precisonl...@gmail.com wrote: What's the easiest way to have a program transfer a text file from the host to the workstation using AccuTerm? -Kevin http://www.PrecisOnline.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- George Smith, Phoenix, AZ Member of the Independent Computer Consultants Association since 1983 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Hi Kevin, FTPICK is the Accuterm program that transfers a file directly from one mv database to another providing the Accuterm Host programs (including FTPICK) are installed on both databases and you have an Accuterm telnet connection up and running to both databases at the time of transfer. hth, Dave Dave Taylor Sysmark Information Systems, Inc. 49 Aspen Way Rolling Hills Estates, CA 90274 (O) 800-SYSMARK (800-797-6275) (F) 310-377-3550 (C) 310-561-5200 www.sysmarkinfo.com - Original Message - From: Kevin King precisonl...@gmail.com To: U2 Users List u2-users@listserver.u2ug.org Sent: Monday, February 15, 2010 9:35 AM Subject: [U2] AccuTerm File Transfer What's the easiest way to have a program transfer a text file from the host to the workstation using AccuTerm? -Kevin http://www.PrecisOnline.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I would agree with the FT subroutines. Although compared to ftp, they are EXTREMELY slow and ineffective for my use on large files, even the non-verifying version. As to why U2 does not 'support' it directly, it is a function that is specific to Accuterm's terminal emulator. It would be impractical for U2 to support all of the terminal emulators that can interface to it. Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services and Innovative Solutions -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Smith Sent: Monday, February 15, 2010 12:56 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer The easiest way using Accuterm is to just PERFORM/EXECUTE an FT. But I'm surprised that Universe/Unidata doesn't support that sort of thing directly. George On Mon, Feb 15, 2010 at 10:35 AM, Kevin King precisonl...@gmail.com wrote: What's the easiest way to have a program transfer a text file from the host to the workstation using AccuTerm? -Kevin http://www.PrecisOnline.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- George Smith, Phoenix, AZ Member of the Independent Computer Consultants Association since 1983 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
We have had this frustration of getting data from one U2 system to another for a number of years. We use to use wIntegrate which uses subroutines similar to AccuTerm, but we did not have another option. We do now. [ad] For 49.00 can copy large files lighting fast using our XLr8Editor. Our Copy/Paste utility uses standard UniObjects for Java so it understands the complexities of U2 files whether Universe or Unidata. The copy utility supports multiple clip boards as well. Additionally you get a Universe and Unidata editor that supports version control, color syntax, code templates, internal search, bookmarks, and local editing to name a few of the functions. Go to www.u2logic.com/tools.html for more information. [/ad] Doug www.u2logic.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Dave Laansma Sent: Monday, February 15, 2010 11:13 AM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer I would agree with the FT subroutines. Although compared to ftp, they are EXTREMELY slow and ineffective for my use on large files, even the non-verifying version. As to why U2 does not 'support' it directly, it is a function that is specific to Accuterm's terminal emulator. It would be impractical for U2 to support all of the terminal emulators that can interface to it. Sincerely, David Laansma IT Manager Hubbard Supply Co. Direct: 810-342-7143 Office: 810-234-8681 Fax: 810-234-6142 www.hubbardsupply.com Delivering Products, Services and Innovative Solutions -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Smith Sent: Monday, February 15, 2010 12:56 PM To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer The easiest way using Accuterm is to just PERFORM/EXECUTE an FT. But I'm surprised that Universe/Unidata doesn't support that sort of thing directly. George On Mon, Feb 15, 2010 at 10:35 AM, Kevin King precisonl...@gmail.com wrote: What's the easiest way to have a program transfer a text file from the host to the workstation using AccuTerm? -Kevin http://www.PrecisOnline.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- George Smith, Phoenix, AZ Member of the Independent Computer Consultants Association since 1983 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
My reason for asking is that I have a customer using AccuTerm who wants to use my Download Definition tool for SB+. Problem is, the code that transfers a file to a workstation and opens it in Excel was all specialized to SBClient. With the FT advice I can now support AccuTerm for this activity - thanks! -K ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
You can find the ESCape sequences for transfers documented in AccuTerm menu/Help, then open AccuTerm 2K2 Reference, then AccuTerm Programming. HTH Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com Nebula RD Pick/MultiValue products worldwide, and provides related development services remove.pleaseNebula-RnD.com/blog Visit PickWiki.com! Contribute! http://Twitter.com/TonyGravagno ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
I use WED for my editor. Once the file/program is open in WED, you can save a copy any where desired on your workstation. Works great! Thanks! Boyd ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Tony, I found the escape sequences but the amount of information for downloading an item was woefully insufficient. On Mon, Feb 15, 2010 at 1:14 PM, Parks, Boyd boyd.pa...@mckesson.comwrote: I use WED for my editor. Once the file/program is open in WED, you can save a copy any where desired on your workstation. Works great! Thanks! Boyd ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- -Kevin http://www.PrecisOnline.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
U2 does not support third party products directly. If you had your own client written in a u2 interface such as uniobjects then it would be a simple matter. Or use wintegrate or accuterm as the OP is trying to use. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of George Smith Sent: 15 February 2010 17:56 To: U2 Users List Subject: Re: [U2] AccuTerm File Transfer The easiest way using Accuterm is to just PERFORM/EXECUTE an FT. But I'm surprised that Universe/Unidata doesn't support that sort of thing directly. George On Mon, Feb 15, 2010 at 10:35 AM, Kevin King precisonl...@gmail.com wrote: What's the easiest way to have a program transfer a text file from the host to the workstation using AccuTerm? -Kevin http://www.PrecisOnline.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users -- George Smith, Phoenix, AZ Member of the Independent Computer Consultants Association since 1983 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
From: Kevin King Tony, I found the escape sequences but the amount of information for downloading an item was woefully insufficient. Agreed. Try this, bud: http://www.pickwiki.com/cgi-bin/wiki.pl?AccuTermFileTransfer That demonstrates the DOSSVC utility for moving data to and from MV. If you look at that program in FTBP you'll see it calls subroutine FTS, which you can also use as desired. From there you're down to ESCape sequences, which really aren't bad after you've spent a few minutes and get to that oh I get it point. Best, T ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
A possitility is to mount a remote disk from a Windows system into a partition on the Universe server. The Universe program can create its files there. The Windows clients can also mount this file system. - Original Message From: Tony Gravagno 3xk547...@sneakemail.com To: u2-users@listserver.u2ug.org Sent: Mon, February 15, 2010 6:31:13 PM Subject: Re: [U2] AccuTerm File Transfer From: Kevin King Tony, I found the escape sequences but the amount of information for downloading an item was woefully insufficient. Agreed. Try this, bud: http://www.pickwiki.com/cgi-bin/wiki.pl?AccuTermFileTransfer That demonstrates the DOSSVC utility for moving data to and from MV. If you look at that program in FTBP you'll see it calls subroutine FTS, which you can also use as desired. From there you're down to ESCape sequences, which really aren't bad after you've spent a few minutes and get to that oh I get it point. Best, T ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] AccuTerm File Transfer
Kevin, As OP suggested, the FT program can be used from the command line. To run from within another program, use the FTX subroutine. Example program: * open and read data to be transfered into ITEM variable. MODE = 'S,K' ;* Send from server to PC using Kermit protocol. FNAME = 'XYZ' ;* Filename on PC. PATH = 'c:\transfer\' ;* aka Windows folder. STAT = '' ;* Will be set if error occurs. CALL FTX(MODE, '', FNAME, PATH, ITEM, '', '', '', '', '', '', STAT) This will send the data in ITEM to the PC with a file name of XYZ in the c:\transfer directory/folder. The PC directory must exist. The following will start the WORDPAD program and display the file. PRINT CHAR(27): CHAR(2): 'wordpad.exe ': PATH: FNAME By changing the mode, you can read the data back into the server and save it, etc. DISCLAIMER! Some of this is from memory so there is no guarantee. See http://www.asent.com/ for more info. Contact Peter Schellenbach, he's been very helpful to me. Good luck, Don Robinson ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] [Accuterm] file transfer to folder with
Hi, I just need a quick answer as I don't have Accuterm installed here to test. We need to FT download an extract file to a Windows folder with an ampersand in it. eg. c:\docs\this that\ Wondering what is the escape character for the ampersand. Thanks, Stuart ** This email message and any files transmitted with it are confidential and intended solely for the use of addressed recipient(s). If you have received this communication in error, please reply to this e-mail to notify the sender of its incorrect delivery and then delete it and your reply. It is your responsibility to check this email and any attachments for viruses and defects before opening or sending them on. Spotless collects information about you to provide and market our services. For information about use, disclosure and access, see our privacy policy at http://www.spotless.com.au Please consider our environment before printing this email. ** --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/