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

Print a screen image on a Fargo Primera color thermal printer


Syntax

RUN PRIMESCR [<switches>] <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

<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.

2
Cannot allocate enough memory for line buffers.

4
Print terminated by user.

5
Printer does not acknowledge.

6
Printer is out of paper.

7
Printer time out error.


Remarks

Print a screen image file on a Fargo Primera thermal color printer 
(76000/76001). PrimeSCR should be run when the image is displayed. It 
expects that the video card is currently in a graphic mode and an image 
is being displayed before the call is made. You must use TextMode (part 
of Sunshow, standard edition) to reset video card back to text mode.

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 PrimeSCR 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

The following example will print a graphic-mode screen image at 200DPI at 
the upper left corner of the page at 4.0" x 3.2":

CALL SHOWGIF WITH 'ASMUSSEN.GIF' 
RUN PRIMESCR 0 0 4 3.2  
CALL TEXTMODE



See Also: PrimePCX PrimeGIF PrimeTGA PrimeTIF

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