Click to See Complete Forum and Search --> : Send Escape as ASCII VAlue to printer


jen
March 18th, 2001, 05:45 AM
Hi
I want to send text to a printer and then an escape sequense to cut the paper.
I know the devicename of the printer and it can be anywhere at the local net.
Sending the text is not a problem but cutting is just impossible. It may not be sent as a string but as ascii value 27. Anyone have a suggestion?
Thanks
Jen

d.paulson
March 18th, 2001, 01:41 PM
How about

Printer.Print Chr$(27);


David Paulson

shree
March 18th, 2001, 08:03 PM
Printer.Enddoc will cut the paper, won't it?

jen
March 19th, 2001, 01:17 AM
Hi
I think Printer.Enddoc only will cut if you have a setting in Windows that set a standard for how large the printing must be. My documents always varies so I canīt use it.
Thanks
Jen

jen
March 19th, 2001, 01:19 AM
Hi
No, I canīt use .print because it will send a string and I want to send a value.
Thanks
Jen