rajeevnandanmishra
Programmer
Hi all,
I am here again. May be with a sily question.
From our project we can do two type of printing.
1. Normal ----> Which goes directly to the default printer.
2. Label ----> Which should go the Label Printer.
So, i have not written anything for the normal printing.
But for the forms where i am printing labels, i have following code.
**************************************
SET CONSOLE OFF
SET DEVICE TO PRINTER
SET PRINTER ON
* mPrinter can have one of two values
* 1. 'LABELPRINTER' 2. '\\PrintServer\LABELPRINTER'
* Means it can be a local or network printer
SET PRINTER TO NAME &mPrinter
*<---
*
* Here is my code for printing having some ? statements
*
*-->
SET DEVICE TO SCREEN
SET CONSOLE ON
SET PRINTER OFF
SET PRINTER TO
**************************************
Now the problem is, when i try to print a label, first time, it prints a blank page to Default printer also and in later print outs it print only to the labelprinter.
But after this when i try to print Normal reports, they are not printing on the default printer. In this case the light on the labelprinter is blinking, but no print.
No need say, Any help (urgent
) is highly appreciated.
Raj
I am here again. May be with a sily question.
From our project we can do two type of printing.
1. Normal ----> Which goes directly to the default printer.
2. Label ----> Which should go the Label Printer.
So, i have not written anything for the normal printing.
But for the forms where i am printing labels, i have following code.
**************************************
SET CONSOLE OFF
SET DEVICE TO PRINTER
SET PRINTER ON
* mPrinter can have one of two values
* 1. 'LABELPRINTER' 2. '\\PrintServer\LABELPRINTER'
* Means it can be a local or network printer
SET PRINTER TO NAME &mPrinter
*<---
*
* Here is my code for printing having some ? statements
*
*-->
SET DEVICE TO SCREEN
SET CONSOLE ON
SET PRINTER OFF
SET PRINTER TO
**************************************
Now the problem is, when i try to print a label, first time, it prints a blank page to Default printer also and in later print outs it print only to the labelprinter.
But after this when i try to print Normal reports, they are not printing on the default printer. In this case the light on the labelprinter is blinking, but no print.
No need say, Any help (urgent
Raj