Remote printing to Linux CUPS queue


 
Thread Tools Search this Thread
Operating Systems AIX Remote printing to Linux CUPS queue
# 1  
Old 05-26-2011
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 AIX queue is defined as such:

Code:
pdf:
        device = @server1
        up = TRUE
        host = server1
        s_statfilter = /usr/lib/lpd/bsdshort
        l_statfilter = /usr/lib/lpd/bsdlong
        rq = CUPS-PDF
@server1:
        backend = /usr/lib/lpd/rembak

I CAN telnet to port 631 or 515 from the AIX host.
I think there may be a problem with the data stream or some odd permission issue, if it were permissions though, I would expect the windows host to fail as well.

Results from lpstat:
Code:
pdf     @server1 READY    
pdf: CUPS-PDF is ready
pdf     CUPS- READY

CUPS-PDF is the name of the remote queue.

Thanks for reading.

Moderator's Comments:
Mod Comment edit by bakunin: please use CODE-tags when posting code and/or terminal output. It enhances readability greatly. Thank you.

Last edited by bakunin; 06-06-2011 at 07:28 AM.. Reason: addtl info
# 2  
Old 06-01-2011
please post the errors.


On another note - AIX 4.2.1 -- your really using an operating system version that is 14 years old??? That could be part of the problem also. You could try and build/install cups and use that instead of the AIX print subsytem.
# 3  
Old 06-04-2011
There is no error generated that I can find. When I submit a print job the queue simply goes down. It seems like I had this working at one time but my notes are a bit sketchy. As for using a 14 year old OS....yes we really do and yes it is a production system. Not my choosing but the pay is the same. Smilie
# 4  
Old 06-06-2011
Quote:
Originally Posted by tgx
There is no error generated that I can find. When I submit a print job the queue simply goes down. It seems like I had this working at one time but my notes are a bit sketchy. As for using a 14 year old OS....yes we really do and yes it is a production system. Not my choosing but the pay is the same. Smilie
Regarding the OS version: i suppose you can't upgrade that much because your hardware might not be supported after 5.1 (if you have a really old R/6000 system, that is). Still you might consider upgrading to 4.3.3 ML11(12? 10? can't remember which was the last one), which was a lot more reliable than 4.2.1 and most likely your software will run with that too.

Regarding your printer problem: have you had a look at "/var/spool/qdaemon" and the files there? This is where the printing subsystem stores its files.

I hope this helps.

bakunin
# 5  
Old 06-06-2011
Thanks for the tip. What I found was no file being created in qdaemon so I tried creating the queue with another name. Lo and behold it works fine now. I have seen this on three different occasions now where if I remove a queue (say during testing) and then try to add it back in with the same name, it gets its wires crossed up and doesn't work. I can recreate the issue at will. Just create a queue, delete it and re-add it. Sometimes when you do this, lets say you have a custom colon file associated with that queue. Any changes to the virtual printer are not applied. Create a queue with a different name, works fine. I hate things like that. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

LPR CUPS to Windows server and queue.

Hi everyone, Our office has a lot of printers (label & laser), and sometimes it gets quite hard to configure a new printer in CUPS as most printer manufactures does not provide drivers/ppd for CUPS/LINUX/UNIX. So we are trying to move to a Windows Print Server and run a Proof of concept. We... (2 Replies)
Discussion started by: Syed Hussaini
2 Replies

2. UNIX for Advanced & Expert Users

Troubleshooting printing through Cups

Hello Experts, I have been facing an issue with printing through cups configured on Linux server. All was going on well but all of a sudden the printers started giving an error message, "Unsupported format application/postscript!" and we cant get any prints of any printer. Need your help as... (2 Replies)
Discussion started by: Rockyc3400
2 Replies

3. Red Hat

cups printing error

Hi All, Having searched for a solution to this issue i found no suggestions which help my particular problem. I am getting the following error message on 1 of the 3 printers i have configured: recoverable: Network host 'xxx.xxx.xxx.xxx' is busy; will retry in 30 seconds All 3 printers are... (0 Replies)
Discussion started by: Tommyk
0 Replies

4. UNIX for Advanced & Expert Users

Slow printing to network printers using CUPS

Hi Guys, I've inherited a mess of an infrastructure in my new job, there hasn't been a sys admin in post for about a year, so things are falling apart. The first thing to break after I started was the printer server. I have it working again, and people can print, however it's very slow, slower... (0 Replies)
Discussion started by: rudigarude
0 Replies

5. 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

6. SCO

Printing as a CUPS client, only root can print!

Hi, i'm running Openserver 5.0.7 as a CUPS client for a Linux server. The root user can issue a "lpstat -t" to see the printers and can submit jobs without issues. The problem presents when I try to work as a regular user. If I issue an "lpstat -t" all I get after a few seconds is "lpstat:... (1 Reply)
Discussion started by: cyruspy
1 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. 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

9. Linux

Landscape printing broken in CUPS?

Hello, I am using version: cups-config --version - 1.2.4 However, when i use the -o land or -o landscape command it doesn't print in Landscape. I have the same problem on another server. (Both running CENTOS). Does landscape printing work in CUPS? Is there a fix? Thanks in an... (0 Replies)
Discussion started by: stuaz
0 Replies

10. AIX

Printing multiple copies via remote queue

Hi all, I have an interesting problem. Using remote queues to print using jetdirect printers I am unable to get a printer to print multiple copies of a print job. command being used: lpr -P -#3 ./test (one copy prints) Also tried: enq -P -C3 ./test (same results) Any ideas? ... (6 Replies)
Discussion started by: Luck
6 Replies
Login or Register to Ask a Question

Featured Tech Videos