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>primetga</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PrimeTGA

Print a Targa image file on a Fargo Primera color thermal printer


Syntax

PRIMETGA [<switches>] <cFILENAME.TGA> <nLeft> <nTOP> 
   <nNewWidth> <nNewHeight>


Switch

/f
Do not send a form feed after print.

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

/h<n>
Set heat setting to <n> (1 to 96). Default is 25.

/metric
Set print area in millimeters. Default is in inches.

/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.TGA>
The Targa image to print.

<nLeft>
The left offset into page in inches (default is 0.0).

<nTop>
The top offset into page in inches (default is 0.0).

<nNewWidth>
The new width in inches (default is 8.0).

<nNewHeight>
The new height in inches (default is 6.0).


DOS Error Messages

<nLeft> + <nNewWidth> should be less than 8.5" 
<nTop> + <nNewHeight> should be less than 11.5"
Unknown switch: /<switch>


DOS Error Levels

0
Success.

1
Cannot open <cFILENAME.TGA>.

2
Cannot allocate enough memory for line buffers.

3
<cFILENAME.TGA> is not a valid Targa file.

4
Print terminated by user.

5
Printer does not acknowledge.

6
Printer is out of paper.

7
Printer time out error.


Remarks

Print a 8-, 16-, 24-, or 32-bit compressed or uncompressed Targa image 
file on a Fargo Primera thermal color printer (76000/76001). The image 
will be quantized on your computer in about 3 - 5 minutes, with a typical 
total print time of about 9 minutes. By printing to a file, SendBIN (part 
of Sunshow, standard edition) can also be used to print the PRN file on the 
Primera. By quantizing the image to a file, actual print time using SendBIN 
will be much faster. The Fargo Primera requires RGB temp files for 
quantizing, thus sufficient hard disk space is required.

Includes special /FAST method providing similar speed as SendBIN. /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 PrimeTGA requires 
use of network print services. Alternative, non-networked method: print to 
diskfile with /file switch, then use SendBIN for fastest print speed.

Maximum Printable Image Sizes

Size      Maximum Color    Maximum Monochrome
A-Size    8.5" x 9.3"      8.5" x 9.8"
A-Long    8.5" x 11.0"     8.5" x 11.5"
A4        210mm x 254mm    210mm x 266mm
A4-Long   210mm x 292mm    210mm x 297mm

For tips about using Primera printers, see the section "Primera 
Printer Tips" under PrimeGIF.


Example

To print a 6.0" x 4.5" Targa image, HOME.TGA with a 1" left margin and a 
2" top margin at 200DPI:

PRIMETGA /FAST /B60 HOME.TGA 1 2 6 4.5



See Also: PrimePCX PrimeGIF PrimeSCR PrimeTIF

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