Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Rawprint
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Rawprint
Miscellaneous
Thread ID:
01315982
Message ID:
01315982
Views:
87
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
Map
View

Click here to load this message in the networking platform