I am having a problem sending form length to a dot matrix printer. The program is being used on 4 different computers in our area and 3 running Windows 2000 and 1 running NT 4.0. The printers work fine on the on three of the workstations both local and on a local network but on one computer I cannot get the form length set. Every form is feed at 66 lines. I have tried this workstation with printer set up as local and using shared printers but cannot get form length to set. I have deleted and reinstalled the printer (Printer type is Generic Text Only)
Here's the code that sets the length and works on all workstations but one. Using an Epson printer program is compiled using FoxPro 6.0
set printer to name (cLprinter2) Printer name
set device to printer
set printer to
??? " "
if billtype = "LTL"
??? Chr(27)+Chr(108)+Chr(1) Letter Quality
??? Chr(27)+Chr(67)+Chr(42) 42 Lines per from
??? Chr(27)+"P" 10 Characters
??? Chr(27)+"G" Double Strike
??? Chr(27)+chr(81)+chr(132) Right Margin
endif
I looked at the print processer and if is same type on all system winprint type RAW. I have tried everything I can think of with no luck. Am really puzzled as to why this will not work on this one computer.
Any help will be appreciated.
Atlas
Here's the code that sets the length and works on all workstations but one. Using an Epson printer program is compiled using FoxPro 6.0
set printer to name (cLprinter2) Printer name
set device to printer
set printer to
??? " "
if billtype = "LTL"
??? Chr(27)+Chr(108)+Chr(1) Letter Quality
??? Chr(27)+Chr(67)+Chr(42) 42 Lines per from
??? Chr(27)+"P" 10 Characters
??? Chr(27)+"G" Double Strike
??? Chr(27)+chr(81)+chr(132) Right Margin
endif
I looked at the print processer and if is same type on all system winprint type RAW. I have tried everything I can think of with no luck. Am really puzzled as to why this will not work on this one computer.
Any help will be appreciated.
Atlas