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

Print a screen image on a Postscript black and white or color printer


Syntax

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

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

2
Can not 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

PostSCR prints a screen image displayed in graphic mode on the video 
monitor to a Postscript black and white or color printer. It supports all 
displayable video modes including SVGA. It expects the video card is set 
to a graphic mode with an image displayed as required for printing purposes 
prior to calling the PostSCR graphic mode, screen print function.

The bit-mapped image will be quantized on your computer in about 3 - 5 
minutes, with a total print time dependent upon your printer. Optional 
disabling of formfeed, changing brightness, port, or file. Has the 
capability of printing enormous 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 PostSCR 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 the current graphic screen, at the upper, left corner of the page 
4" wide and 3.2" high, as a Postscript file, in color, to LPT1, in portrait 
mode:

CALL SHOWGIF WITH 'IMAGE.GIF' 
RUN POSTSCR /C 0 0 4 3.2 
CALL TEXTMODE



See Also: PostGIF PostTIF PostPCX PostTGA

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