Map control

De MappingDoc
Révision datée du 6 mars 2019 à 09:11 par imported>Admin (1 révision importée)
(diff) ← Version précédente | Voir la version actuelle (diff) | Version suivante → (diff)

map_control

Spooler management.

  • Start and stop spooler
map_control -DaemonStart
map_control -DaemonStop
map_control -DaemonRestart
map_control -DaemonIsAlive
map_control -reload_object:NAME -type:TYPE
map_control -stop_lpd
map_control -start_lpd
  • Work with entries, queues and devices
- start :
  map_control -startq:XXXX
  map_control -startq:*
- stop :
  map_control -stopq:XXXX
  map_control -stopq:*
- list in tty mode :
  map_control -viewq -queuelist -user:XXXX
- initialize MSGWs :
  map_control -changeformat:XXXX
  map_control -changeformat:*
  • Work with spooled files
- hold :
  map_control -holdjob:XXXX -qname:XXXX
  map_control -holdjob:* -qname:XXXX
- release :
  map_control -freejob:XXXX -qname:XXXX
  map_control -freejob:* -qname:XXXX
- delete :
  map_control -canceljob:XXXX -qname:XXXX
  map_control -canceljob:* -qname:XXXX
- transfer :
  map_control -movejob:XXXX -qname:XXXX -toqname:XXXX
  • Schedule map_control command
- Relative date :
  map_control "-schedule:+[xxD][xxH][xxM]" ...command...
- Absolute date :
  map_control "-schedule:yyyy/mm/dd-hh:mm" ...command... (ex: map_control "-schedule:+12H" "map_control" "-startq:*" )
  map_control "-schedule:+12H" "map_lp" "-DPRINTER" "-data:C:\file.pdf"
  • Debug mode for map_daemon process
  map_control -setdebug=YES   (log détaillée dans le fichier stderr.txt)
  map_control -setdebug=NO
  • Sigsegv signal for map_daemon process
  map_control -setsigsegv=YES
  map_control -setsigsegv=NO