UNIX Printing


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users UNIX Printing
# 1  
Old 05-04-2005
UNIX Printing

Greetings. Got a problem I'm working on, not that familiar with UNIX to be honest. We're having some issues printing from a UNIX Server, hoping someone can help. Here's the situation:
We have remote offices that use Microsoft Windows Remote Desktop Client to connect to a Windows 2003 Terminal Server. From this server they run a program on a UNIX server. When they try to print to their own printer located in the remote office (both local and networked) from the program on the UNIX server, it does not work. It appears to be sending the print job, but nothing happens. We've tested printing from the Terminal Server to the remote printer and it works fine. It's only the UNIX printing that is failing.

Is there anything that can be done on the UNIX server to get this printing working. Most people have local printers, but if it can work through TCP/IP, that would be fine as well. Thanks for any help.

MPW
# 2  
Old 05-04-2005
the Unix server needs to be able to print to the printer ... i'm guessing it doesn't know about the printer the job is being sent to ... verify that you can print to the printer in question from the Unix command line and go from there ...
# 3  
Old 05-04-2005
Question on printing

Thanks for the response Just Ice. Someone else is responisble for the UNIX server, I can't access it. Maybe I can ask another way?

Is it possible to print from a UNIX server to a public IP address with a specific port forwarded to a network printer??? If so, we could probably manage. The UNIX guys have been dragging their feet, but surely something like this is possible? If I know it is, I can go to them with a little more ammo.

Thanks.

MPW
# 4  
Old 05-04-2005
i support people on the wintel side too and we've never been able to get any print jobs from the unix box without the unix box being configured for printing to a specific user printer ... i hate to say this but i think you need a match to light up your unix guys behinds to get them to help fix this problem for you ...
# 5  
Old 05-05-2005
does the print server on unix having lpd daemon running ? also check the /etc/lpd.perms settings.

The below is my Print server copy of lpd.perms

#REJECT SERVICE=X NOT PORT=1-1023
#REJECT SERVICE=X NOT PORT=1-1023
# Privileged
#REJECT SERVICE=X NOT PORT=721-731
#
# allow root on server to control jobs
ACCEPT SERVICE=C SERVER REMOTEUSER=root
# allow anybody to get server, status, and printcap
ACCEPT SERVICE=C LPC=lpd,status,printcap
# reject all others
REJECT SERVICE=C
#
# allow same user on originating host to remove a job
ACCEPT SERVICE=M SAMEHOST SAMEUSER
# allow root on server to remove a job
ACCEPT SERVICE=M SERVER REMOTEUSER=root
REJECT SERVICE=M
# allow local job submissions only
#REJECT SERVICE=X NOT SERVER
# all other operations allowed
DEFAULT ACCEPT
# 6  
Old 05-05-2005
Quote:
Originally Posted by killerserv
does the print server on unix having lpd daemon running ? also check the /etc/lpd.perms settings.

The below is my Print server copy of lpd.perms

#REJECT SERVICE=X NOT PORT=1-1023
#REJECT SERVICE=X NOT PORT=1-1023
# Privileged
#REJECT SERVICE=X NOT PORT=721-731
#
# allow root on server to control jobs
ACCEPT SERVICE=C SERVER REMOTEUSER=root
# allow anybody to get server, status, and printcap
ACCEPT SERVICE=C LPC=lpd,status,printcap
# reject all others
REJECT SERVICE=C
#
# allow same user on originating host to remove a job
ACCEPT SERVICE=M SAMEHOST SAMEUSER
# allow root on server to remove a job
ACCEPT SERVICE=M SERVER REMOTEUSER=root
REJECT SERVICE=M
# allow local job submissions only
#REJECT SERVICE=X NOT SERVER
# all other operations allowed
DEFAULT ACCEPT
this assumes that the person looking into the problem is a member of the unix group that has the ability to fix the problem on the unix server in question --- which is not the case here ...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Printing a document in UNIX

Hi, I would like to know the command to print a document with portait option. Note : I used the below command, however I am not getting any output and it is blocking the printer queue. lp -d Dubprint -o portrait Adhoc_stmt Also, how can I see the default printer settings and how to... (1 Reply)
Discussion started by: mr_manii
1 Replies

2. Shell Programming and Scripting

Need help with printing in UNIX

I have a file that looks like below: a:b:c d e f g h u:f:j e:k:c0 d9 e1 x55 h789 p:d:hh dtyu gasd lrtyu oqa Is there a way to print is as given below: a:b:c d e f g h u:f:j e:k:c0 d9 e1 x55 (5 Replies)
Discussion started by: sags007_99
5 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. SCO

Unix Printing

Hi, The code is generating a file of 180 lines, I can check that with vi, but when I am executing the following command for duplex printing , it is printing 4 pages which include 2 blank pages 2 & 4 (page no). $ lp -d printer -0 'land,double,lpi=8,length=90' filename It is expected to print... (1 Reply)
Discussion started by: dsd
1 Replies

5. UNIX for Advanced & Expert Users

Unix Printing

Hi, I need to print PDF from Unix command line on couple of printers like Lexmark T644PS, HP LJ4100DTN connected to Windows Print Server. I need options of mentioning the printer name and choosing tray number for printing. I was successfull in FTPing PDF files to printer but i could not find... (2 Replies)
Discussion started by: snvijaysankar
2 Replies

6. HP-UX

Printing from unix to windows.

Hi, This issue is killing me. I'm looking to get advise on setting up a remote printer in unix "HP-UX" which will print to a printer which sits remotely connected to a windows 2000 server. I guess I'm looking for an idiots guide - any assistance you may offer will be gratefully received. ... (2 Replies)
Discussion started by: pmaths
2 Replies

7. UNIX for Dummies Questions & Answers

Printing under UNIX

Hi All As UNIX newbie, (I know Open VMS very well) I have the following question: If I use the lpr command for printing, I normally specify the printer name an the file I want to print. So far so good. Once this is done I can than check with the lpstat command the status of my printjob, but... (2 Replies)
Discussion started by: duc
2 Replies

8. UNIX for Advanced & Expert Users

SCO Unix 5.0 printing

Iv'e been having a problem with printing that driving me CRAZY! I am trying to print a large file about 200-300 pgs, but the print job reaches a certain point then stops, the job does'nt finish. Anyone have any suggestions? (2 Replies)
Discussion started by: dpadron
2 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 from unix with lp

Hey, When printing from UNIX all the dataafter the end of the page is not printed!! How can I use lp so that instead of just printing to the end of the page, it stops at the end of the page and then prints on the next line??? Thanx (4 Replies)
Discussion started by: pmcg
4 Replies
Login or Register to Ask a Question

Featured Tech Videos