Download presentation
Presentation is loading. Please wait.
1
Converting a Print File
Converting a PCL print file to a PCL printer macro
2
Remove Reset Commands %-12345X@PJL COMMENT HP LaserJet 5L
@PJL SET PAGEPROTECT=OFF @PJL SET PAGEPROTECT=AUTO @PJL SET RET=ON @PJL SET ECONOMODE=OFF @PJL SET RESOLUTION=300 @PJL ENTER LANGUAGE=PCL E*t300R&u600D*r3F&l0O&l1H&l2a8c1E*p0x0Y*c0t5760x7680Y&l1X*b0M
3
Meaning of Raster Set-ups
*t300R - Dots per inch &u600D - Number of PCL units per inch *r3F - Raster graphic orientation &l0O - Page orientation (delete) &l1H - Paper source (delete) &l2a8c1E - Page size,vertical motion,top margin *p0x0Y - Sets pen to upper left corner *c0t5760x7680Y Set picture frame anchor point and horizontal and vertical sizes &l1X - Number of copies (delete) *b0M - Set compression method
4
Remove File End Commands
*p864Y - Vertical cursor position (delete) *p600X - Horizontal cursor position (delete) E%-12345X Reset printer (delete)
5
Add Macro Commands Beginning of file End of file
&f123Y - Specify Macro Number “123” &f0X - Start Macro definition Can be combined into &f123y0X End of file &f1X - End Macro definition &f10X - Make Macro permanent
6
Invoke Macro in Your Code
Print #printfile: esc$&”&f123y3X Calls and executes once Macro 123 Print #printfile:esc$&”&f123y4X Calls Macro 123 for continuous overlay Print #printfile:esc$&”&f123y5X Stop automatic overlay Print #printfile:esc$&”&f6X Delete all macros
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.