| >Does anyone know what code to use to compress
| >printing for a DOS program to an HP 990cxi printer?
==========================================
Janet,
Here's an example of how you can use the printer codes to print in landscape
mode:
SET VAR vLAND=(CHAR(27)+CHAR(38)+CHAR(108)+CHAR(49)+CHAR(79))
OUTPUT PRINTER
WRITE .vLAND
SELECT ....
or
WRITE '.................'
or
PRINT MyReport
OUTPUT SCREEN
Of course if you are just working with an R:BASE report, you can modify the
PRD file, such as HPLASER1.PRD. The codes would then be available under
Print Settings in the Report Designer and you could insert them into the
report wherever you wanted them.
---------------------------------------------------------------------------
Eric M. Bienstock, Ph.D.
Database Development, etc.
Authorized R:BASE Developer
Eric M. Bienstock & Associates, Inc.
day: 212-978-7948 eve: 973-763-8650(8)
FAX: 209-882-9250 [EMAIL PROTECTED]
http://members.home.net/ericmb/Ericmb.htm
---------------------------------------------------------------------------
----- Original Message -----
From: "A. Razzak Memon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 14, 2001 2:23 PM
Subject: Re: DOS print command - Razzak's Reply
|
| At 10:56 AM 12/14/2001 -0800, Janet Thomas wrote:
|
| >Does anyone know what code to use to compress
| >printing for a DOS program to an HP 990cxi printer?
|
|
| Janet,
|
| Try the following combinations:
|
| HP Deskjet/Inkjet Printers:
| --------------------------
|
| Compressed ON:
| <27 40 115 49 54 46 54 54 72>
|
| Compressed OFF:
| <27 40 115 49 48 72>
|
| HP Laserjet Printers:
| --------------------
|
| Compressed ON:
|
| <27 40 115 49 54 46 54 54 72>
|
| Condensed OFF:
|
| <27 40 115 49 48 72>
|
| You may also want to refer to your printer Reference
| Guide for very specific escape sequence codes.
|
| Have Fun!
|
| Very Best Regards,
|
| Razzak.
|
| ===================================-================================
| R:BASE Developers's Conference: http://www.rbase.com/conference
| Official R:BASE List Server: mailto:[EMAIL PROTECTED]
| RBTI Events/Training: http://www.rbase2000.com/events
| R:DCC Members: http://www.rbase2000.com/rdcc
| ====================================================================
| R:BASE, Oterro, R:Tango & R:Merge are registered trademarks of RBTI.
| ==================================-=================================
|
| ================================================
| TO SEE MESSAGE POSTING GUIDELINES:
| Send a plain text email to [EMAIL PROTECTED]
| In the message body, put just two words: INTRO rbase-l
| ================================================
| TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
| In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l