How can I manage with ELP, that a certain page is NOT printed

A1) The first page of every job has not to be printed:

the easiest way to do it, using just the BASIC ELP module, is the modification of the PJL command. However some printer manufacture may not interpret this command correctly

[Tell the device to not print the first page]

; Job needs to be encapsulated with PJL commands and @PJL JOB NAME must be defined in the stream

; Search for the @PJL JOB NAME command

Search_Binary=@PJL JOB NAME

; Now add the command to print one page less

Add_Binary="="#PRINTDOCNAME#" START=2\x0D\x0A@PJL COMMENT "

; Stop searching as this can only be found once in the stream

Search_Only_Once=ON

 


A2) The last page of every job has not to be printed:

Use more or less the same procedure as above

[Global]

PreParsing=ON

 

[Tell the device to print one page less]

Search_Binary=@PJL JOB NAME

; Reduce the calculated page count by one or any other value

Counter=#PREPARSEPAGECOUNT#;-1

; Now add the command to print at the end one page less

Add_Binary="="#PRINTDOCNAME#" START=1 END=#PREPARSEPAGECOUNT#\x0D\x0A@PJL COMMENT "

Search_Only_Once=ON

 

Note: You can generate any time copies using the ELP command ELP_COMMAND=K2; The last page or first page will never be printed.


A3) Print 2 copies, and remove only from the first copy the last page:

Use more or less the same procedure as above

[Global]

PreParsing=ON

 

[Tell the device to print one page less]

; Change from search to OutSearch

OutSearch_Binary=@PJL JOB NAME

Counter=#PREPARSEPAGECOUNT#;-1

; Now add the command to print one page less

Add_Binary="="#PRINTDOCNAME#" START=1 END=#PREPARSEPAGECOUNT#\x0D\x0A@PJL COMMENT "

; Stop searching as this can only be found once in the stream

Search_Only_Once=ON

 


A4) Print 2 copies, and remove only from the second copy the last page
:

Use more or less the same procedure as above

[Global]

PreParsing=ON

 

[Ignore first copy]

; outSearch a statement which is behind the @PJL JOB NAME, so the first copy is ignored

OutSearch_Binary=@PJL ENTER LANGUAGE

Counter=#PREPARSEPAGECOUNT#;-1

; Now switch to a second ini configuration file

inifile=#ELP_FORMS_PATH#out.ini


Generate in the Workpath folder (default: c:\ProgramData\Welp) a new ini-file called out.ini with this content:

[Tell the device on the second copy not to print the last page]

OutSearch_Binary=@PJL JOB NAME

Add_Binary="="#PRINTDOCNAME#" START=1 END=#PREPARSEPAGECOUNT#\x0D\x0A@PJL COMMENT "

; if more then 2 copies are printed and the page should miss only on the second copy then

Search_Only_Once=ON

 



A5) Remove on any copy any page
:

This can be done using an ELP_Command. This command will print at the end of the selected page a white bar over the complete page and removes the form feed.

Note for the last page: This method wil also wipe out the content of the last page, but the device will print this empty last page. This is why for the last pages use one of the methods above

[Global]

; Remove on the first copy the first page and on the second copy the second page. Note again, minimum three pages should be printed.

ELP_Command=K2;C1:1N;C2:2N;