General information
Category:
Coding, syntax & commands
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
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only