NET USE COM1:

Hi everybody!

I want send my ComWrite to the share printer but Windows said me a error 66.

NET USE COM1: \\shareprinter

error 66...

But Citect can't ComWrite in the LPT1: and ascii device with lpt1: or lpt1.dos doesn't work.

Have your an idea?

Thank...and yes i can't speack english :)

Parents
  • Hello,

    Thank you for your comeback,

    To solve my problem I finally used the "device" function. I programmed a device that points to the printer \\computer\printer
    and with the function devwrite () I write on my device at the moment I make devclose ()

    The raw message that I write so my serial port remains unchanged

    My function determines if I need to write to a serial port or a network printer

    Thank,

    Kévin F
Reply
  • Hello,

    Thank you for your comeback,

    To solve my problem I finally used the "device" function. I programmed a device that points to the printer \\computer\printer
    and with the function devwrite () I write on my device at the moment I make devclose ()

    The raw message that I write so my serial port remains unchanged

    My function determines if I need to write to a serial port or a network printer

    Thank,

    Kévin F
Children
No Data