Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement