Map lpr
map_lpr
Remote printing command.
-queue:XXXX | -DXXXX | -dXXXX -server:XXXX | -PXXXX [ -title:XXXX | -TXXXX | -JXXXX | -tXXXX | -jXXXX ] [ -user:XXXX | -UXXXX | -uXXXX ] [ -host:XXXX | -HXXXX | -hXXXX ] [ -logpath:XXXX | -logspool:XXXX ] [ -infopath:XXXX | -infospool:XXXX ] [ -port:XXXX ] : Connection port (default 515) [ -time:XXXX ] : Timeout (seconds) [ -map_priority:XXXX ] [ -map_retention:XXXX ] [ -map_compress:XXXX ] [ -start_page:XXXX ] [ -stop_page:XXXX ] [ -map_nb_copy:XXXX ] : Asks the distant MAPPING server to make X copies [ -map_security:XXXX ] [ -map_codecompta:XXXX ] [ -map_fidelity:XXXX ] [ -map_printerstatus:XXXX ] [ -support:XXXX ] [ -map_hold ] [ -map_save ] [ -nb_copy:XXXX ] : Send X copies of the same spool file to the server [ -rmtid:999 ] [ -debug ] [ -debug_data ] [ -map_userData:XXXX=YYYY | -o:XXXX=YYYY ] [ -sapcmd ] [ -noCFAdata ] [ -compress ] : Compresses the spool file on the fly before sending, only for use with a Mapping entry point [ -shortHeader ] : Uses a shorter LPR header, for some printers [ -ismapping ] : No limitation in the spool file title [ -retryfrom:XXX ] : Starts printing from page XXX (using PJL commands in the datastream) [ -header:XXXX ] [-bannervalue:clef=value ...] [ [%clef%]=value ... ] [ -footer:XXXX ] [-bannervalue:clef=value ...] [ [%clef%]=value ... ] [ -blockpjl:XXXX ] [ -no_banner ] [ -createPDFView ] : Creates PDF file for viewing [ -linkTo:XXX ] : Client file(s) attached to the spool file [ -sleep:XX ] : Wait XX seconds before sending next job [ -profile:XXXXX ] : Use XXXX profile from [XPSCONFIG] file to handle XPS spool files -data:XXXX | file
Messages d'erreurs
waitconnect (IP:192.168.12.54, port:515): timeout!!!
Le serveur ou l'imprimante n'est pas du tout accessible.
Solution possible : augmenter le timeout (option -time)
ERROR: Le serveur distant n'a pas répondu ou a envoyé un NACK pour la sélection de la queue
Le lpd a bien répondu, mais est incapable d'injecter le fichier dans la file d'attente.
- Soit parce que la file d'attente n'existe pas
- Soit parce que le map_daemon ne tourne pas (peut arriver si le map_lpd est orphelin)
waitconnect (IP:192.168.12.54, port:515): error, no connect here today, try next
Impossible d'ouvrir le socket entre le map_lpr et le serveur lpd, qu'il s'agisse d'une imprimante ou du map_lpd
Solution possible : augmenter le timeout (option -time)