I am having trouble with PCL printer programming and hope this isn't too specialized a topic. We have - invoices, statements, purchase orders etc etc all continuous stationery for a multi company business and it is all getting out of control so -
I have been trying to get our lasetjet 2100 printers (we have about 10) to print "pre-printed" stationery with an "overlay macro" in PCL5 but cannot get the following data to print less the one and a half inches down the landscape form. I can print the invoice on the laser perfectly and it starts printing right up the top of the A4 sheet as expected - beautifull! I send an "overlay macro" and the invoices data prints about an inch and a half down the form. I have tried to position the cursor in PCL before the macro, after the macro and both before AND after the macro without success. I have tried the positioning in the HP/GL2 segment and using the exit Ec%1A and all sorts of combinations but cannot cause the invoice data to print any higher than 1.6 inches down the page. I have included the "macro" below. That little boxes are "escape's".
9 reset margins
&f1Y define macro 1
&f0X start macro definition
%0B enter HP/GL2
SP1; select pen
the following coding draws boxes and lines
PA0,7300; position cursor
%1A exit HP/GL2 with cursor positioning
&f1X stop macro definition
&f4X enable overlay
&f10X make macro permanent
If I send the invoice without the overlay it prints as expected. If I send the above overlay first it prints too low.
I tried just print the word "INSERT". Without the overlay it prints right on top. With the overlay it prints 1.6 inches down the page.
I've tried ALL sorts of combinations, this is the last I tried.