Operating System - HP-UX
1824219 Members
4544 Online
109669 Solutions
New Discussion юеВ

Printing on Legal size paper

 
SOLVED
Go to solution
Olga_1
Regular Advisor

Printing on Legal size paper

I am try ing to print from Acroread from HP to a network printer. The document has first page 8,5x14 and all the rest 14x8.5.
Printer would print all the pages on letter size.

If the same document is sent from Windows to the same printer it prints corecctly: first page - letter size all the rest - legal.

Any idea?
5 REPLIES 5
Bill Hassell
Honored Contributor

Re: Printing on Legal size paper

Unlike Windows where a complete metadata subsystem exists for printing, Unix has nothing similar. The Unix application must know exactly what type of printer is being used (not just PCL or Postscript) and then generate the codes appropriate for the target printer. In Windows, no codes are ever generated. Instead, a series of metadata elements are sent to the driver and the driver decides how best to implement the codes.

For HP-UX, you can control the paper size of the first page with lp options, but this can be overridden by the job itself. Unix doesn't understand anything inside the print job.

Perhaps Acroread has been updated. Normally, Acroread outputs Postscript and this page formatting language is fairly portable among different printers.


Bill Hassell, sysadmin
Olga_1
Regular Advisor

Re: Printing on Legal size paper

Thank you very much for the reply. But can xomeone give me a hint where to start troubleshooting? Thank you.
Rita C Workman
Honored Contributor

Re: Printing on Legal size paper

Not sure, but hope this is what your needing:

If you want to print legal:
lp -d -olegal

If you want legal/landscape:
lp -d -olegal -olandscape

If you want legal/landscape/compressed:

lp -d -olegal -olandscape -oc

Now as Mr. Hassell mentioned..UNIX doesn't treat things the same as Windows. So what I have stated above will print every page as legal.

Rgrds,
Rita
Olga_1
Regular Advisor

Re: Printing on Legal size paper

Thank you Rita, but even
lp -d -olegal
does not print it legal.
Is there any way to force legal size?

Thnak you.
Rita C Workman
Honored Contributor
Solution

Re: Printing on Legal size paper

You may to need to check that legal is an option the printer has defined. You don't mention the printer type. So I might wonder how you set it up on UNIX.
Myself I tend to set up my network printers using 'jetadmin', and when in doubt I set the printer as laserjet4, that way I get enough of the printer options folks around here want.
You might want to check your printer options:
/etc/lp/interface/model.orig/

Just a thought,
Rita