Operating System - HP-UX
1834499 Members
2478 Online
110068 Solutions
New Discussion

Unix print job 1/8" too high

 
Gerald Ugrina
Occasional Contributor

Unix print job 1/8" too high

I have a HP server on Unix, when i send a print job on my HP LJ 5 it prints 1/8" too high on a preprinted form of ours.
2 REPLIES 2
A. Clay Stephenson
Acclaimed Contributor

Re: Unix print job 1/8" too high

Hi:

Depending upon the interface file you are using, the options vary but it is very typically something like lp -dmyprinter -o tmNN. Cd to /var/spool/interface. Edit myprinter (or whatever your printer is and look for the argument). The interface file might also be found in the model.orig directory just below.
If it ain't broke, I can fix that.
Bill Hassell
Honored Contributor

Re: Unix print job 1/8" too high

Forms management is always difficult when you try to use different printers. The application controls physical location within the bounds of the printable area defined by the printer itself. Different LaserJet models have different printable areas so if the application specifies a starting point of rhte upper left corner, preprinted forms will have to accomodate variations in position by looser tolerances (bigger boxes), or the entire form redesigned such that the upper left corent is well inside the lowest common denominator of printers that you will use.

In other words, take all the models you are using, find the printable area specs for each one, and see which one requires the largest margins, then write the application to directly address that location for all printers. There will likely be printer-dependent code involved.


Bill Hassell, sysadmin