Sponsored Content
Operating Systems AIX Remote printing problem in AIX Post 94176 by helloajith on Wednesday 28th of December 2005 01:03:51 AM
Old 12-28-2005
Remote printing problem in AIX

Hi Dare,
Thank you very much for your suggestions.
Actually the printer is connected to a print server device (SMC4103) , not a HP UX Server.
However the problem is partially solved.The problem was I have given the remote port name as LPT1,but the correct name is LP1. After the LP1 is given as the remote port, it started printing.But the problem is it prints only the first 2-3 lines of the document and remaining blank sheet.
I will explain how I configured the remote print queue.
SMIT->PRINT SPOOLING->AIX PRINT SPOOLING->ADD A PRINT QUEUE
Then I selected REMOTE and then STANDARD PROCESSING.
After this I entered the parameters.
Name of the queue : MIN_STATE_LJP1
Hostname of remote server : SMC4103 (this name is added in the /etc/hosts)
Name of the queue on remote server : LP1
Type of print spooler on remote server : BSD
To turn on debugging,specify the output file path : /tmp/state.debug
After clicking OK, it created the print queue named MIN_STATE_LJP1.

Then I edited the queue parameters.
SMIT->PRINT SPOOLING->AIX PRINT SPOOLING->PROGRAMMING TOOLS -> QUEUES AND QUEUE DEVICES->QUEUE DEVICE->CHANGE/SHOW CHARACTERISTICS OF A QUEUE DEVICE
Then I changed the BACKEND PROGRAM pathname from /usr/lib/lpd/rembak to /usr/lib/lpd/pio/etc/piorlfb -f ! (this was the backend program used when it was working fine before)

But when a print is given ,it prints only the first 2-3 lines.
Please find below the entries in the /etc/qconfig file.

MIN_STATE_LJP1:
device = @SMC4103
up = TRUE
host = SMC4103
s_statfilter = /usr/lib/lpd/bsdshort
l_statfilter = /usr/lib/lpd/bsdlong
rq = LP1
@SMC4103:
header = never
trailer = never
access = both
feed = 0
backend = /usr/lib/lpd/pio/etc/piorlfb -f ! -D /tmp/state.debug

When I open the debug file (/tmp/state.debug), the backend program shown in that is /usr/lib/lpd/rembak , not /usr/lib/lpd/pio/etc/piorlfb -f !

I am copying the first 4 lines of the debug file for your ref.

rembak[46664] main: Tue Dec 27 09:19:50 2005
rembak[46664] main: /usr/lib/lpd/rembak -D /tmp/state.debug -S SMC4103 -P LP1 -N
/usr/lib/lpd/bsdshort /tmp/teststate1
rembak[46664] main: backend=1.
rembak[46664] hookup: Try to connect, current time=1135664390.
rembak[46664] sendjob: sendjob starts, jobname=/tmp/teststate1, current time=113
5664390.

Sorry for giving such a long mail......
Expecting your valuable help..
Regards,

Ajith.
 

10 More Discussions You Might Find Interesting

1. IP Networking

Remote Printing

I am setting up a unix remote print server for approximately 500 printers. We send about 1,000 print jobs per day over the WAN. I am looking for hardware specs. I know I can overkill, but would rather get a sensible machine. Any suggestions? (2 Replies)
Discussion started by: Donna
2 Replies

2. UNIX for Dummies Questions & Answers

Remote Printing

I am using Sco Openserver 5.0.6 and I have an Okidata 16n printer on a GETNET print server. I am able to print to the printer. However I am having display issues. Normally when I setup a local printer I am able to tell it what model to use. Ex.(HPLaserJet). When I setup the remote... (2 Replies)
Discussion started by: stufine
2 Replies

3. UNIX for Advanced & Expert Users

Remote printing

I'm trying to print from my Solaris server to a Windows Print Server The Print Server will then pass the print job to a PC connected via dial-up and print it locally. EG: Solaris ----- | | | | ------ /88888/ ------- \ / ... (1 Reply)
Discussion started by: warrickj
1 Replies

4. Solaris

Remote Dial-up Modem Printing With Out Cpu On The Remote Side!

I am looking for a dial-up remote printing solution as under : 1. We have a Centralized location where Sun Solaris (A) is installed. From here printing command will be despatched. 2. This printing command will be routed to WAN cloud to Main Branches (B1,B2,B3)and from there, printer at... (0 Replies)
Discussion started by: jayvee
0 Replies

5. AIX

Printing problem in AIX machines running SAP

Hi all, We have a intermittent problem with printing from SAP running on AIX5.2 . Version of Sap is 4.6b. When a print is fired from SAP, the spool is created fine and then transferred to the host spool system (in this case the AIX Print queue). The problem seems to be happening when AIX... (3 Replies)
Discussion started by: pauldavi26
3 Replies

6. UNIX for Advanced & Expert Users

Remote printing

Dear Sir Please how can I print a job localy with my printer while a server from where I am working belong to another network? Actulally to print a job I am oblige to : 1rst to print it inside a file 2nd coping the file to my network (rcp) 3rt sending the file to my local printer (lp... (2 Replies)
Discussion started by: sobnc
2 Replies

7. AIX

aix printing problem

i had small problem but the less of experience prevent me from solving it i added new print queue and device to aix 5.1 system and it works ok except that if i tried to print an arabic document it returns dummy data that can't be read there are alot of queues and all works fine with arabic... (0 Replies)
Discussion started by: aboharb17
0 Replies

8. SCO

Remote Printing - 5.07 - MP5

I have just lost all of my printers and I forget how to create a remote printer in SCO 5.07. I do know that there is an issue with CUPS in that I have to "turn it off" (which I also forget how to do) so that this enables the "Remote Printer" setup option in Printer Administration. I thought... (1 Reply)
Discussion started by: atpbrownie
1 Replies

9. AIX

Remote printing from Linux to AIX

Hello, I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for "normal" print jobs is working out OK, but I'm having trouble with some AIX printers that have a user defined backend. I turned on logging for lpd on the AIX... (0 Replies)
Discussion started by: sbaker
0 Replies

10. Red Hat

Remote printing from Linux to AIX

Hello, I also posted this on the AIX forum in hopes of getting help. I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for "normal" print jobs is working out OK, but I'm having trouble with some AIX printers that have a user... (0 Replies)
Discussion started by: sbaker
0 Replies
cups-lpd(8)							    Apple Inc.							       cups-lpd(8)

NAME
cups-lpd - receive print jobs and report printer status to lpd clients SYNOPSIS
cups-lpd [ -h hostname[:port] ] [ -n ] [ -o option=value ] DESCRIPTION
cups-lpd is the CUPS Line Printer Daemon ("LPD") mini-server that supports legacy client systems that use the LPD protocol. cups-lpd does not act as a standalone network daemon but instead operates using the Internet "super-server" inetd(8) or xinetd(8). If you are using inetd, add the following line to the inetd.conf file to enable the cups-lpd mini-server: printer stream tcp nowait lp /usr/lib/cups/daemon/cups-lpd cups-lpd -o document-format=application/octet-stream Note: If you are using Solaris 10 or higher, you must run the inetdconv(1m) program to register the changes to the inetd.conf file. If you are using the newer xinetd(8) daemon, create a file named /etc/xinetd.d/cups containing the following lines: service printer { socket_type = stream protocol = tcp wait = no user = lp group = sys passenv = server = /usr/lib/cups/daemon/cups-lpd server_args = -o document-format=application/octet-stream } OPTIONS
-h hostname[:port] Sets the CUPS server (and port) to use. -n Disables reverse address lookups; normally cups-lpd will try to discover the hostname of the client via a reverse DNS lookup. -o name=value Inserts options for all print queues. Most often this is used to disable the "l" filter so that remote print jobs are filtered as needed for printing; the examples in the previous section set the "document-format" option to "application/octet-stream" which forces autodetection of the print file format. PERFORMANCE
cups-lpd performs well with small numbers of clients and printers. However, since a new process is created for each connection and since each process must query the printing system before each job submission, it does not scale to larger configurations. We highly recommend that large configurations use the native IPP support provided by CUPS instead. SECURITY
cups-lpd currently does not perform any access control based on the settings in cupsd.conf(5) or in the hosts.allow(5) or hosts.deny(5) files used by TCP wrappers. Therefore, running cups-lpd on your server will allow any computer on your network (and perhaps the entire Internet) to print to your server. While xinetd has built-in access control support, you should use the TCP wrappers package with inetd to limit access to only those comput- ers that should be able to print through your server. cups-lpd is not enabled by the standard CUPS distribution. Please consult with your operating system vendor to determine whether it is enabled on your system. COMPATIBILITY
cups-lpd does not enforce the restricted source port number specified in RFC 1179, as using restricted ports does not prevent users from submitting print jobs. While this behavior is different than standard Berkeley LPD implementations, it should not affect normal client operations. The output of the status requests follows RFC 2569, Mapping between LPD and IPP Protocols. Since many LPD implementations stray from this definition, remote status reporting to LPD clients may be unreliable. SEE ALSO
cups(1), cupsd(8), inetconv(1m), inetd(8), xinetd(8), http://localhost:631/help COPYRIGHT
Copyright 2007-2011 by Apple Inc. 4 August 2008 CUPS cups-lpd(8)
All times are GMT -4. The time now is 04:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy