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

Print a ZSoft PCX image file on a Postscript black and white or color printer


Syntax

POSTPCX [<switches>] <cFILENAME.PCX> [<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.PCX>
The PCX 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 newwidth in inches (or millimeters).

<nNewHeight>
The optional newheight 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.PCX>.

2
Can not allocate enough memory for line buffers.

3
<cFILENAME.PCX> is not a PCX file.

4
Print terminated by user.

5
Printer does not acknowledge.

6
Printer is out of paper.

7
Printer time out error.


Remarks

PostPCX prints a PCX 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. 
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 
PostPCX 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 ASMUSSEN.PCX (an image that has been rotated 90 degrees) in 
landscape mode, at the upper, left corner of the page 6" wide and 8" high, 
as a Postscript file, in color, to LPT1, with a brightness change to 30

POSTPCX /C /B30 /L ASMUSSEN.PCX 0 0 6 8



See Also: PostGIF PostSCR PostTGA PostTIF

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