HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] How/Where do you control the setup of a printer for the printing of faxes?



Hi,

At 01:11 PM 8/4/00 -0400, DeWitt, Michael wrote:
>I have for the first time been trying to setup Hylafax under linux for
>in-bound faxes and have run into some difficulty at trying to determine the
>best way to setup the printer so that the faxes print correctly.
>
>I am using a Laserjet 5simx and would like the fax print job to be formatted
>and declared for the correct paper size and to go to a alternate output bin
>as default behavior.  Unix printing is new to me and I can't seem to find
>much help on the best place to introduce the control sequences to ensure the
>job goes in correctly.
>
>A weirdness that i am running into is that fax jobs sent to 5simx (4 paper
>trays)  will print 11X17 paper by default and not letter nor legal.  If I
>pop all of the trays except for letter, the fax prints on letter just fine.
>I have confirmed that the Tiff thinks its a north american letter.
>
>I know that Solaris and Hp-UX are blessed with Jet admin which addresses
>most of this issue and I have their shell scripts (HP calls them
>modelscripts) for my printer for doing the setup, but its not documented and
>unclear as to the best way to use the script to do the setup under Linux.

I am really surprised jetadmin does not work with linux - did you double 
check with HP?

Anyway the laserjet 5si is a level2 postscript printer if you convert your 
tiff file to postscript to print then you will need to insert into the file 
something like:

statusdict begin
{ 0 | 1 | 3 } setpapertray  % either 0, 1, 3 for tray or 
'com10envelopetray' for envelopes
{ 0 | 1 } setoutputtray % choose output tray
{ a3ttray | a4tray | lettertray | legaltray | 11x17tray | ...plus 10 more 
options...} % paper size
{ true | false} setduplexmode % duplexing
{ true | false } settumble % which way to turn the paper when duplexing
end

90 rotate % if you want to print landscape(might also need scale operator)

- Robert



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null




Project hosted by iFAX Solutions