Razz,
    That is a cool feature, I will try it.  I have different types of receipts 
to print some which I want to open the cash drawer and some to not open the 
drawer.  I have been setting the feature in the printer controls, but by doing 
that you can only set the drawer to open always or not at all.  When locating 
the PCC, is the placement on the receipt, when the signal is sent.  eg  placing 
it at bottom will open after the receipt is printed, top will open when receipt 
starts.
Tom Hart




________________________________
From: A. Razzak Memon <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Thursday, February 26, 2009 10:44:09 AM
Subject: [RBASE-L] - Re: DataMax label printer

At 10:56 AM 2/26/2009, [email protected] wrote:

>I can't remember if windows is capable of sending control codes
>to printers...

Did you know that R:BASE 7.6 Update 3 (Build:7.6.3.30516), and
R:BASE Turbo V-8 Update 17 (Build: 8.0.17.30516), released on
May 16, 2008, includes a cool feature to send printer/hardware
specific control codes, using PCC Label object in Report or
Label designer?

A new PCC Label Control has been added to the Advanced Controls
in Label and Reports to support printer/hardware specific control
codes.

The PCC (Printer Control Code) Label control will send any Printer
or POS Cash Drawer code to control the features of your printer or
any other device that accepts application codes.

The PCC Label supports the following values to be entered into the
"Edit Toolbar", which displays the "Set Value" hint when a PCC Label
is selected:

• ABORTDOC - stops the current print job and erases everything the
  application has written to the device since the last ENDDOC

• NEWFRAME - informs the printer that the application has finished
  writing to a page

• ENDDOC - ends a print job

• Escape Sequence: "nn nn nn ... nn", Example: 27 13 12 56

Another example of using a control code is if you must instruct
your printer to open your cash drawer. In this case, you will need
to enter the following code in the "Set Value" field in order to
open the cash drawer before printing the receipt in an R:BASE POS
system: 27 112 0 50 250

Note:

The PCC Label control is specifically used for controlling "hardware"
connected to the computer. It is not to be used to control the text
font, size, and/or style for a report control, as was supported in
legacy DOS versions of R:BASE. If you need to edit the a text font,
size, and/or style, you must use the "Format Toolbar". To alter the
a text font, size, and/or style on the fly, you must use the PROPERTY
command with a Report Custom EEP.

All hardware PCC codes, when placed while in the Label or Report
Designer, are only enforced when printing the label or report to
a printer using the OPTION PRINTER command.

Very Best R:egards,

Razzak.

Reply via email to