The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unix Printing snvijaysankar UNIX for Advanced & Expert Users 2 06-16-2007 01:10 PM
Printing under UNIX duc UNIX for Dummies Questions & Answers 2 12-28-2004 11:20 AM
SCO Unix 5.0 printing dpadron UNIX for Advanced & Expert Users 2 06-13-2003 04:19 PM
Printing Problems in unix ... ( Bar-cdoe - Ip Printing) QuickSilver UNIX for Advanced & Expert Users 3 06-04-2002 10:48 AM
Printing from unix with lp pmcg UNIX for Dummies Questions & Answers 4 10-23-2001 08:39 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 05-04-2005
MPW MPW is offline
Registered User
  
 

Join Date: May 2005
Posts: 2
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 (permalink)  
Old 05-04-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
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 (permalink)  
Old 05-04-2005
MPW MPW is offline
Registered User
  
 

Join Date: May 2005
Posts: 2
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 (permalink)  
Old 05-04-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
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 (permalink)  
Old 05-05-2005
killerserv's Avatar
killerserv killerserv is offline Forum Advisor  
Unix Predator
  
 

Join Date: Dec 2000
Location: Phoenix, AZ
Posts: 670
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 (permalink)  
Old 05-05-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
  
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 637
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 ...
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:22 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0