Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with pin printers
Message
De
22/09/2003 17:29:35
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
22/09/2003 11:19:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00831106
Message ID:
00831266
Vues:
40
This message has been marked as the solution to the initial question of the thread.
>I have to print a document with a pin printer. I built a report which works fine but it gives me some problem when i change the printer, the document is printer too high or to low, so that I had to make different reports related to printers and in a case related to a PC.
>I was thinking about sending data directly to the printer, but how can I bypass the windows drivers in a net environment?
set printer to name ...
??? Printer_codes + Report_Text
See also download #9991.

>I try to use as printer the generic text printer, but i cannot set the page width as it prints only 76 character per row though it should print 137 char
>as i set the the compressed mode (i'm using a 80 col printer)
>What have I to do ?

IIRC, the code for compressed printing (in Epson dot-matrix printers) is chr(15); whereas chr(18) turns it off. Check your printer manual. The download I mentioned above also includes some common codes for Epson printers, in #DEFINE statements.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform