How To Deed Impress Jobs From Ane Printer Queue To Another

In the olden days, an entire component division subdivision shared 1 printer. At home, an entire identify shared 1 printer. Nowadays, I bring two printers at dwelling (1 HP LaserJet as well as 1 Samsung Monochrome Laser printer).

With access to multiple printers come upward novel opportunities as well as challenges. One of those opportunities is that if 1 printer goes downwards for whatever reason, yous tin road your impress jobs to the surviving one. One challenge is that yous ask to manage multiple printer queues. With to a greater extent than than 1 printer, I oftentimes detect myself printing to the incorrect one. How produce yous road impress jobs from 1 printer to simply about other when the ask arises?

Job Submitted to Wrong Printer


Let's get-go take in this situation: yous simply submit your impress chore to the default printer(mySamsung), but yous realize afterwards the fact that it is the incorrect printer.

First, yous should detect out the impress chore number. Run the familiar lpq command.
$ lpq -P mySamsung
mySamsung is laid as well as printing
Rank Owner Job File(s) Total Size
active peter 706 (i) 100352 bytes
1st peter 707 MoviesReview 228352 bytes
$

Note that given mySamsung is my default printer, I don't actually ask to explicitly specify the printer: lpq without whatever declaration volition produce simply fine.

Say chore 707 is the 1 yous desire to motion to the other printer.

The Linux ascendance to produce the actual migration is lpmove. Note that yous ask to run the ascendance every bit root.

$ sudo lpmove mySamsung-707 myHP
$ lpq -P myHP
myHP is ready
Rank Owner Job File(s) Total Size
active peter 707 MoviesReview 228352 bytes

Note how I specified the chore release to lpmove. The format is the printer name(mySamsung) as well as a dash(-), followed past times the chore release (707).


Printer Down


Suppose mySamsung is out of service for whatever reason. Then, yous ask to motion all impress jobs from mySamsung to myPrinter.

$ sudo lpmove mySamsung myHP
$

Berlangganan update artikel terbaru via email:

0 Response to "How To Deed Impress Jobs From Ane Printer Queue To Another"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel