English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

how to cofigure Epson LX 300+ printer for 4X6 inch paper size.there is no option for this size and also no custom size option is given.i want to use this atting with foxpro based medical stores software to print bill on continuous stationary.

2006-09-13 23:09:23 · 1 answers · asked by snrb_1 2 in Computers & Internet Hardware Printers

1 answers

If u use the in built report writer or label writer then u will have this problem of page setup. i think in win 98 there is a custom size avilable.

i think u should not use the report writer but write a program to print to port (i.e. dos based text file). i.e. use set device to file and use @ say commands. eg. is given below

eg.

to print bill no,bill date,qty,rate,amount for 10 records

clos all
clear

set talk off
set date brit
set cent on

public nrou
nrou = 0 (initializing row variable)

set device to file invoice.txt (output will be in invoice.txt)

sele a
use invoice
go top
do while !eof()
nrou = nrou + 10 (u want to print at 10th line of each paper)
@ nrou,005 say invno pict '99999'
@ nrou,015 say invdate pict '@D'
@ nrou,025 say qty pict '9999999999'
@ nrou,037 say rate pict '9999999.99'
@ nrou,049 say amount pict '999999999.99'
skip
&& the above prints on first page for 1st record
nrou = 0 &&printer goes to next page
enddo

clos all
set device to screen
modi comm invoice.txt

2006-09-14 00:52:34 · answer #1 · answered by lakshmi r 4 · 0 0

fedest.com, questions and answers