Q: We have documents from MS Word, which are so private, that even the document name should not be part of the data stream. Example of PJL section

. . .
@PJL JOB NAME="Microsoft Word - Document1"
@PJL SET JOBNAME="Microsoft Word - Document1"
@PJL SET . . . .

We would like to delete the first 2 lines! Erase_Binary does not really work, as the document name may change from document to document

 

Solution 1: You may use the ELP key EraseAllPJL=ON. Then ELP erases automatically the complete PJL sections of the job, right at the beginning and ending. If you need the rest of the PJL statements, then you need to go for solution 2.

 

Solution 2: Only modifies those 2 lines in the PJL section of the print file. After adding those two rules to the covert.ini file, all is done.
Anyway you need to check if your driver does not repeat the full document in the "end of job" PJL command. If the driver lists again the full document name there, then you need to add this command in the first rule as well.

[Shorten the PJL JOB Names]

Search_Binary=@PJL JOB NAME=

; End the PJL command with a " and add a new trigger word.

Add_Binary="secured by stethos ELP"MyELPNewTriggerWord

; Speed up

ReadOnlySearchKeys=ON

[If MyELPNewTriggerWord is found]

; As added text is send recursively through ELP, once used above it will be found here

Search_Binary=MyELPNewTriggerWord

; Delete the trigger word

Erase_Binary=1

; The next 50 bytes will be stored and erased! As StoreNextWord keys will also erase

; if the searched word is erased

; In order to erase also multi word names, max 50 characters are deleted, but also max

; up to the next [CR-}LF Byte[s]

StoreNextWordToVariable=#oooo#;50

; ReadOnlySearchKeys=ON

Solution 3: Add after the application name another job name and move the real name into a PJL comment command, which will not be used for any job Accounting properties.

[second version]

Search_Binary=@PJL JOB NAME="Microsoft Word -

Search_Binary=@PJL SET JOBNAME="Microsoft Word -

Add_Binary=secured job by IBS"\x0A@PJL SET COMMENT="

ReadOnlySearchKeys=ON

Related articles: Rules theory, Rule assistant, Add key to rule