Question : lpr print server issue

Hi,

We are using lpr as a print server. What I want to do is, configure the lpd print server so that before it accepts any print job for some printer, it checks if the printer is available or not.

If the printer is available, then only it is supposed to accept print jobs...if not, it should not accept the print jobs at all.

How do I accomplish this feature ?

(Printers are taken off for sometime during maintenance...so i cannot remove the printer configuration completely if they are taken offline for sometime)

Answer : lpr print server issue

Oh and not listed.

Set archive=C:\ArchiveFiles.TXT
if exist ArchiveExist.txt del ArchiveExist.txt
if exist ArchiveDoesNotExist.txt del ArchiveDoesNotExist.txt
if exist NotInArchive.txt del NotInArchive.txt


for /f "tokens=*" %%a in ('type "%archive%"') do (
     if exist "%%a" (
          Echo %%a>>ArchiveExist.txt
    ) else (
          Echo %%a>>ArchiveDoesNotExist.txt
    )
)

for /r "C:\Archive" %%a in (*.*) do (
    find /i "%%a" "%archive%"
    if errorlevel 1 ECHO %%a>>NotInArchive.txt
)
Random Solutions  
 
programming4us programming4us