Ubuntu :: Cancel All Pending Print Jobs Automatically When Loging Out Of A Session

Dec 14, 2010

Sometimes I want to keep something in PDF files, so I print to the PDF "printer". However, if I inadvertetnly forget to check the PDF creation and rather take the real printer (which is usually only powered up, when I really want to print something), printing goes to the real printers queue and nothing happens ... until, possibly some sessions later, I want to print something (on paper rather than PDF) and power up the printer.

Then all inadvertent garbage comes first and chances are big, that the printer gets junk during power up or reconnecting the cable to the computer and then the whole thing is wasting even more paper, since escape-sequences sent to the printer get chopped and misunderstood by the printer.

In order to stop this alltogether, I am looking for a mehtod, to automatically flush the whole printing queue every time when I log out of my ubuntu session.

I know, there is a command lpq to tell which print jobs are pending, I also know the command cancel -Umyname -a, but this requests for my password. I want to kill all those incomplete or pending print jobs automatically.

And how do I hook such a command script into the logoff or shutdown sequence?

View 1 Replies


ADVERTISEMENT

Software :: CUPS - Print Jobs Shows Completed, But Page Doesn't Print?

Dec 6, 2008

I initially had a problem accessing the CUPS interface (see my other post) and got that resolved by adding the user "cupsys". Now, everything "looks" ok, and when I print a test page, it shows it as completed (in CUPS). However, the page never prints.
The printer is a Canon MP600 (using the canonmp600en.ppd file to configure it). Here's the output of my conf file.

Code:
# Show troubleshooting information in error_log.
LogLevel debug

[code]...

View 8 Replies View Related

Ubuntu :: Document Print Status Pending Forever

Feb 16, 2011

I have a problem with a network printer: every document I try to print it goes in the printing queue and there its status stays "pending" forever. Where could be the problem or where can I find clues to solve it?

View 1 Replies View Related

Slackware :: CUPS Print Jobs Print 1st Page OK, But All Others Are Overwritten?

Feb 26, 2011

Not sure when CUPS started acting up. I have the latest 13.1 current software installed.The first page to print is always OK, but all succeeding pages are overwritten. The second page shows the first page on top of it, and the third shows the preceding pages on top of it - and so on. Has anyone else seen this problem?I guess the printer buffer is not getting flushed correctly. If my configurations were trashed in some way, I don't know where to look for a fix.

View 14 Replies View Related

Ubuntu :: Print Jobs Stuck In Queue?

Mar 28, 2010

I have 2 printers plugged into a Windows XP PC (an Epson Stylus Photo RX580, and an HP Laserjet 1020) with full sharing on and everything, and is shared with other Windows PCs via the network I have set up. It has worked perfect. But today I added a PC running Ubuntu 9.10 and and can't figure out for the life of me what I am doing wrong. I installed both of the printers via the GUI in Administration, and both of them are detected and Ubuntu says they're working. But when I put something in the queue to print it stays there with the status "pending".

View 8 Replies View Related

Ubuntu :: Printing Document - Empty Print Jobs

Jul 1, 2011

I need to check if I've printed a document. For what I've been reading, going on [URL] and clicking on "Show completed job" should do what I need to do, but it says "No jobs".

View 1 Replies View Related

Fedora :: Sleep But Still Listen For Print Jobs?

Dec 3, 2010

So I have Fedora 14 installed on a laptop directly connected to my printer. I really never use the laptop except to send print jobs to it wirelessly. I was wondering if there was a way to make it suspend or sleep, or even idle everything down so it uses less power, but still listen for print jobs?

View 2 Replies View Related

Software :: Cups Dropping Print Jobs

Apr 30, 2011

I have a problem with cups dropping print jobs. The machine fedora 13 installation using cups 1.4.4-10

The dropped jobs happen only rarely happen and therefore is difficult to debug the problem since it doesn't happen 99% of the time. This morning (while in the shower) I wondered if the lost jobs are lost because they are timing out, perhaps because of slow input from a user. I can test this more later in the week..

The print jobs are initiated from within a COBOL program. COBOL opens the print file as output and at this stage a job appears in the print queue with a status in the print queue of "held".

The user types in various bits of information and when complete the program executes the final write to the output print file. The job is somehow released and then is physically printed by CUPS. I suspect that if the user is slow the "held" job times out and then the job is lost.

There are a number of timeout directives in cups.conf but I am unsure which might be appropriate in this case. Or perhaps there is some other timeout thing happening.

View 3 Replies View Related

Ubuntu Installation :: 10.04 - Printer Only Print Jobs In Queue After Restart

Jun 10, 2010

My Printer Brother DCP-8045D only prints, when I send the computer (Lenovo X200) to suspend (or shutdown) and wake it up again, whilst a document is in the printer queue.

View 2 Replies View Related

Ubuntu Networking :: Can't Send Print Jobs To Network Printer

Jul 18, 2011

I have a Brother MFC-295CN network printer. Been having a heck of a time trying to get this thing working since I installed Ubuntu 11.04 yesterday. I've been away from Linux for some time and am new at using it. Downloaded and installed using the Software Center:

mfc295cnlpr-1.1.2.i386-1.deb
mfc295cncupswrapper-1.1.2-2.i386.deb
brscan3-0.2.11-4.i386.deb
brscan-skey-0.2.1-3.i386.deb

Was able to send a test print and it came out fine. But when I tried to send a print job - nothing. And, the scanner won't work either.

My computer is a Gateway GT5464. It's dual booted with Windows 7.

View 1 Replies View Related

Debian Configuration :: Print Jobs Disappear From Queue?

Jun 16, 2010

I have no idea what's going on. I've had this machine running for over a year, and it's been great. A month or so ago, I realized that jobs weren't going to the printer. When i VNC'd in, I noticed that print jobs would show up in the queue as "Processing" briefly, then disappear.

lsusb:
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

[Code]....

I've even reinstalled the OS (not just for this reason) to no avail. Printer is dete cted without issue, I just can't use it.

View 6 Replies View Related

OpenSUSE Hardware :: 11.3 - Print Jobs Just Sits In Queue

Jul 26, 2010

I'm running openSUSe 11.3 on a laptop and the printer is connected to my desktop which is running Windows XP. I have the printer and several folders and drives shared. I can see the folders and drivers on my laptop but I cannot get the printer to actually print. It is an HP printer but I am not using HPLIP. I can send a print job to the queue and the printer resets itself like it's going to print but nothing else happens and the print job just sits in the queue until I hit cancel and restart then printer.

View 9 Replies View Related

General :: Commands Lists Your Outstanding Print Jobs?

Feb 7, 2011

Which commands lists your outstanding print jobs?

View 3 Replies View Related

Software :: Managing Print Jobs Through Printer Queue?

Aug 22, 2010

my ERP is sending multiple xml files to my queue and printing daemon reads each files and send it to windows printer (queue) where another software that uses each file and prints one document at a time.I would like to control first part when ERP send XML file I would like printing daemon to send files to windows queue in order the files came in from ERP. Currently it send it in random order. (i think it's based on how fast it can process, size of file..ect)

View 5 Replies View Related

Software :: Kde-program To Show Current Print Jobs In Aptosid?

Oct 4, 2010

im searching a kde programm to show current print jobs. I've installed aptosid (actual version).I've searched the repository and I only found printer-applet which does not run in aptosid - I got the following error messages:

Code:
Traceback (most recent call last):
File "/usr/bin/printer-applet", line 1161, in <module>

[code]...

View 2 Replies View Related

Applications :: Firefox 3+ Doesn't Queue Lpr Print Jobs Until After Quit On RHEL5/10.04?

Jun 8, 2010

We have a lpr server for printing (not CUPS for compatibility with complicated domain/systems). We configured our linux systems -- RHEL4, RHEL5, and Ubuntu 10.04 -- so that lpr is one of the gtk print possiblities by adding 'gtk-print-backends = "lpr,pdf,file"' to gtkrc. This works great for several gtk-enabled applications like Acrobat Reader (acroread).

However, Firefox 3+ (tested 3.6.3 & 3.0.19) doesn't actually queue any lpr jobs until after quitting the application.

View 1 Replies View Related

Software :: Pass Print Jobs To A Lexmark Printer With The Lp -o Landscape Command?

Sep 30, 2009

We are running RHEL 5.1 on the 2.6.18.53 kernel. We are attempting to pass print jobs to a Lexmark printer with the lp -o landscape command. The print jobs continue to print "portrait". Is anyone aware of this issue and is there a work-around to get these print jobs to print in landscape format?

View 5 Replies View Related

Ubuntu :: Print From Folder Automatically?

Apr 11, 2011

I need to setup a network scanner which will scan to a folder via the network onto an Ubuntu pc. When the file is scanned I need the Ubuntu pc to automatically print the file to the default printer and then deletes the scanned file.

I haven't been using Ubuntu very long and was not sure how to achieve this. I was wondering if perhaps I should write a script, after learning how to, that checks the folder for any files and then prints them. Once printed it then deletes the files. Would I need to have this script running via a scheduler that runs the script every second? Or is there another way to achieve this?

View 2 Replies View Related

General :: Way To Automatically Unlock Screen For VNC Session

Sep 17, 2010

I'm connecting via ssh to an Ubuntu server that has a physical display attached.I'd like the physical display of the server to remain locked while I'm connected remotely.Is this possible? How? Also, is there a way to automatically unlock the screen for the VNC session, which is made from localhost via an ssh tunnel?

View 1 Replies View Related

Ubuntu :: Automatically Run A Process In A Screen Session And Then Detach And Quit Terminal

Jul 24, 2010

There are often times when the best way to launch an application is from the terminal, but it is a graphical application and after it is launched the terminal is useless.

Examples of places where a terminal is convenient are when a process starts lots of child processes and is also unstable; you can be sure to kill all of its children simply by using Ctrl-C at the terminal. Also it allows me to read program output and to set up the terminal environment to be optimal for the application (for example "unset LIBGL_ALWAYS_INDIRECT")

With GNU screen, I can get around the hassle of having a terminal window open by using something like the following in a terminal window:

Code:
screen
my_command
Ctrl-A d

and then I can close the terminal and the program will keep running. Then I just type "screen -r <Tab>" (the tab will get me my screen session if there is only one such session) in any terminal window, even a tty, and I can get the screen session back and use Ctrl-c or something.

So my question is, is there a way to do this automatically so that a launcher or script will start a screen session, inside that screen session start a process, and then detach from that screen session without me having to manually open and close a terminal and type the commands?

View 2 Replies View Related

Ubuntu Multimedia :: Utility To Automatically Do Printer Test Page Print Job?

Mar 28, 2010

I have a couple of large-format printers (Epson R2400, HP 9650) which I only use infrequently. If they are not used very often, they dry out, the print heads get packed up, it's an expensive mess to deal with when times comes to run off some prints. The printers are physically connected to a Windows machine to which my Ubuntu computer is networked.It would be helpful if there was a utility that could initiate a test page print job on the machines, which could be scheduled to run once a week or so. I've had no luck finding such a thing for Windows

View 9 Replies View Related

Ubuntu :: Can't Bypass Loging Screen ?

Jun 13, 2011

Yesterday I was working on Ubuntu, i shut down the computer normally, and then when i restarted it like an hour later i couldn't bypass the login screen. I insert my username & password correctly and the screen goes back for one second and then displays the login and password inputs again. I have just one username there. Before i shut it down i was trying to install Eclipse, so i messed around with some files related to Eclipse only, if that has anything to do with the problem. I also have Windows XP installed along with Ubuntu 9.10.

View 3 Replies View Related

Ubuntu :: Loging To Wireless Adapter ?

Jun 29, 2011

I'm using a cd to try Ubuntu 11.04. New user here. I get a message that requests for the wireless network password. When entered it appears to be valid. When clicking on wireless icon it shows connected. When I launch FireFox it can't find a server. Then after a few minutes it once again asks for the wireless password.

View 1 Replies View Related

Ubuntu :: Aptitude's Stored/pending Actions

Sep 17, 2010

In accordance with aptitude doc:

Code:
As a special case, install with no arguments will act on any stored/pending actions..."
OK, let's try:

[Code].....

View 2 Replies View Related

Ubuntu :: 10.04-Loging Prompt Hangs After Update?

Jul 23, 2011

I ran apt-get update to fetch firefox5. I didn't updated ubuntu since long so it down loaded around 280 updates including firefox. Now while installing I saw once EULA acceptance message for Microsoft ttf font installation, this message window doesn't have any button etc to confirm, so I did ctrl+c to exit, and then "apt-get" seems to have terminated in terminal.But I checked that it is still running in the background in process list, not sure active process or not.

I did rebooted PC assuming update might have completed. Now after reboot it boots up to the login prompt, but I don't see any cursor movement or key stroke effect. It just stays there and then after some time shuts down, with flashing error message relate to "Init.." i couldn't read it completely.

View 4 Replies View Related

Debian :: Loging In Xfce Again Comes To The Same Gdm ?

Dec 8, 2010

I have installed Debian squeeze(testing) xfce. While I was changing selecting themes for the xfce window manager. It logged off and came to the login screen(gdm I think). On giving the username and password, it again comes to the same login screen. I can't get to the desktop.

View 14 Replies View Related

Server :: Loging Ssh With Syslog-ng ?

Nov 14, 2010

Im trying to get syslog-ng to log ssh stuff to a own file (later i want it to be forwarded to a other server but thats a later problem.

The thing is that if i restart my syslog-ng server and login with ssh, it logs it. but when i login again it dont. But if i restart the syslog-ng daemon again it logs again, but only once.

Here is my config.

Code:

View 1 Replies View Related

Red Hat / Fedora :: Change Pending Singals Value?

Nov 9, 2010

How to change pending singals value , forever?My serve is 1024 , this is too small

View 4 Replies View Related

Software :: RHN Showing Updates As Pending

Apr 20, 2010

I have one of my Red Hat 5.4 box connected to the RHN and I managed to download and install selected files and updates. Lately, it has stopped doing so. I can go to the RHN webpage and select/apply the uppates I chose. But when I run the command "rhn_check", all I get is this

Loaded plugins: rhnplugin
[root@ELSDB09 ~]# rhn_check
Loaded plugins: rhnplugin

The updates are not installed and RHN shows that update as "Pending". I am not sure which log file I can dig into.

View 5 Replies View Related

General :: Check Number Of Pending Security Updates In Ubuntu

Oct 15, 2010

I have been forbidden to enable automatic updates on our Ubuntu servers, for both security and regular packages.When I log into any of my four Ubuntu servers, the welcome message contains this:

39 packages can be updated.
26 updates are security updates.

However, when I run the Nagios plugin that monitors APT, I get:

% /usr/lib/nagios/plugins/check_apt
APT WARNING: 33 packages available for upgrade (0 critical updates).

I need to know how to properly detect that there are pending security updates, and regular updates. Once I can do that, I plan to write a Nagios script that will return WARNING for pending regular updates, and CRITICAL for pending security updates.

View 1 Replies View Related







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