
16625
A-1
Appendix A
Programming Guide
The printer supports the PJL Printer Job Language and PCL5 Printer
Language.
All the printer´s unique features and functions can be controlled by the
application software via PJL or PCL5 commands.
Among those functions are the following:
S
Job Control Support using profiles
see paragraph A-1.1
S
Support of various paper sizes
see paragraph A-1.2
S
Paper path control
see paragraph A-1.3
S
Support of semigraphics for application under SAP/R3 see paragraph A-1.4
S
Euro symbol support for a restricted number of code pages
and type faces
see paragraph A-1.5
S
Support of Logical and Physical Pages
see paragraph A-1.6
S
Support of Job Separation
see paragraph A-1.7
S
Printer set up configuration via PJL commands
see chapter A-2
S
Printer set up configuration via PCL5 commands
see chapter A-3
S
Support of 13 resident bar codes by special PCL5 commands
see chapter A-5
Note:
For more information regarding PJL and PCL5 programming please
refer to the
S
PJL Printer Job Language (5961-0704)
S
PCL5 Printer Language Technical Reference Manual (5961-0509)
published by Hewlett-Packard
®
Company.
Appendix A Programming Guide
A-2
A-1
Support of Printer Specific Features and Functions
The Fanfold Laser Printer provides programming support of Printer Specific
Features and Functions. These Functions are implemented with special Printer
Job Language commands. The following hints show in combination with
application examples how to use and program these functions:
A-1.1 Profiles
The printer can store up to 10 (PP 4050) or up to 50 (PP 4050XP/4650)
separate printer configuration settings called Profiles. One profile should be
used for one specific application. This application may require a special setting
for the paper format, the paper path, fuser temperature, etc.
In an system environment where the application can not use a driver to select
the application specific parameters a profile can be selected by means of a
specific PJL command which has to be sent to the printer before sending the
print data.
Example:
ESC%-12345X@PJL DEFAULT PROFILE = 5
ESC%-12345X
A-1.2 Paper Size Select
The printer supports paper format A4, Letter and CUSTOM.
With paper format CUSTOM the page size can be set by PJL commands.
These PJL commands have to be sent to the printer before sending the print
data.
In the following example (with PJL SET) the paper format selection is only valid
for one PCL application file. After a power off or PJL reset the USER DEFAULT
environment variables are valid:
ESC%-12345X@PJL SET PAPER = CUSTOM
@PJL SET PAGELENGTH = 11 1/3
@PJL SET IMAGEWIDTH = 7.15
@PJL ENTER LANGUAGE = PCL
ESCE......PCL application file.....ESCE