It seems to be not that easy to write a program with Visual Basic that could be distributed easy with the built in "Package und Deployment Kit". After a short search in the internet I decided to write the program without the need for mswinsck.ocx and now it should also run without installer.
You...
I've created an installer package to solve this, but I'm afraid that the installer will be in german language. You could try to install it:
http://home.arcor.de/Oberchefe/readpjl.zip
and for all of the others with similar problems I've written a small tool(quick and dirty) to get this data from a network printer.http://home.arcor.de/Oberchefe/readpjl.exe
Thanks for your help, the problem is solved now.
The printer was set up to "Economo Mode" (default).
Now I know a little bit more about PJL.
Sending "@PJL INFO VARIABLES" to a printer results in an answer about the supported parameters and the current default settings.
I've added @PJL SET...
>>Don't know what a PLC is.
Sorry, it's a programmable logic controller,
http://en.wikipedia.org/wiki/Programmable_logic_controller
>>A full PCL5 font selection sequence includes up to 7 >>attributes, of which stroke weight is merely one.
-Symbol Set: ISO 8859-15
-Spacing: proportional...
Thanks for your answer.
In the meantime I have added a line for the Top margin, and one for Unit of Measure, now it seems to work.
Print to file is not that easy, my code is running on a PLC.
But I'm still not happy about the print quality, the text looks grey instead of black. I have one PJL...
I try to change the left margin:
ESC & a 15 L
(without spaces in between)
but what happen is:
the Top Margin changes.
Used settings:
Paper Size = 26 (A4)
Orientation = 0 (Portrait)
Papersource = 7 (Auto)
Printer: Epson Aculaser C1900 (HP LJ4 compatible)
What is going on wrong?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.