Fellow luggers;

I have a short perl program that prints labels n-up on standard letter 
sized pages (actually Panduit Labels).

This originally printed to an HP2600 printer which has since been 
retired and replaced with a Brother HL5250DN printer.

This printer is connected via CUPS on Linux so I am not sure if cups is 
converting the output to postscript or sending pcl.  The printer 
emulation is set to pcl (but I know it can change dynamically).

I have been trying to send pcl commands from my perl program to modify 
the offsets, margins, typeface, etc with NO success.

Therefore, has anyone printed such commands before and especially to 
this printer?

My method is really simple such as:

print OFH "\x1B\&a0L";    # Set Left Margin to Zero columns

When run the esc (x1B) is being eaten but the &a0L prints as text 
indicating that the printer is NOT recognizing it as a command.

That would indicate to me that cups is sending the output as postscript 
which switches the printer to PS mode so it would not intercept the pcl 
commands.

If that is true, can anyone PLEASE provide some equiv PS commands to set 
  some of the parameters?  I've search the PS docs with no clear examples.

Thanks in advance for any assistance.

Bob
 
_______________________________________________
Boston-pm mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/boston-pm

Reply via email to