Operating System - HP-UX
1821062 Members
2682 Online
109631 Solutions
New Discussion юеВ

printing Postscript-file on A3-paper

 
SOLVED
Go to solution
MARREEL Chris_1
Regular Advisor

printing Postscript-file on A3-paper

We have an HP Laserjet 5000 (with Postscript interpreter) connected with Jetdirect-card to the network. The Laserjet5000 has A4 and A3 paper loaded.
using the -oA3 or -oA4 I can select on which paper my (e.g. text) document is printed. This works fine, so my conclusion is the printer and the model-script is correctly defined.

BUT when I print a POSTSCRIPT-file I can NEVER succeed in printing it on A3-paper, it allways switches back to A4-paper.
I have already done a lot of investigation on this (searched in the forums) but the only I learned is that printing a postscript-file means (internaly in the model-script) printing in RAW-mode.
I understand this is the reason why my A3-paper isn't selected.

Is there a way around ?
Are there model-scripts that allow the paper-format being selected ?

thanks for sharing your knowledge,
Chris MARREEL
7 REPLIES 7
Steve Steel
Honored Contributor

Re: printing Postscript-file on A3-paper

Hi


The Postscript file is probably defining A4
and overriding the selection.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
MARREEL Chris_1
Regular Advisor

Re: printing Postscript-file on A3-paper

Steve,

How can you recognize the selection of A4-paper in the postscript-file ?
If I can find this, maybe I can replace it of eliminate it...

Greetings,
Chris MARREEL
Steve Steel
Honored Contributor

Re: printing Postscript-file on A3-paper

Hi



try

http://www.ucs.ed.ac.uk/usd/scisup/faq/postscript.html



Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
MARREEL Chris_1
Regular Advisor

Re: printing Postscript-file on A3-paper

Thanks for the URL about the postscript-language, but in the postscriptfile I'm using for this testing I cannot find the papersize-definition.
I'm pretty sure that the papersize isn't included in the postscript-file because it is an examplefile who is included in the ghostscript-depot, so this is rather 'independant'.

Any other sugestions ?
Steve Steel
Honored Contributor
Solution

Re: printing Postscript-file on A3-paper

Hi


If the paper is not defined I would advise to try another file.

lp -dbelgo046 -ops -oA3 dtksh.examples/DtKsh.ps


Works for my file perfectly.


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
MARREEL Chris_1
Regular Advisor

Re: printing Postscript-file on A3-paper

Hello Steve,

Can you post your postscript-file in attachment because I cannot find it on our system, and I would love to test with your environment.

Can you post your model-script of that printer (file from /usr/spool/lp/interface and from /usr/spool/lp/interface/model.orig ).

I can then have a look at your configuration and investigate the difference with our environment.

Thanks in advance,
Greetings,
Chris MARREEL
MARREEL Chris_1
Regular Advisor

Re: printing Postscript-file on A3-paper

I have found all the information (and a solution).

There are newer model-scripts present at http://www.hp.com/pond/modelscripts/
I have used net_ljcolor and net_ljx000 witch are indeed a lot better and support printing postscript on A3 and A4-paper depeding on the lp-argument.

Thanks Steve for putting me in the right direction.

Greetings,
Chris MARREEL