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  
  •  mysql_fetch_array error
  •  IAT patching, problem when calling back to original target function?
  •  Trouble with the dependesnt select boxs
  •  the workstation driver is not installed, cannot access network shares from server or workstations
  •  How to change the regualr property to the automated property for which the automated property is working fine
  •  when moving files(pdf mp3 etc.) from Mac OS X 10.6 to NTFS'ed UBS Stick then to Win XP, hidden files appear
  •  Excel: Programmatically determine if Trust Access To VB Project has been set
  •  iPad css question - vertical scroll issue
  •  Crystal Report in ASP web app Error Login failed for user 'MYDOMAIN\username'.
  •  Kodak Easyshare All In One Printer 5500 Ink cartriges Can ink heads be soaked or can a drop of ?? be placed on them to loosen them up
  •  
    programming4us programming4us