Printing to an old dot matrix tractor feed printer
-
- Posts: 42
- Joined: Mon Dec 23, 2013 2:10 pm
- Contact:
Re: Printing to an old dot matrix tractor feed printer
you can use FormSize I think it works well:
- Create a new form with the required dimensions from the print server properties
- use the form created :
DCPRINT ON TO ... FORMSIZE <form>
-------------
Best Regards
- Create a new form with the required dimensions from the print server properties
- use the form created :
DCPRINT ON TO ... FORMSIZE <form>
-------------
Best Regards
- Eugene Lutsenko
- Posts: 1649
- Joined: Sat Feb 04, 2012 2:23 am
- Location: Russia, Southern federal district, city of Krasnodar
- Contact:
Re: Printing to an old dot matrix tractor feed printer
I'm on the computer as printer a pdf-driver is installed and I always print in pdf-file, which is then no problem standard means printed on any printer
Re: Printing to an old dot matrix tractor feed printer
Thank you and as soon as everyone leaves me alone I am doing it. Can you relate?messaoudlazhar wrote:you can use FormSize I think it works well:
- Create a new form with the required dimensions from the print server properties
- use the form created :
DCPRINT ON TO ... FORMSIZE <form>
-------------
Best Regards
Re: Printing to an old dot matrix tractor feed printer
I am going to try the "DCPRINT ON TO ... FORMSIZE <form>" and if need be try the pdf approach. Thanks for your idea!Eugene Lutsenko wrote:I'm on the computer as printer a pdf-driver is installed and I always print in pdf-file, which is then no problem standard means printed on any printer
Jean
-
- Posts: 484
- Joined: Wed Jan 27, 2010 10:25 pm
- Location: Berlin Germany
Re: Printing to an old dot matrix tractor feed printer
I think, printing a PDF-document to a dot matrix printer is no good idea, evreything is printed as grafic and this is extremly slow.
_______________________
Best Regards
Wolfgang
Best Regards
Wolfgang
Re: Printing to an old dot matrix tractor feed printer
Is the old program written in Clipper?As the old water program is a dos app is it possible to get it to run on the new windows?
If not, then you have a few options.
1. Run on 64-bit systems using DOSBOX.EXE.
2. Run on 32-bit systems.
If it is written in Clipper, then it only needs recompiling in Xbase++.
The eXpress train is coming - and it has more cars.
-
- Posts: 42
- Joined: Mon Dec 23, 2013 2:10 pm
- Contact:
Re: Printing to an old dot matrix tractor feed printer
To create form in Windows XP see : http://www.ehow.com/how_5672136_create- ... ws-xp.html
To create form in Windows 7 see : http://windowsitpro.com/windows-7/q-how ... -windows-7
BEGIN SEQUENCE
Imprfont:="12.Times New Roman"
DCPRINT OPTIONS TO aOptions NOSCALE UNITS GRA_PU_LOMETRIC
DCPRINT ON TO oPrinter FONT Imprfont OPTIONS aOptions CANCELENABLE FORMSIZE "LabelForm"
if valtype(oPrinter) # "O" .or. !oPrinter:lActive
BREAK
endif
...
// Your code
...
END SEQUENCE
DCPRINT OFF
RETURN
Good job!
To create form in Windows 7 see : http://windowsitpro.com/windows-7/q-how ... -windows-7
BEGIN SEQUENCE
Imprfont:="12.Times New Roman"
DCPRINT OPTIONS TO aOptions NOSCALE UNITS GRA_PU_LOMETRIC
DCPRINT ON TO oPrinter FONT Imprfont OPTIONS aOptions CANCELENABLE FORMSIZE "LabelForm"
if valtype(oPrinter) # "O" .or. !oPrinter:lActive
BREAK
endif
...
// Your code
...
END SEQUENCE
DCPRINT OFF
RETURN
Good job!
Re: Printing to an old dot matrix tractor feed printer
No not clipper.rdonnay wrote:Is the old program written in Clipper?As the old water program is a dos app is it possible to get it to run on the new windows?
If not, then you have a few options.
1. Run on 64-bit systems using DOSBOX.EXE.
2. Run on 32-bit systems.
If it is written in Clipper, then it only needs recompiling in Xbase++.
Jean
Re: Printing to an old dot matrix tractor feed printer
I was side tract on this issue for awhile and I had been a bit under the weather. Just getting back to this issue. I know no one has a tractor feed printer so I thought may be a test app would be the best thing to show you what is happening. If you send this report to a file the results are similar to what happens when I send it to a tractor printer. May be you can explain to me what I should do to correct this.
It appears that the if you have a line like this "DC_PrinterRow(),23 DCPRINT SAY 'Curr'" it moves over 23 spaces from the last thing that printed and not from the being of the line.
Jeanne
It appears that the if you have a line like this "DC_PrinterRow(),23 DCPRINT SAY 'Curr'" it moves over 23 spaces from the last thing that printed and not from the being of the line.
Jeanne
- Attachments
-
- Test.zip
- Printer test to a TEXTONLY file..
- (1 KiB) Downloaded 704 times
Re: Printing to an old dot matrix tractor feed printer
If you want it to start at the end of the last thing printed, then try @ DC_PrinterRow(),DC_PrinterCol() DCPRINT SAY 'Curr'".
You are printing everything on a grid.
The grid defaults to 60 rows and 80 columns.
When you print at column 33, you are printing 33/80 of the width of the page.
You are printing everything on a grid.
The grid defaults to 60 rows and 80 columns.
When you print at column 33, you are printing 33/80 of the width of the page.
The eXpress train is coming - and it has more cars.