PRNSETUP
Top  Previous  Next

Use the PRNSETUP command to open the "Printer Setup" dialog box.

prnsetup

The PRNSETUP command allows you to control a Windows printer from within R:BASE. If you wish to use more than one option you will need to issue these as separate commands. If you change the printer using the 'printer name' your other print options will be reset so be sure to issue that command first.

It is worth noting that if you use a printer name that does not exist there will be no error and the current printer will not be changed.

Options

'PRINTER NAME'

Specify which printer to print to. This must match the name of the printer as it is displayed in the Windows Printer Control Panel Applet.

'PAPER SIZE'

Options:  
 
LETTER
Letter 8 12 x 11 in
LETTERSMALL
Letter Small 8 12 x 11 in
TABLOID
Tabloid 11 x 17 in
LEDGER
Ledger 17 x 11 in
LEGAL
Legal 8 12 x 14 in
STATEMENT
Statement 5 12 x 8 12 in
EXECUTIVE
Executive 7 14 x 10 12 in
A3
A3 297 x 420 mm
A4
A4 210 x 297 mm
A4SMALL
A4 Small 210 x 297 mm
A5
A5 148 x 210 mm
B4
B4 (JIS) 250 x 354
B5
B5 (JIS) 182 x 257 mm
FOLIO
Folio 8 12 x 13 in
QUARTO
Quarto 215 x 275 mm
10X14
10x14 in
11X17
11x17 in
NOTE
Note 8 12 x 11 in
ENV9
Envelope #9 3 78 x 8 78
ENV10
Envelope #10 4 18 x 9 12
ENV11
Envelope #11 4 12 x 10 38
ENV12
Envelope #12 4 \276 x 11
ENV14
Envelope #14 5 x 11 12
CSHEET
C size sheet
DSHEET
D size sheet
ESHEET
E size sheet
ENVDL
Envelope DL 110 x 220mm
ENVC3
Envelope C3 324 x 458 mm
ENVC4
Envelope C4 229 x 324 mm
ENVC5
Envelope C5 162 x 229 mm
ENVC6
Envelope C6 114 x 162 mm
ENVC65
Envelope C65 114 x 229 mm
ENVB4
Envelope B4 250 x 353 mm
ENVB5
Envelope B5 176 x 250 mm
ENVB6
Envelope B6 176 x 125 mm
ENVITALY
Envelope 110 x 230 mm
ENVMONARCH
Envelope Monarch 3.875 x 7.5 in
ENVPERSONAL
6 34 Envelope 3 58 x 6 12 in
FANFOLDUS
US Std Fanfold 14 78 x 11 in
FANFOLDSG
German Std Fanfold 8 12 x 12 in
FANFOLDLG
German Legal Fanfold 8 12 x 13 in
ISOB4
B4 (ISO) 250 x 353 mm
JPPOSTCARD
Japanese Postcard 100 x 148 mm
9X11
9 x 11 in
10X11
10 x 11 in
15X11
15 x 11 in
ENVINVITE
Envelope Invite 220 x 220 mm
LETTEREXTRA
Letter Extra 9 \275 x 12 in
LEGALEXTRA
Legal Extra 9 \275 x 15 in
TABLOIDEXTRA
Tabloid Extra 11.69 x 18 in
A4EXTRA
A4 Extra 9.27 x 12.69 in
LETTERTRANSVERSE
Letter Transverse 8 \275 x 11 in
A4TRANSVERSE
A4 Transverse 210 x 297 mm
LETTEREXTRATRANSVERSE
Letter Extra Transverse 9\275
APLUS
SuperASuperAA4 227 x 356 mm
BPLUS
SuperBSuperBA3 305 x 487 mm
LETTER_PLUS
Letter Plus 8.5 x 12.69 in
A4PLUS
A4 Plus 210 x 330 mm
A5TRANSVERSE
A5 Transverse 148 x 210 mm
B5TRANSVERSE
B5 (JIS) Transverse 182 x 257 mm
A3EXTRA
A3 Extra 322 x 445 mm
A5EXTRA
A5 Extra 174 x 235 mm
B5EXTRA
B5 (ISO) Extra 201 x 276 mm
A2
A2 420 x 594 mm
A3TRANSVERSE
A3 Transverse 297 x 420 mm
A3EXTRATRANSVERSE
A3 Extra Transverse 322 x 445 mm
 

'PAPER SOURCE'
Specifies the paper source.

Options:  
 
·UPPER  
·LOWER  
·MIDDLE  
·MANUAL  
·ENVELOPE  
·ENVMANUAL  
·AUTO  
·TRACTOR  
·SMALLFMT  
·LARGEFMT  
·LARGECAPACITY  
·CASSETTE  

LANDSCAPE
Specifies to the landscape for the type of the report you want to print.

PORTRAIT
Specifies to the portrait for the type of the report you want to print.

COPY n

Specifies the number of copies to print.

COLLATE value
Specifies whether collation should be used when printing multiple copies. This parameter can be one of the following values:

·ON - Collate when printing multiple copies.  
·OFF - Do not collate when printing multiple copies.  

COLOR value
Switches between color and monochrome on color printers. Following are the possible values:

·ON  
·OFF  

DUPLEX
Select duplex or double_sided printing for printers capable of duplex printing. Following are the possible:

·SIMPLEX - Normal(nonduplex) printing  
·HORIZONTAL - Short_edge binding, that is, the long edge of the page is horizontal.  
·VERTICAL - Short_edge binding, that is, the long edge of the page is vertical.  

QUALITY
Specifies the printer resolution. There are four values:

·HIGH  
·MEDIUM  
·LOW  
·DRAFT  

FONTS
Read Fonts to get a list of the fonts supported by the printer.

PRINTERS
Lists all printers installed in Windows.

TRAYS
Retrieves a list of the names of the paper bins.

PAPERNAMES
Retrieves a list of supported paper names (for example, Letter or Legal).

INFO
Retrieves a list of current printer settings like:

·Current Printer :  
·Paper Orientation :  
·Paper Size :  
·Paper Source :  
·Print Quality (DPI) :  
·Copies :  
·Color Mode :  
·Duplex Mode :  
·Collation :  

Note: Only use options specific to your printer.


OPTION

TOP - will move the print dialog location in pixels from the top of the screen down

LEFT - will move the print dialog location in pixels from the left of the screen down

THEMENAME
Will dynamically provide over thirty pre-defined themes
 
Values:  
 
·Deep Cyan  
·Deep Green  
·Deep Orange  
·Diamond Blue  
·Diamond Green  
·Funny Theme  
·Gnome  
·Green Glass  
·Longhorn  
·Mac OS  
·Matrix  
·Media  
·One Blue  
·One Clear Blue  
·One Cyan  
·One Green  
·One Orange  
·Orange Glass  
·R:BASE Rocks!  
·Razzmatazz  
·Real One  
·Sports Black  
·Sports Blue  
·Sports Cyan  
·Sports Green  
·Sports Orange  
·Steel Black  
·Steel Blue  
·Win Native  
·XP Blue  
·XP Egypt  
·XP Green  
·XP Grey Scale  
·XP Orange  
·XP Silver