Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Rawprint
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Rawprint
Divers
Thread ID:
01315982
Message ID:
01315982
Vues:
88
I am using rawprint class to print because I do not want to
print fixed paper size as A4 or other

I want the paper size to depend only on the amount if lines
to be printed and noject behaviour

It worked fine for lots or printers, but in a Epson LX810 printer the user complains it jumps a whole A4 size

I was not expecting this behaviour because the class sends
codes direct to printer

Could it be a specific problem os this printer ?

I am using the code below:


SET SAFETY OFF

Set Classlib To rawprint
vprdev=CreateObject("PrintDev")
If Empty(vprdev.cprintername)
vprdev.cprintername = GetPrinter()
Endif
vprdev.cfilename = '1pedido.txt'
If vprdev.oOpen()
if !vprdev.oPrintFile()
wait window 'Error' nowait
endif
vprdev.oClose()
Endif

Release vprdev
Set Classlib to

SET SAFETY ON
Répondre
Fil
Voir

Click here to load this message in the networking platform