locked
Preview before print RRS feed

  • Question

  • User479209339 posted

    Hi All,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>

    I need your help to preview my label in my pocket pc before printing it. I am using the below code to print.

     <O:P></O:P><o:p></o:p>

    TcpClient printer = new TcpClient(ip, 9100);<O:P></O:P><o:p></o:p>

    NetworkStream strm = printer.GetStream();<O:P></O:P><o:p></o:p>

    strm.Write(sendBytes, 0, strlength);<O:P></O:P><o:p></o:p>

    strm.Close();<O:P></O:P><o:p></o:p>

    printer.Close();<O:P></O:P><o:p></o:p>

     
    <O:P></O:P><o:p></o:p>

    Is there any way to preview this before printing it?

    Thanks in Advance
    Tuesday, July 26, 2005 8:36 AM

All replies

  • User-1095355146 posted


    Hi I have read your request and I have tried
    the printing commands supplied with the .NET
    language including the print prieview and them
    don't seem to work in the mobile development.
    How have you managed to print the label can you
    suggest some lookup material. Below is my request
    I have sent.

    I have started developing a system on a PDA
    using .NET 2003, SQL-CE and component one grid,
    in a standalone mode, no synchronizing with server's
    and so on.

    I have reached the stage were I want read and output
    the records to a printer, can someone help with some
    code.

    I have thought of connecting the device with a bluetooth
    printer, has anyone got any ideas if the  PDA will work
    in this way.

    Many Thanks
    Sunday, August 7, 2005 3:33 PM