Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generic/Text Printer usage

Status
Not open for further replies.

vdeveloper

Programmer
Joined
Aug 5, 2000
Messages
42
Location
IN
Does anyone know the settings required to use the generic text printer in VFP? I believe there are different settings required for 10cpi and condensed printing. This will also help people who have modules for large volume printing e.g. invoices and daily statements in their applications.

Thanks in advance
 
If you are using DOTMATRIX printers, you can use the EPSON printers.. ESC code in the forms first output content.
Example.. craete a label in the titlebar and input the code.. CHR(27)+"?" ... where ?=the code you need to get the pitch. for example M for condesed pitch if I remember correctly.

This will surely give the result as I have dont the similar things for testing though I dont use these days since VFP6 is working fine with Windows Printer drivers.
If you need the codes for ?.. please ask I will post again. ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
You can also use a generic printer installed and create the reports with those drivers set as default printer. Dont hack the report files after this.

If you are using the above method, then you need to hack the report files. Refer my FAQ regarding HOW TO HACK printer files... click on the link .. faq184-581

Hope this helps you ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
 
The universal code for activating/deactivating condesend mode on the dot printers is CHR(15).

Hope this helps. Grigore Dolghin
Class Software
Bucharest, Romania
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top