Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Send Report Direct to DOT MATRIX Printer Without Eject P
Message
From
29/11/2006 02:05:14
Reza Meamar
Homa Programming Group
Shiraz, Iran
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01172938
Message ID:
01173141
Views:
14
>Hi to all
>I have a problem during report printing.
>
>When i send report to dot matrix printer the printer eject complete page but i want to paper not eject with out eject command (I used in sales invoice in general store).
>
> I also used set printer on
>but after this data not print.
>
>I also used to report convert into text file it's good adia but lose all fonts. please help me.
>
>
>Thanks
>Rashid Mehmood,


Change report setting as below:

USE MyReport.frx
BROWSE

for the first record
REPLACE tag WITH "", tag2 WITH ""

in the first record, change EXPR field content with :

DRIVER=
DEVICE=
OUTPUT=
ORIENTATION=0
PAPERSIZE=256
PAPERLENGTH=1380
PAPERWIDTH=2200
DEFAULTSOURCE=8
PRINTQUALITY=180
COLOR=2
YRESOLUTION=180
TTOPTION=1


PAPERLENGTH=1380 and PAPERWIDTH=2200 is Height and Width of your paper ( sales invoice )
that you can change them.

Close FRX with USE command.

Now you must define your paper size on installed dot matrix printer.
IN WINXP:
go to Printers& Faxes window, select File and so server properties,
in the Forms tab click on CREATE A NEW FORM, fill Form Name with 'User Defined Paper'.
so enter Height and Width of your paper, and click on SAVE FORM.


IN WIN98:
go to Control Panel, Printers, right click on your installed dot matrix printer and select properties, in Paper Tab select CUSTOM and enter your paper size ( or sales invoice size ). for example 2200 for width and 1300 for height. and select OK.
in this page select TRACTOR for Paper Source option. ( i think your paper is continuos ). so choose OK and it is finished.


At the end of these steps, if your paper is continuos ( ROLL ) you must set AUTO TEAR OFF to ON on your printer.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform