[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: PCL codes
Ganesh,
I don't know if your Ricoh printer has the same PCL language reference
like an HP printers. You may have to look at the printer's manual to
do this. Here's the PCL codes I been using to print in duplex mode.
I control which one is page one and which one is page two. However,
in your case where there might be no page two, the control might be a
little different.
Sample codes:
BEGIN-REPORT
USE-PRINTER-TYPE HP
ENCODE '<27>E<27>%0B' into $duplexon
ENCODE '<27>&l0S' into $duplexof
use-report duplex-report
PRINT $DUPLEXON () CODE or use.....
PRINT-direct nolf printer=hp $DUPLEXON !(1,1)
Place above statement when you are in the beginning
of page 1.
PRINT $DUPLEXOF () CODE or use.....
PRINT-direct nolf printer=hp $DUPLEXOF !(1,1)
Place above statement at the end of page 2. If there is no
page 2, then use this at the end of page 1.
Note: Do not combined this feature with printing a .BMP logo.
you can combined with other types except .bmp ....
Hope this helps.
elvis
>From: Ganesh Rajamani <ganesh_r@EASTPOINT.COM>
>Reply-To: sqr-users@list.iex.net
>To: SQR-USERS@list.iex.net
>Subject: PCL codes
>Date: Tue, 9 Jan 2001 08:41:07 -0500
>
>Hi all,
> I am creating 'BANK STATEMENTS' with SQR. All customer statements are
>in one big lis file. I would like to print the statements in duplex (front
>and back) on a Ricoh AP4500 printer. Does anyone know the pcl code and how
>to embed the pcl code in the SQR so that I can initialize he printer at the
>end of each statement so that customer 1 does not have customer 2's first
>page on back of his last page.
>Thanks
>Ganesh
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com