Ubuntu Servers :: No Lpr Command Under Cups?

Sep 17, 2010

Setting up a new 64-bit lucid server. I installed cups and cups-client, and expected to have the "lpr","lpq" etc. commands available; we have old scripts that rely on them. But I don't see them anywhere.

Are they still provided in some package I don't know about? Otherwise I'll probably have to come up with wrappers around lp and lpstat, to avoid having to revise a lot of old code.

View 2 Replies


ADVERTISEMENT

Ubuntu Servers :: CUPS Not Forwarding To Other Polled CUPS' In 10.04?

Mar 22, 2011

I've been trying to figure this out for longer than I care to admit. We upgraded our print server (sysadmin) to 64 bit lucid and that moved our cups server from 1.3.7 to 1.4.3. We have a remote server that is still 1.3.7 (printhost1) but version difference doesn't seem to be relevant to the problem.

If I'm on console on sysadmin and do an lpr to a printer on printhost1, everything is copacetic. However, If I'm on a host that specifies "ServerName sysadmin" in its "/etc/cups/client.conf" access_log on sysadmin shows:

172.16.10.52 - - [22/Mar/2011:11:11:40 -0500] "POST /printers/103_hp4250 HTTP/1.1" 200 306 Create-Job client-error-not-authorized

and error_log shows:
E [22/Mar/2011:11:11:40 -0500] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/103_hp4250) from 172.16.10.52

We've been using this method of sharing printers between locations for years and years so it not working now is a surprise.

cupsd.conf on sysadmin looks like this and is as open as I can imagine:

ServerName sysadmin
ServerAlias *
ServerAdmin webmaster
FileDevice Yes
SystemGroup staff
LogLevel info
code....

Additional symptoms are that only printers locally defined on sysadmin show up when the client uses System>Administration>Printing in gnome. Same thing when you browse printers in windows on our samba domain controller that backends on CUPS.

I just know that it's something simple that's going to make me facepalm but I'm at a loss.

View 6 Replies View Related

Ubuntu :: Running Cups From Command Line?

Dec 23, 2010

I need some help desperately, and would appreciate a quick response. To begin, here's the output from 'uname -a' for the machine I'm using: Linux ubuntu 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64 GNU/Linux

Now, when I start my computer, cupsd is running:

[Code]...

View 2 Replies View Related

Fedora Installation :: Command To Install CUPS And Samba

May 2, 2009

What is the command to install CUPS and Samba, like yum install. I don't want to be installing wrong things and then end up with dependency problems, and after that what do i need to configure to have CUPS print from the localhost, and so that other computers from the networks also be able to print from the server, that is i'm workin on a server. As for samba i just need the installation command, then i want to figure the rest out.

View 1 Replies View Related

General :: How To Resume CUPS Printer From Command Line

Mar 3, 2010

I have printer in CUPS that due driver problems (hp 1010) form time to time goes into pause. I would like to write a shell script that will be once per hour resuming printer in cups.But I have no idea after googling for couple of minutes how to resume printer from shell command line.

View 5 Replies View Related

General :: Enable Printer In CUPS Using Command Line?

Oct 22, 2010

How to enable Printer in CUPS using Command Line?

View 3 Replies View Related

Software :: Printing To Cups-pdf Via Command Line With Options?

Jun 30, 2011

I'm having a hard time trying to print documents to PDF via cups-pdf at the command line and get all of the nice formatting options that the GUI print spooler dialogs provide. I know how to do "lpr -P Generic-CUPS-PDF-Printer filename" to get a general file printed to a PDF, but this method clearly is missing all of the nice formattingptions that get passed when using a GUI print spooler (margins, fonts, dpi, paper size, etc..). I tried to use ps to capture whatever command is being sent by the spooler but couldn't figure it out, since I'm not really sure what commands get called by the spooler

View 8 Replies View Related

Ubuntu Servers :: Trying To Get Cups To Work Beating Had Against Wall

Oct 17, 2010

I can't access the web interface for cups to install a printer on Ubuntu server 10.4 tell me how to get it working right or i'll just throw the computer out the window and go with windows server, a much better, user-friendly product, like all Microsoft creations

View 1 Replies View Related

Ubuntu Servers :: Software To Analyze CUPS Page_log?

Nov 30, 2010

Does anybody know an application that sums up the printing from the page_log file and puts the summed amounts in another simple text file? Tried phpPrintAnalyzer but could not figure out how to set it up.

Running Ubuntu Hardy LTS server.

instructions on phpPrintAnalyzer?

View 2 Replies View Related

Ubuntu Servers :: How To Troubleshoot Cups Segmentation Faults

Apr 5, 2011

I've set up a new virtual server (ubuntu 10.04 LTS on RHEVM, "uname -a Linux print-me 2.6.32-31-server #60-Ubuntu SMP Thu Mar 17 23:33:39 UTC 2011 x86_64 GNU/Linux") 2 weeks ago just for cups and samba printing (no other filesharing). Ran tests and it looked fine, then last friday I have added 10 Ricoh printers and 3 hp printers. Looked fine, apart from an issue with one "HP Color Laserjet 2600n", but resolved this with the help of the driver found here: [URL].. Since saturday, cups crashes daily in the morning with a segmentation fault (segfault:, eg:

/var/log/kern.log:Apr 3 06:40:39 print-me kernel: [154716.314945] cupsd[20713]: segfault at 7f097c8cd5d0 ip 00007f0ab0f0fb0f sp 00007fff5282dc10 error 4 in libcups.so.2[7f0ab0efb000+47000]

I wanted to trace what happens just before this by changing the LogLevel[URL]..upsd-conf.html) but setting it to anything higher than notice makes cups segfault again, with additional message on CLI:

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Cups Connection Refused In Samba Logs

Feb 4, 2010

I was just checking some of the generated logs from Samba.

Code:

Quote:

I've looked over my smb.conf and it doesn't look like I even have any printer sharing enabled.

Quote:

How PC1 was refused a connection when it looks like I don't have any printers being shared throught Samba?

This is just on a home LAN.

View 1 Replies View Related

Ubuntu Servers :: CUPS Printing-Can Print Test Page & Nothing Else?

Mar 22, 2010

I recently built a server from an old box using Ubuntu Server 9.10. This is my first server and I am very new to the server world.I have an Epson Stylus NX400 connected via USB. I have managed to configure it to the point where I can see the printer listed on my client laptop and can print a test page. However, I cannot print anything else. When I access the job history through the CUPS adminI can see that the print jobs were recognized and marked as complete, even though the printer never physically engaged.

View 4 Replies View Related

Fedora Servers :: CUPS And LPD Clients - Cannot Add Printer?

May 12, 2009

I'm working on CUPS server here now, I am new to the whole Fedora area, I'm starting to like it, tackling one service after the other. I have cups, which I don't recall installing but was there guess its a default. So I added a printer on my server, that was on a 10.0.1.1 block, added it as lpd://10.0.1.1/lab3printer. Ok that worked and printed from my server, but my problem is when other machines try to add the printer. I continue getting this problem
Alberto "recoverable: Network host '10.0.11.25' is busy; will retry in 30 seconds..."
On the computer it was added as printer lpd://10.0.11.25/alberto because my server has that IP and printer well named it alberto. I followed what this said with the xined.d [URL].

View 3 Replies View Related

Slackware :: Printing From Laptop To Several Cups Servers?

Jan 17, 2010

I connect my laptop to several different networks and need to print in each of them when I am connected there. In the past (ie 12.2 and earlier) I solved this by running a cups server on the laptop and having it poll the appropriate cups servers in each network.

I was thinking that perhaps in 13.0 I could bypass having the cups server on the laptop and that KDE would "see" the various cups servers available. However this does not seem to work...

View 5 Replies View Related

Ubuntu Servers :: Configure CUPS On 10.4 / Install A Driver For An NEC Superscript 870 Printer?

May 16, 2010

After struggling with a bad LP cable I have finally proven that the cable, printer and port all work. I booted in to another OS and was able to finally print. Now, I'm trying to get server 10.4 to recognize the printer and then I want to configure CUPs so I can run this machine as a headless print server, among other things.

Apache is running as I managed to get nagios to run and I can pull it up from another PC via a browser.

sshd is running as I'm logged in from another PC via ssh.

Problem number 1 is how do I install a driver for an NEC Superscript 870 printer? As it is lpstat returnes with :

karl@zeus:/etc/cups$ lpstat -t
scheduler is not running
no system default destination

Once I am able to print then I need to print to the server from other hosts on the network.

View 9 Replies View Related

Ubuntu Servers :: CUPS Very Long Delay Between Sending Jobs And Printing?

Feb 17, 2011

I've set up a cups printing server using ubuntu 10.04.1 LTS. The printer's a HP Laser Jet 1018 I can connect to it over vpn using openvpn from my netbook which is also running ubuntu 10.04.1. I can connect to the printer all right and test page prints without a problem. But if I try to print anything else, it take at least 5 minutes before the job is successfully send and printed out.

Also, on the client side, for example, the file size would like 500k, and when it finally prints out, the file size on the server side is less than 10k. The file is a black and white document, and from what I can tell, the printed page is not missing any information.

View 3 Replies View Related

OpenSUSE Network :: CUPS Does Not Recognize Ubuntu Cups Server On Intranet?

Feb 24, 2010

I have a printer configured on my Ubuntu server using CUPS amd made it available to the local network. The printer is recognized on my other Ubuntu machine without any problems.
But on my Suse laptop, the printer is not recognized. Using the YaST printer Configuations, I choose the option "Recieve Printer Information from Remote CUPS servers. But no printer is found.But... when I choose Do All Yout Printing Directly via One Remote CUPS server and enter the correct IP address (192.168.1.100), the printer is found andI am sure the printer info is broadcasted because it shows up on my second Ubuntu PC. But why is it not recognized by default on my Suse machine

View 2 Replies View Related

Ubuntu :: Cups Password / Add A Root Users To Access 127.0.0.1:631 Interface For CUPS?

Feb 26, 2010

I know this is listed somewhere but I cannot seem to find it -

How to I add a root users to access the 127.0.0.1:631 interface for CUPS?

View 1 Replies View Related

Ubuntu Security :: 631/tcp CUPS / Close Port / Stop This Service / Tell Update Manager To Shove Cups?

Feb 27, 2011

Running: Ubuntu 10.10

I'm in a bind and I don't know how to get what I want. Nmap shows ipp running cups on port 631. Great, simple enough I uninstall cups, along with its dependencies. A new portscan reveals that the port is closed SUCCESS, but... Ubuntu Update Manager nags me @ every restart about the "important security" updates. I can't lock the version of cups in Synaptic, because cups is not installed! So you see I'm in a bind. If I have cups installed I have an open port, and if I uninstall cups the update manager nags me. What do I do? I've tried:

- stopping the cups service and issuing the chkconfig cups off command... (doesn't close the port)
- uninstalling cups... (update manager nags)
- fuser -k 631/tcp (great, but @ reboot the port is still open)
Please teach me how to close this port / stop this service / tell update manager to shove cups.....

View 8 Replies View Related

Fedora Servers :: Print From Windows 7 To CUPS Printer Is Slow?

Mar 18, 2010

I have a FC12 machine installed with CUPS and a CUPS-PDF printer. Printer are shared and works fine with this URL:

[URL]

I have both client machine Windows XP and Windows 7. Both has setup the above printer and print fine without any problem. I can get the PDF file from windows test print. The only problem is I face is wait for around 20 seconds for printer dialog prompt out when I press print button in Windows 7. However, my windows XP never t have this problem. The printer dialog prompt out immediately when I press print button.

View 2 Replies View Related

Fedora Servers :: CUPS - No Pages Found (Print Job Stopped)

Feb 26, 2011

I successfully installed cups on my fedorabox, I can manage it through the web interface on port 631. I added the hplip and installed a HP Deskjet printer. However, when I want to print a test page I get the following error: "no pages found". The print job is in a stopped state...

View 2 Replies View Related

Debian :: Cups Not Starting With The Server / Getting Error Unable To Read Configuration File '/etc/cups/cupsd.conf' - Exiting?

Feb 24, 2011

cups does not start with the server. When I try to start from the terminal I get the error message

cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting!
cupsd: Child exited with status 1!

The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644.

My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is .

View 2 Replies View Related

Slackware :: 13 And CUPS / Cannot Get CUPS To Change From 'Letter'?

Feb 12, 2010

I have installed Slackware 13 on one of the hard disks of my computer in order that I can get it working properly before changing over from 12.2.

My main problem is that I cannot get CUPS to change from 'Letter', which I presume is an American size, to A4, has anyone else had experience of this problem?

View 9 Replies View Related

CentOS 5 Server :: Setting Up CUPS (command Line) On New Server?

Mar 29, 2009

I was using Red Hat 7.3 forever and decided it was time for a change. I went to Fedora 10 but it was really buggy. CentOS 5.2 is VERY stable.Here is my problem.The server is command line only -- I tend to hate GUI"S.I setup Samba no problem disabling the ports needed through the firewall and that was straightforward.CUPS is a nightmare for me since CentOS locks down the cupsd.conf and then the firewall does its thing. I allowed port 631 through the firewall but then got lost on the cupsd.conf. It's been too long and the old redhat one won't work with CentOS (not surprising since it's a VERY old system) straight-forward CUPS tutorial for a command line interface. I just need it to be:

a) do this

b) do that

View 4 Replies View Related

Ubuntu Servers :: Cups Does Not Start - Error "cupsd: Unable To Read Configuration File"

Feb 23, 2011

cups does not start with the server. When I try to start from the terminal I get the error message cupsd: Unable to read configuration file '/etc/cups/cupsd.conf' - exiting! cupsd: Child exited with status 1!

The log files show nothing. cupsd.conf exists. It is user - root and group - root with permissions set at 0644. My interpretation of this is that the program is not launching from either boot or terminal for a fundamental reason. I do not quite see what that reason is ..

View 2 Replies View Related

Debian :: Can't Start CUPS Server With /etc/init.d/cups Restart "file Not Found"

Jan 21, 2010

installed lenny and am trying to install brother dcp7010 again:

1) i can't start CUPS server with /etc/init.d/cups restart "file not found", there is a cups@ link in /etc/init.d.

2) when i install dcp7010 cupswrapper

dpkg -i cupswrapperDCP7010-2.0.1-2.i386.de
it ends with
" lpinfo: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt
lpadmin: Verbindung zum Server nicht m�glich: Verbindungsaufbau abgelehnt"
(connection to server not possible, refused)

3)[URL] doesn't work.

4)foomatic-gui can't find the installed dcp7010 lpr-driver

brdcp7010lpr-2.0.1-1.i386.deb, (a couple of days ago it did)

This is frustrating because it worked in etch and worked for awhile in lenny. The dcp7010-scanner does work.

View 13 Replies View Related

Ubuntu Servers :: Add Command To Start-up?

Jan 20, 2010

I want to add a line to the start-up of my proxy server that does the IPTABLES port re-routing for me automatically instead of having to do it manually every time I restart

View 3 Replies View Related

Ubuntu Servers :: Nm Command Not Found?

Mar 9, 2010

Running Ubuntu 9.10 64bit server. Installed it as a minimal virtual machine. The 'nm' command does not exist in /usr/bin. Assuming this is because the nm command is not included in a minimal install. How can I install the nm command ?

View 2 Replies View Related

Ubuntu Servers :: No Net Command With Samba?

Mar 16, 2010

this is my first post ever, so sorry if i'm not very descriptive. I just installed Ubuntu Server 9.10 x86 and I cannot use the net command that comes with Samba

View 8 Replies View Related

Ubuntu Servers :: XLS To PDF In Command Line (or PHP) ?

Jul 8, 2010

I'm looking for a way to automatically convert XLS and XLSX files to PDF when uploaded through a Web interface by users. I will probably use phplivedocx for DOC and DOCX files, but I haven't found any library for Excel files.I may use PHP to call a some printing command to make the conversion, but I've never tried that on a server (which obviously) doesn't have Open Office installed (meaning no PDF printer driver I guess)

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved