Printing Via TElent


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Printing Via TElent
# 1  
Old 11-15-2004
Printing Via TElent

I am in the process of writing an application to track parcels across a range of European Countries - some have GPRS and some dont.

I can connect to the Unix Server - which will be running SCO Openserver 5.0.7 or later - via GPRS ebabled scanners or via the clients existing VPN and TELNET. Looking at the patchy GPRS rollout in Bulgaria Slovenia etc I think I favour the VPN route for everyone.


I'm OK with the VPN side but will I be able to print via TELNET - or do I need a particular version of it ???

Thanks in anticipation
Richard
# 2  
Old 11-15-2004
I'm confused. If you telnet into a host you create a process on that host. If you create a process with 'normal' user privileges(not a restricted shell in other words), it can do whatever the user can do. The user should be able to execute lp ....

If this isn't right you need to give us more information.
# 3  
Old 11-15-2004
If you mean that you're telnetting in from a client, and would like to print your telnet session transcript locally then yes, you can use a decent telnet/ssh client such as PuTTY, log the session, and then print that locally. Say you want to print a file, you could just cat, then copy the selected part out of the telnet session transcript and print it locally.

If that's not what you mean, I'm confused too!

We use PPTP tunnels via GPRS at work (this is Windows though, with Citrix) - we also allow telnet into our HP-UX box via the PPTP connections - and using the logging method described our users can print pretty much everything. We also have another telnet client (TinyTERM) that allows them to do full screen dumps to the locally attached printer.

Cheers
ZB
# 4  
Old 11-16-2004
Printing Via TELNET

Thank you both for replying.

Zazzybob is on right lines - sorry I was a bit vague.

I need to print locally to the client via a telnet session. The screen dump seemd to be the way to go.

Can I script this so that the user doesnt have too complicated a process to follow. The users are from a variety of countries, companies and capabilities and as such I would ideally prefer a single button operation.

If you can point me in right direction I would be very grateful. In the meantime I'll download tinyTERM and puTTY.

Thaks Again
Richard
# 5  
Old 11-16-2004
With TinyTERM it's as easy as going Edit | Screen Print (or two clicks along those lines) from the menus. Unfortunately, I think it's only available for Win16, so it's a bit of a CPU hog (that'll be ntvdm - bah!) on Win32 systems. I believe it's published by Century Software.

Cheers
ZB
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Printing, SYSPRINTER, IP printing

Dear readers, We have a printer problem with a UNIX system. The OS is Unix IRIX 6.5 We have connected a printerto the system. If we then make a test print everything goes well . (IP printing) But if we make a print from the "orrga,i"program. Then we see all the printouts stuck within the... (3 Replies)
Discussion started by: SergevdH
3 Replies

2. UNIX for Dummies Questions & Answers

help in printing %

Hi, while executing: printf "%05d\n" 12 32 00012 00032 Similarly i need to get the below outpurs: ###12 ###32 12%%% 32%%% (1 Reply)
Discussion started by: pandeesh
1 Replies

3. UNIX for Dummies Questions & Answers

Sco Unix printing : jobs hangs in queue - printing via lp versus hpnpf

Hi, We have a Unix 3.2v5.0.5. I installed a printer via scoadmin, HP network printer manager with network peripheral name (hostname and ipadres are in /etc/hosts). This is the configuration file : Code: root@sco1 # cat configurationBanner: on:AlwaysContent types: simpleDevice:... (0 Replies)
Discussion started by: haezeban
0 Replies

4. Windows & DOS: Issues & Discussions

Linux to Windows Printing: PDF starts printing from middle of page.

We are using Red Hat. We have a issue like this: We want to print from Linux, to a printer attached to a Windows machine. What we want to print is a PDF. It prints, but the printing starts from the middle of the page. In the report, there is no space at the top but still printing starts from the... (5 Replies)
Discussion started by: rohan69
5 Replies

5. UNIX for Dummies Questions & Answers

command to close telent session when login incorrect

i need a command to close telnet session wen login incorrect..i want to embed it into my perl script for telnet to check for login incorrect error. (2 Replies)
Discussion started by: raksha.s
2 Replies

6. UNIX for Advanced & Expert Users

printing \n

Hi all, In a script I need to print a string: print "\n"; but i am not able to print the above mentioned string... Please help. Regards Rochit (5 Replies)
Discussion started by: rochitsharma
5 Replies

7. Shell Programming and Scripting

Printing

Hey, I'm trying to print in HP laserjet 2420 by using the command: lp -olandscape (file) For some reason it does not come out as landscape but as portrait. Help please. 10x. P.S. I'm using csh (0 Replies)
Discussion started by: Kofiko
0 Replies

8. UNIX for Dummies Questions & Answers

Need Printing help Please

I would like to set up a local printer(actually a Brother Fax machine) to my Compaq Tru64 Unix computer but I dont know how. I've tried the SAM command with no success. The computer says does no recognize command. Please help.... (1 Reply)
Discussion started by: donnieb79
1 Replies

9. UNIX for Advanced & Expert Users

Printing Problems in unix ... ( Bar-cdoe - Ip Printing)

Hi guys ... i need ur help with some printing problem in unix ... first prob. : i wanna print from my NCR unix to an Win NT , Ip based printing server ( HP JetDirect ) . My issue , is it possible to print directly to an Ip address from unix ? How do i make it work to get any results ?... (3 Replies)
Discussion started by: QuickSilver
3 Replies

10. UNIX for Dummies Questions & Answers

Printing

Do all UNIX systems have the ability to print to an ASCII file? If so, is this a common thing to do, for reports or other output? Thank you for your response. (3 Replies)
Discussion started by: SYMTRAX
3 Replies
Login or Register to Ask a Question