I think I'm starting to get it...at last !! Just want a check if I'm right.
I open a brand new Document in Word. The first thing I do is insert the PRINT field code {PRINT 27"&l2X"}, followed by something like «Is there 2 copies ???». Now, if I print that document to a file via the «Print...» menu and read that file with Notepad, I see about 12-13 lines of PJL which I supposed are put there by the printer driver. Commands range from STRINGCODESET=UTF8 to DUPLEX=OFF, etc. They correspond to the various choices I can make in the print pop-up window.
The last of these line reads :
) HP-PCL XL;3;0;Comment Copyright(c) 1999 Microsoft Corporation
After that, the rest is unreadable but I can see the command that was put somewhere by the PRINT field code (which is PCL). As you said, PCL will never be rendered inside a PCLXL stream. Questions :
1- Is my interpretation is plausible ??
2- As I see, PCLXL is somewhat precompiled or pre-crunched by something. Is there any PCLXL command set out there that I would be able to «feed» the PRINT code field with (I'm not too confident about this one !!)
3- You suggested to use a PCL5 driver for the printer, I assume that this driver will permit me to use the «old» PCL Escape sequences in the PRINT code field.
4 Last, is there a program of some kind that exist that will allow me to «compile» that PCLXL and kind of «paste it» in that PRINT code field in Word.
Once again, thanks a lot and forgive my english (I'm a french speaking person).