Sponsored Content
Operating Systems AIX Remote printing from Linux to AIX Post 302313863 by sbaker on Wednesday 6th of May 2009 05:41:01 PM
Old 05-06-2009
Question 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 machine. When lpd submits the job using enq, it includes the option "-fl". From the lpd debug log:

Code:
 
doit: exec enq cmd=[/usr/bin/enq -Plpd_test -r -tsbaker@MMIDS2.mmllc.moneymailer.com -Zsbaker@mmids2 -N1 -Tjobt_txt -o-fl /var/spool/lpd/dfA752MMIDS2.mmllc.mo.12416
39858.1364128 ].

I'm thinking it's a problem on the Linux side, because when I print from another AIX machine, there is no "-fl" included:

Code:
doit: exec enq cmd=[/usr/bin/enq -Plpd_test -r -tsbaker@venus -Zsbaker@venus -N1 -T/etc/motd /var/spool/lpd/dfA045venus.1241640013.1413176 ].

The "-fl" flag is getting passed to our backend process, which already has a -f option being supplied so it's failing. I can't find why/where the "-o-fl" is being submitted to enq, either on the Linux or AIX side. I can't seem to get detailed logging on the Linux side.

Any ideas on why/where this is coming from?

Thanks,

Sean.
 

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

Remote printing problem in AIX

Hi all, I am an amature in AIX.I am facing a problem with remote printing in AIX5L... One laser printer is there connected to a print server (HP),which is configured as remote printer from AIX Server. Due to some problem the print server is replaced and the same is configured with the old... (3 Replies)
Discussion started by: helloajith
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. 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

8. SCO

Unix remote printing

Sir, i have a sco 5.5 installed server and 6 clients connected through pci specialix card and printing working fine in these all terminals. 7 and 8 ports are free now, i need to setup another terminal for login on through 7 or 8 port for remote login. i connect a external modem using 25 pin male... (2 Replies)
Discussion started by: Aneesh Kumar.T
2 Replies

9. AIX

Remote printing to Linux CUPS queue

Hello all. I am setting up a queue under AIX 4.2.1 to print to a remote Linux CUPS queue. At present I can print to the queue remotely from Windows but not AIX. What I am seeing is lpstat reads the state of the remote queue but at job submission time I am getting backend exit fatal errors. The... (4 Replies)
Discussion started by: tgx
4 Replies

10. 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
in.lpd(1M)						  System Administration Commands						in.lpd(1M)

NAME
in.lpd - BSD print protocol adaptor SYNOPSIS
/usr/lib/print/in.lpd DESCRIPTION
in.lpd implements the network listening service for the BSD print protocol specified in RFC 1179. The BSD print protocol provides a remote interface for systems to interact with a local spooling system. The protocol defines five standard requests from the client to the server: starting queue processing, transfering print jobs, retrieving terse status, retrieving verbose status, and canceling print jobs. in.lpd is started from inetd. See inetd(1M). inetd waits for connections on TCP port 515. Upon receipt of a connect request, in.lpd is started to service the connection. Once the request has been filled, in.lpd closes the connection and exits. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/etc/printers.conf System printer configuration database. printers.conf.byname NIS version of /etc/printers.conf. printers.org_dir NIS+ version of /etc/printers.conf. /usr/lib/print/bsd-adaptor/bsd_*.so* Spooler translation modules. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpcu | +-----------------------------+-----------------------------+ SEE ALSO
svcs(1), inetadm(1M), inetd(1M), svcadm(1M), printers.conf(4), attributes(5), smf(5) NOTES
The in.lpd service is managed by the service management facility, smf(5), under the service identifier: svc:/network/lp Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). Responsibil- ity for initiating and restarting this service is delegated to inetd(1M). Use inetadm(1M) to make configuration changes and to view config- uration information for this service. The service's status can be queried using the svcs(1) command. SunOS 5.10 5 Aug 2004 in.lpd(1M)
All times are GMT -4. The time now is 07:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy