Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Sunshow Pro V3.0 - <b>posttif</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PostTIF

Print a TIFF 4.2/5.0 image file on a Postscript black and white or color 
printer


Syntax

POSTTIF [<switches>] <cFILENAME.TIF> [<nLeft> <nTop> 
   <nNewWidth> <nNewHeight>]


Switch

/f
Do not send a form feed after print.

/c
Print in color. Default is monochrome.

/l
Print in landscape mode.

/b<n>
Set brightness change to <n>. Range is-255 (dark) to 255 (light). 
Default is 10.

/letter
Set page size to 8.5" x 11" (default).

/legal
Set page size to 8.5" x 14".

/ledger
Set page size to 11" x 17".

/postcard
Set page size to 100mm x 148mm.

/jisA4
Set page size to 210mm x 297mm.

/jisA4long
Set page size to 210mm x 347mm.

/jisB4
Set page size to 257mm x 364mm.

/jisA3
Set page size to 297mm x 420mm.

/fast
Set fast data transfer mode (LPT ports only).

/com<n>
Send output to com <n>.

/lpt<n>
Send output to lpt <n> (default is lpt1).

/prn
Send output to standard print.

/file:<FILE>
Send output to <FILE>.


Arguments

<cFILENAME.TIF>
The TIFF file to print.

<nLeft>
The optional left offset into page in inches (or millimeters).

<nTop>
The optional top offset into page in inches (or millimeters).

<nNewWidth>
The optional new width in inches (or millimeters).

<nNewHeight>
The optional new height in inches (or millimeters).


DOS Error Messages

<nLeft> + <nNewWidth> should be less than 11.0 
<nTop> + <nNewHeight> should be less than 17.0
unknown switch: /<switch>


DOS Error Levels

0
Success.

1
Can not open <cFILENAME.TIF>.

2
Can not allocate enough memory for line buffers.

3
<cFILENAME.TIF> is not a valid TIFF file.

4
Print terminated by user.

5
Printer does not acknowledge.

6
Printer is out of paper.

7
Printer time out error.

9
LSEEK error: file is truncated.

10
This TIFF file type is not supported.

11
Image Width tag is missing.

12
Image Height tag is missing.


Remarks

This prints a TIFF 4.2/5.0 image file on a Postscript black and white or 
color printer. The bit-mapped image will be quantized on your computer in 
about 3 - 5 minutes, with a total print time dependent upon your printer.

Has the capability of printing images larger than screen sizes to 
32,767 x 32,767 pixels (with sufficient hard disk storage space and printer 
memory). These values far exceed current mechanical capabilities.

Supports multiple images, US/European standard paper sizes. Includes 
special /FAST method providing similar speed as SendBIN (part of Sunshow, 
standard edition). /FAST parameter writes directly to printer ports, 
supports LPT ports only; does not support COM ports, PRN, FILE, and is not 
network redirectable, therefore cannot be used with network. Network use of 
PostTIF requires use of network print services.

Alternative, non-networked method: Print to disk file with /file: switch, 
then use SendBIN for fastest print speed.

For tips about Postscript printers the the section called "Postscript 
Printer Tips" under PostGIF.


Example

To print SLOOP.TIF, at the upper, left corner of the page 8" wide and 6" 
high, as a Postscript file, in black and white, to LPT1, with a brightness 
change to 20:

POSTTIF /B2 SLOOP.TIF 0 0 8 6



See Also: PostGIF PostSCR PostPCX PostTGA

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson