You must Sign In to post a response.
  • Category: Visual Studio

    How to get print for 3inch tvs printer

    i need to get print in tvs 3 inch printer... i was try lot of time using crystal report visual studio 2008. i cant get print correct format . how to print in crystal report. it printed whole record i need to print which one i select example i created bill for client, client buy 3 things every things has same bill id when i select the bill id all the three things need to print .. i cant do this tried lot of times.
  • #743445

    you must set the paper size in your coding. Please try the below code.

    PrintDocument pd = new PrintDocument();

    PaperSize p = null;

    foreach (PaperSize ps in pd.PrinterSettings.PaperSizes)
    if (ps.PaperName.Equals("10,8.5"))

    p = ps;

    pd.DefaultPageSettings.PaperSize = p;


    Gopi A.
    +91 9894315571

  • #743584
    Hai Manoj,
    Is this the issue with the code for not selecting your printer? Or the problem is with the printer?
    if you make your printer as the default printer and then try to run your application, it should take the default printer to print your reports.
    Hope it will be helpful to you.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

  • Sign In to post your comments