Sponsored Content
Operating Systems Linux Red Hat Remote printing from Linux to AIX Post 302313866 by sbaker on Wednesday 6th of May 2009 05:43:56 PM
Old 05-06-2009
Question 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 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. 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

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
PSF(8)								   Netatalk 2.2 							    PSF(8)

NAME
psf - PostScript filter SYNOPSIS
psf [-n name] [-h host] [-w width] [-l length] [-i indent] [-c] DESCRIPTION
psf is an lpd filter for PostScript printing. psf interprets the name it was called with to determine what filters to invoke. First, if the string ``pap'' appears anywhere in the name, psf invokes pap to talk to a printer via AppleTalk. Next, if the string ``rev'' appears, psf invokes psorder to reverse the pages of the job. Finally, if psf was called with a filter's name as the leading string, it invokes that filter. If there is no filter to run, psf examines the magic number of the input, and if the input is not PostScript, converts it to PostScript. KLUDGE
In the default configuration, psf supports two kludges. The first causes psf to check its name for the letter `m'. If this letter is found and accounting is turned on, psf calls pap twice, once to get an initial page count and to print the job, and another time to get a final page count. This is a work-around for bugs in a variety of PAP implementions that cause printers to never properly close the PAP output file. A notable example is any printer by Hewlett-Packard. The second kludge causes psf to examine its name for the letter `w'. If this letter is found and accounting is turned on, psf calls pap with the -w flag. This flag causes pap to wait until the printer's status contains the string `idle'. Once this string is found, the job is printed as normal. This kludge is a work-around for printers, notably Hewlett-Packard's LaserJet IV, which will report a page count while a previous jobs is still printing. EXAMPLE
The sample printcap entry below invokes psf to print text files, PostScript files, troff's C/A/T output, and TeX's DVI output, to an AppleTalk connected LaserWriter Plus. Since the LaserWriter Plus stacks pages in descending order, we reverse the pages and print the burst page last. laser|lp|LaserWriter Plus on AppleTalk: :sd=/var/spool/lpd/laser: :lp=/var/spool/lpd/laser/null: :lf=/var/log/lpd-errs:pw#80:hl: :of=/usr/lib/netatalk/ofpap: :if=/usr/lib/netatalk/ifpaprev: :tf=/usr/lib/netatalk/tfpaprev: :df=/usr/lib/netatalk/dfpaprev: Note that if the host in question spools to more than one AppleTalk printer, /dev/null should not be used for the lp capability. Instead, a null device should be created with mknod for each printer, as has been done above. Finally, there is a file in the spool directory, /var/spool/lpd/laser, called .paprc, which pap reads for the AppleTalk name of the printer. SEE ALSO
psorder(1), printcap(5), lpd(1), mknod(1), pap(1). Netatalk 2.2 17 Dec 1991 PSF(8)
All times are GMT -4. The time now is 10:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy