Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Printing Problems with ???
Message
From
24/10/2006 19:48:07
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01164035
Message ID:
01164234
Views:
8
Hi,
Yes I see your problem now, from VFP Help "A group of three question marks bypasses the printer driver and sends the contents of cExpression directly to the printer."

It must print directly to LPT1

>Hi Neil, thanks for your reply.
>
>Then it is just a matter of sending the Control sequence to that printer.
>Exactly how to do this seems to be the problem. To get raw control characyers out, O was using ??? Chr(xxx) etc but this always seemd to go to the directly attached printer , rather then the network shared printer. The Report prints ok to the correct printer but I cant get the control characters out to the correct printer
>
>Regards,
>Gerard
>
>
>
>
>
>>Hi,
>>It is usually done by setting up a Generic/Text printer attached to COMx, depending on what port you are using.
>>Then it is just a matter of sending the Control sequence to that printer.
>>If you are trying to open a cash draw on another workstation just setup a share and attach to it from the other workstation.
>>
>>>Hi.
>>>I am printing to a Till receipt printer with a Cash Drawer attached, from a few networked pc's.
>>>(The Till drawer opens by sending Control Cahracters to the Printer)
>>>I am using Set Printer to Name (MyName) which is working fine.
>>>To open the drawer. I am using ??? plus some print control characters, which work fine on the Local PC, but not on the networked pc's.
>>>
>>>Does anybody know if ??? goes to the Printer that is Set, or bypasses all this and just goes to a local PC ?, or is there another way of sending the Control Caharacters to the till via the printer
>>>
>>>Thanks in advance.
>>>Gerard
Regards N Mc Donald
Previous
Reply
Map
View

Click here to load this message in the networking platform