Mappagifs

Différence entre versions

De MappingDoc
(Ajout de liens vers des commandes aux concepts proches)
 
Ligne 28 : Ligne 28 :
 
<br />
 
<br />
  
==== Commande apparentées ====
+
====Commande apparentées====
[[OPALE:10.0:Utilisation: Gérer les fichiers spools: MAPSPLF|MAPSPLF]]
+
[[OPALE:10.0:Utilisation: Gérer les fichiers spools: MAPSPLF|MAPSPLF]], [[RESTOREPAG]]

Version actuelle datée du 16 juin 2023 à 08:41

mappagifs

Send file to PC command.

[ -infile:XXXX    ]  Input file
[ -outfile:XXXX   ]  Output file
[ -overflow:XXXX  ]  Max number of lines per page
[ -startpg:XXXX   ]  Start page
[ -stoppg:XXXX    ]  End page
[ -lengthrec:XXXX ]  Max page width
[ -removepjl      ]  Remove PJL tags
[ -ucs2           ]  Convert into Unicode
[ -codepage:XXXX  ]  Original infile codepage (default: 1148)
[ -tocodepage:XXX ]  Output file codepage (defaut: 1252)
[ -isPCL          ]  With -ucs2 and/or -codepage, parse PCL code first.
[ -isAFPDS        ]  With -ucs2 and/or -codepage, parse AFDPS code first.
[ -isSCS          ]  Allows you to also parse SCS code (iSeries)
[ -dbcssize2      ]  Keeps SO/SI delimiters (for DBCS Spoool files only)

Convert AFPDS to TEXT:

if working in non-unicode (with UNICODE=OFF in mapping.conf)

mappagifs -infile:/tmp/t.afp -outfile:/tmp/t.pag -isAFPDS -overflow:66 -lengthrec:132 -codepage:1148 -tocodepage:1252 -ucs2

if working in unicode (with UNICODE=ON in mapping.conf)

mappagifsU -infile:/tmp/t.afp -outfile:/tmp/t.pag -isAFPDS -overflow:66 -lengthrec:132 -codepage:1148 

Convert SCS to TEXT:

mappagifs -infile:/tmp/t.scs -outfile:/tmp/t.pag -isSCS -overflow:66 -lengthrec:132 -codepage:424 -tocodepage:1252 -ucs2


Commande apparentées

MAPSPLF, RESTOREPAG