Technical article 110520

Cancel command hangs when trying to cancel LPD remote print job.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5UnixWare 7.0.0UnixWare 7.0.1UnixWare 7.1.0

Written · Last revised

Problem

When I try to cancel a remote LPD print job printing on a single-port print server, I get a message stating that the job was canceled and then the command hangs and the print job keeps printing.

Cause

Most single-port print servers are not capable of canceling print jobs. In order for this functionality to work, the print server must support spooling. Most single-port print servers don't support spooling, and are therefore unable to accept the cancel command until after the print job has finished printing.

Solution

Use a print server that supports spooling if you want to be able to
cancel remote print jobs. Unix machines configured as print servers
do support spooling and therefore would support the cancel command.
NOTES:    There is a similar problem with lpstat. Print servers that do not
          support spooling, once a printjob is sent, cannot do anything except
          print until the print job is finished printing.

See also

ta110522, "lpstat hangs while remote print jobs are printing."

RFC1179 - Line Printing Daemon Protocol Specifications
Manual pages for cancel

From the Xinuos technical article database, record 110520. Reproduced with permission. The original is at www.sco.com/ta/110520, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.