* SUMMARY: Redirect printing
@ 2001-07-09 20:22 Andre Thompson
0 siblings, 0 replies; only message in thread
From: Andre Thompson @ 2001-07-09 20:22 UTC (permalink / raw)
To: tru64-unix-managers
Thanks to Edward D. Silver for the following solution:
1) stop lpd with /sbin/init.d/lpd stop--this will keep the pending print
job in the queue for printer1.
2) Each printer has a spool directory where the printing resides (usually
something like /var/spool/printer1 and /var/spool/printer2). Within that
directory are 2 control files--one is the status file and the other is the
content to print. The filenames are based on the job number in
combination with the machine name. One is the 'cf' file and the other is
the 'df' file.
3) For the job number in question, move the files to the new spool
directory (in your case printer2): 'mv ?fA[jobnum]* /var/spool/printer2'
4) Restart lpd with /sbin/init.d/lpd start
This will analyze the spool directories for the individual printers and it
will now detect a pending job for printer2. Upon detection, the job will
attempt to send to printer2 (configured in /etc/printcap, of course) and
if configured correctly, will print.
Hope this helps.
-------------------------------------------------------------
Edward D. Silver
VP Technology & Operations
Lodging.com - Get A Room!
TEL: 561-989-9330 x211 EFAX: 561-619-7840
EMAIL: edsilver@lodging.com
-------------------------------------------------------------
On Mon, 9 Jul 2001, Andre Thompson wrote:
> Date: Mon, 09 Jul 2001 15:42:32 -0400
> From: Andre Thompson <AThompson@ADMIN.UWI.TT>
> To: "Unix Managers (E-mail)" <tru64-unix-managers@ornl.gov>
> Followup-To: poster
> Subject: Redirect printing
>
> Hi Managers
> I have two printers installed on Compaq Tru 64 Unix 5.1. I
> have a job currently printing on printer1. I want to redirect this job to
> printer2 without cancelling the job.
>
> How can I accomplish this?
>
> Thanks in advance.
>
> Best Regards
> Andre.
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-07-09 20:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-09 20:22 SUMMARY: Redirect printing Andre Thompson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox