How to determine to whom, a printing job, belongs to. A) English B) Português

Tech Tip: How to Cancel a Print Job When You Don't Know the Name of the Printer (in English and Portuguese)

A) English

I work at an Hospital, with more than 1500 pc's and many printers.

Sometimes, users print jobs with more than 100 pages, by mistake, and ask us to cancel the printing jobs.

Now, if they tell us the name of the printer, we cancel it, by issuing the following command:

lpstat -t | grep name_of_the_printer 
      -> to see the printing jobs

cancel -e name_of_the_printer  
      -> to cancel the printing jobs

But if, the user can't tell us, the name of the printer, we issue the following command:

lpstat -u user_name 
      -> to see the printer, the user is printing to.

cancel -e name_of_the_printer 
      -> to cancel the user printing jobs.

B) Português

Eu trabalho num hospital, com mais de 1500 pc's e muitas impressoras.

Por vezes, os utilizadores imprimem trabalhos com mais de 100 páginas, por engano e pedem-nos para os cancelar.

Agora, se eles nos disserem qual o nome da impressora, nós cancelamos, executando o seguinte comando:

lpstat -t | grep nome_da_impressora 
      -> para ver os trabalhos por imprimir.

cancel -e nome_da_impressora 
      -> para cancelar os trabalhos.

Mas, se o utilizador não souber, o nome da impressora, executamos o seguinte comando:

lpstat -u nome_do_utilizador 
      -> para ver a impressora, para onde o utilizador imprime.

cancel -e nome_da_impressora 
      -> para cancelar os trabalhos.
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact