Sponsored Content
Full Discussion: TCP(?) Printing from Unix
Top Forums UNIX for Dummies Questions & Answers TCP(?) Printing from Unix Post 302213540 by Bortiquai on Thursday 10th of July 2008 10:41:43 AM
Old 07-10-2008
The version of Linux is SCO 5.7.

I worked with the "unix guy" to try to get this going. Sitting at the Unix box, the typed "telnet xxx.xxx.xxx.xxx 9100" where xxx... is the public IP where the printer is located. He then would type letters and when he hit enter, it would print out on the printer.

However, he was unable to get any of the print jobs in the unix queue to print. There were about 20 or so print jobs in the queue, some very old and some a few days old. I asked him if he could delete the old print jobs. He deleted a couple of them, but still nothing on the printer.

He did the lpstat -t and pointed the the printer and said "there it is". He then re-assured me that unix cannot print in this way because we are using port forwarding on the remote site. He even called his buddy who said nope, can't be done.

I'm still not convinced, and think the printer may not be setup correctly. I asked him about CUPS and he said he's never used it, and doesn't really know too much about it. He said the only way I am going to be able to print to the printer in the remote site is to establish a site to site VPN, which would require purchsing new equipment capable of this.

So, here are my questions:
1) Can SCO Unix 5.7 print to a remote printer in this way?
2) I have TCP ports 9100 and 515 forwared to the Jet Direct printer server at the remote location. Are there others I need?
3) Can someone tell me how, or where to find out how to setup/configure a printer on SCO Unix 5.7? Do i NEED additional software (CUPS, other, ...) or can it be done with what i've got?

Thanks to all who chimed in.

Last edited by Bortiquai; 07-10-2008 at 01:28 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

printing over tcp/ip via telnet session

I am new to unix. Currently using solaris 6.8 (i think). I need to telnet into a remote server, and print out a report to a printer near me, that DOES NOT have a printcap set-up for the printer on the remote server. I was hoping to do this via tcp/ip since the printer does have a static ip... (1 Reply)
Discussion started by: gishfarm
1 Replies

2. IP Networking

TCP/IP printing on SCO 2.1.3

I am trying to set up TCP/IP printing to so we can remove the old novel server. The printer details have been added to the etc/hosts file correctly, and the printer added as a remote UNIX printer . However when a print job is issued lpstat -o displays the job, but it dosent move. Any help yould... (2 Replies)
Discussion started by: eel_king
2 Replies

3. 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

4. UNIX for Dummies Questions & Answers

Unix TCP/IP ping to other subnet

I have Digital UNIX V4.0B (Rev. 564) on alpha machine. I'm trying to acces network in subnet (192.168.1.x). Ip on Alpha comp. is from 192.168.3.X subnet. My default gateway on this network is 192.168.3.1 and it working OK from other machines. This machine is visible from same subnet... (2 Replies)
Discussion started by: ermingut
2 Replies

5. AIX

TCP/IP printing/printservers with AIX5?

Ok... I have tried searching everywhere for some information on how to print to TCP/IP printservers.. but I can't seem to find the info I need. Has anyone setup something like this with AIX5? Basically what I have is a Parallel port TCP/IP print server from D-Link which is directly attached... (1 Reply)
Discussion started by: NOTORIOUS VR
1 Replies

6. IP Networking

TCP/IP in c (unix)

I have written a client receive (TCP/IP) program which is up all the time. It connects to the server during Beginning of the day and stays alert and reads a message whenever one comes in. the problem is after receiving a message, the client_receive program is getting a message with zero bytes.... (0 Replies)
Discussion started by: Rajeshsu
0 Replies

7. UNIX for Dummies Questions & Answers

Unix stopping the tcp services

Hi There We currently experiencing a problem on our Unix server Sco 5.07 , whereby the tcp services stops on it own and even if we restart the services manually the services still does not come up,We loose the printer and pc connections to the server we then need to restart the Unix server in... (1 Reply)
Discussion started by: esh
1 Replies

8. SCO

TCP in sco unix 3.2

Hi every body. I am looking for TCP package under sco unix 3.2 or sco xenix system. would you please help me? (7 Replies)
Discussion started by: javad1_maroofi
7 Replies

9. 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

10. HP-UX

Logging into UNIX via TCP/IP Telnet

I can connect to the UNIX box using a TCP/IP Telnet session but the UNIX does not respond with the login prompt. The box responds to a PING and the Telnet session actually connects, but no prompt of any sort is recieved back. I can connect via the console, get the login prompt and can login. ... (3 Replies)
Discussion started by: Newnix
3 Replies
lpstat(1)							    Apple Inc.								 lpstat(1)

NAME
lpstat - print cups status information SYNOPSIS
lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ] [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] ] DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list jobs queued by the current user. OPTIONS
The lpstat command supports the following options: -E Forces encryption when connecting to the server. -H Shows the server hostname and port. -R Shows the ranking of print jobs. -U username Specifies an alternate username. -W which-jobs Specifies which jobs to show, completed or not-completed (the default). This option must appear before the -o option and/or any printer names, otherwise the default (not-completed) value will be used in the request to the scheduler. -a [printer(s)] Shows the accepting state of printer queues. If no printers are specified then all printers are listed. -c [class(es)] Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed. -d Shows the current default destination. -h server[:port] Specifies an alternate server. -l Shows a long listing of printers, classes, or jobs. -o [destination(s)] Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown. -p [printer(s)] Shows the printers and whether or not they are enabled for printing. If no printers are specified then all printers are listed. -r Shows whether the CUPS server is running. -s Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices. This is equivalent to using the "-d", "-c", and "-v" options. -t Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-v", "-a", "-p", and "-o" options. -u [user(s)] Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user. -v [printer(s)] Shows the printers and what device they are attached to. If no printers are specified then all printers are listed. COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". Also, printer and class names are not case-sensitive. The "-h", "-E", "-U", and "-W" options are unique to CUPS. The Solaris "-f", "-P", and "-S" options are silently ignored. SEE ALSO
cancel(1), lp(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 10 September 2008 CUPS lpstat(1)
All times are GMT -4. The time now is 05:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy